{"id":353070,"date":"2017-06-29T03:31:00","date_gmt":"2017-06-28T19:31:00","guid":{"rendered":"https:\/\/www.engadget.com\/2017\/06\/28\/artistic-ai-paints-portraits-of-people-who-arent-really-there\/21|23006432"},"modified":"2017-06-29T03:31:00","modified_gmt":"2017-06-28T19:31:00","slug":"artistic-ai-paints-portraits-of-people-who-arent-really-there","status":"publish","type":"post","link":"https:\/\/people.utm.my\/asmawisham\/artistic-ai-paints-portraits-of-people-who-arent-really-there\/","title":{"rendered":"Artistic AI paints portraits of people who aren&#8217;t really there"},"content":{"rendered":"<p>If you&#8217;re only using a single, unconditioned GAN, the output image is typically only going to be in the 128&#215;128 to 256&#215;256 pixel range, Tyka explained. So to increase the size of these machine-generated images, he stacked multiple, separately trained GANs on top of one another. &#8220;The second stage is a <a href=\"https:\/\/en.wikipedia.org\/wiki\/Super-resolution_imaging\">superres GAN<\/a> which [sic] is conditioned on the output of the former,&#8221; Tyka said. &#8220;I.e. in addition to the discriminator loss (which tries to make it look &#8216;real&#8217;) there is an additional term that makes sure the output is a plausible high-res version of the respective low-res input.&#8221; This second stage effectively increases the image resolution to 768&#215;768 or 1024&#215;1024 pixels.<\/p>\n<p>By training the second-level (or even third-level) GAN on higher-resolution images of specific facial details like eye, hair and skin texture, it can act as an upscaler for the GANs stacked below it. Eventually Tyka wants to generate 4K-quality pictures, though he&#8217;s currently having difficulty finding a sufficiently robust data set for training such a system.<\/p>\n<p>Getting the results you see here are easier said than done, however. There was plenty of work to complete before the first simulation ever ran. &#8220;GANs are hard to train and hard to control,&#8221; Tyka explained. &#8220;Grooming the input data is important, making sure all images are high-res, don&#8217;t have artifacts and are not drawings but real photos is time consuming.&#8221;<\/p>\n<p>What&#8217;s more, keeping the adversarial networks in sync requires a fair amount of trial and error. &#8220;GANs are annoying because there isn&#8217;t a global objective function. The two networks are each other&#8217;s objective functions so to speak, so the goalposts are moving,&#8221; Tyka explained. &#8220;It&#8217;s hard to compare different runs with different parameters because there isn&#8217;t a good, stable metric for how well a particular net is doing.&#8221;<\/p>\n<p>Still, Tyka&#8217;s desired end result for this project does not revolve around accuracy or fidelity. &#8220;The goal, like with many art projects, is to make compelling artwork which [sic] inspires or moves or makes you think,&#8221; he concluded. &#8220;That&#8217;s hard to quantify so I just follow my gut.&#8221;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;re only using a single, unconditioned GAN, the output image is typically only going to be in the 128&#215;128 to 256&#215;256 pixel range, Tyka explained. So to increase the size of these machine-generated images, he stacked multiple, separately trained GANs on top of one another. &#8220;The second stage is a superres GAN which [sic] [&hellip;]<\/p>\n","protected":false},"author":5817,"featured_media":353071,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[23],"tags":[27,59,26],"class_list":["post-353070","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-media","tag-engadget","tag-media","tag-technology"],"_links":{"self":[{"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/posts\/353070","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/users\/5817"}],"replies":[{"embeddable":true,"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/comments?post=353070"}],"version-history":[{"count":0,"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/posts\/353070\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/media\/353071"}],"wp:attachment":[{"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/media?parent=353070"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/categories?post=353070"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/tags?post=353070"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}