# AI Makes Stunning Photos From Your Drawings (pix2pix) | Two Minute Papers #133

## Метаданные

- **Канал:** Two Minute Papers
- **YouTube:** https://www.youtube.com/watch?v=u7kQ5lNfUfg
- **Дата:** 05.03.2017
- **Длительность:** 4:27
- **Просмотры:** 310,958
- **Источник:** https://ekstraktznaniy.ru/video/14700

## Описание

Online demo of pix2pix (try drawing there!): https://affinelayer.com/pixsrv/

The paper "Image-to-Image Translation with Conditional Adversarial Nets" and its source code is available here:
https://phillipi.github.io/pix2pix/

Twitter: https://twitter.com/search?vertical=default&q=pix2pix&src=typd

More amusing results:
http://www.neogaf.com/forum/showthread.php?t=1346254&page=1
http://thechive.com/2017/02/22/this-drawing-to-image-machine-is-made-of-nightmares-17-photos/

Recommended for you:
Image Editing with Generative Adversarial Networks - https://www.youtube.com/watch?v=pqkpIfu36Os

WE WOULD LIKE TO THANK OUR GENEROUS PATREON SUPPORTERS WHO MAKE TWO MINUTE PAPERS POSSIBLE:
Claudio Fernandes, Daniel John Benton, Dave Rushton-Smith, Sunil Kim.
https://www.patreon.com/TwoMinutePapers

Subscribe if you would like to see more of these! - http://www.youtube.com/subscription_center?add_user=keeroyz

Music: Dat Groove by Audionautix is licensed under a Creative Commons Attribution licens

## Транскрипт

### Segment 1 (00:00 - 04:00) []

Dear Fellow Scholars, this is Two Minute Papers with Károly Zsolnai-Fehér. In an earlier work, we were able to change a photo of an already existing design according to our taste. That was absolutely amazing. But now, hold onto your papers and have a look at this! Because here, we can create something out of thin air! The input in this problem formulation is an image, and the output is an image of a different kind. Let's call this process image translation. It is translation in a sense, that for instance, we can add an aerial view of a city as an input, and get the map of this city as an output. Or, we can draw the silhouette of a handbag, and have it translated to an actual, real-looking object. And we can go even crazier, for instance, day to night conversion of a photograph is also possible. What an incredible idea, and look at the quality of the execution. Ice cream for my eyes. And, as always, please don't think of this algorithm as the end of the road - like all papers, this is a stepping stone, and a few more works down the line, the kinks will be fixed, and the output quality is going to be vastly improved. The technique uses a conditional adversarial network to accomplish this. This works the following way: there is a generative neural network that creates new images all day, and a discriminator network is also available all day to judge whether these images look natural or not. During this process, the generator network learns to draw more realistic images, and the discriminator network learns to tell fake images from real ones. If they train together for long enough, they will be able to reliably create these image translations for a large set of different scenarios. There are two key differences that make this piece of work stand out from the classical generative adversarial networks: One - both neural networks have the opportunity to look at the before and after images. Normally we restrict the problem to only looking at the after images, the final results. And two - instead of only positive, both positive and negative examples are generated. This means that the generator network is also asked to create really bad images on purpose so that the discriminator network can more reliably learn the distinction between flippant attempts and quality craftsmanship. Another great selling point here is that we don't need several different algorithms for each of the cases, the same generic approach is used for all the maps and photographs, the only thing that is different is the training data. Twitter has blown up with fun experiments, most of them include cute drawings ending up as horrifying looking cats. As the title of the video says, the results are always going to be stunning, but sometimes, a different kind of stunning than we'd expect. It's so delightful to see that people are having a great time with this technique and it is always a great choice to put out such a work for a wide audience to play with. And if you got excited for this project, there are tons, and I mean tons of links in the video description, including one to the source code of the project, so make sure to have a look and read up some more on the topic, there's going to be lots of fun to be had! You can also try it for yourself, there is a link to an online demo in the description and if you post your results in the comments section, I guarantee there will be some amusing discussions. I feel that soon, a new era of video games and movies will dawn where most of the digital models are drawn by computers. As automation and mass-producing is a standard in many industries nowadays, we'll surely be hearing people going: "Do you remember the good old times when video games were handcrafted? Man, those were the days! ". If you enjoyed this episode, make sure to subscribe to the series, we try our best to put out two of these videos per week. We would be happy to have join our growing club of Fellow Scholars and be a part of our journey to the world of incredible research works such as this one. Thanks for watching and for your generous support, and I'll see you next time!
