{"id":4457,"date":"2016-05-27T21:22:58","date_gmt":"2016-05-28T02:22:58","guid":{"rendered":"http:\/\/stillwellgray.ca\/blog\/?p=4457"},"modified":"2016-05-27T21:28:27","modified_gmt":"2016-05-28T02:28:27","slug":"day-1184-neural-net-assisted-art","status":"publish","type":"post","link":"http:\/\/stillwellgray.ca\/blog\/day-1184-neural-net-assisted-art\/","title":{"rendered":"Day 1184 &#8211; Neural-Net Assisted Art"},"content":{"rendered":"<p><a href=\"http:\/\/stillwellgray.ca\/blog\/wp-content\/uploads\/2016\/05\/Untitled2.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-4458\" src=\"http:\/\/stillwellgray.ca\/blog\/wp-content\/uploads\/2016\/05\/Untitled2.jpg\" alt=\"Untitled2\" width=\"3456\" height=\"5199\" srcset=\"http:\/\/stillwellgray.ca\/blog\/wp-content\/uploads\/2016\/05\/Untitled2.jpg 3456w, http:\/\/stillwellgray.ca\/blog\/wp-content\/uploads\/2016\/05\/Untitled2-199x300.jpg 199w, http:\/\/stillwellgray.ca\/blog\/wp-content\/uploads\/2016\/05\/Untitled2-768x1155.jpg 768w, http:\/\/stillwellgray.ca\/blog\/wp-content\/uploads\/2016\/05\/Untitled2-681x1024.jpg 681w\" sizes=\"(max-width: 3456px) 100vw, 3456px\" \/><\/a>This one&#8217;s a bit of a doozy. I found this <a href=\"https:\/\/github.com\/jcjohnson\/neural-style\/blob\/master\/README.md\">neural net art interpretation program on github<\/a>. It can take an image, analyze it, and then affect another image to render it in the same style as the first. My coworker Ross installed the necessary software on a machine at work and we ran some photos through it. Namely, I asked him to run through this sunset image and this Roerich painting:<\/p>\n<p><a href=\"http:\/\/stillwellgray.ca\/blog\/wp-content\/uploads\/2016\/05\/IMG_0181-e1464401495422.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-4459\" src=\"http:\/\/stillwellgray.ca\/blog\/wp-content\/uploads\/2016\/05\/IMG_0181-e1464401495422-200x300.jpg\" alt=\"IMG_0181\" width=\"145\" height=\"218\" srcset=\"http:\/\/stillwellgray.ca\/blog\/wp-content\/uploads\/2016\/05\/IMG_0181-e1464401495422-200x300.jpg 200w, http:\/\/stillwellgray.ca\/blog\/wp-content\/uploads\/2016\/05\/IMG_0181-e1464401495422-768x1152.jpg 768w, http:\/\/stillwellgray.ca\/blog\/wp-content\/uploads\/2016\/05\/IMG_0181-e1464401495422-683x1024.jpg 683w\" sizes=\"(max-width: 145px) 100vw, 145px\" \/><\/a>\u00a0<a href=\"http:\/\/stillwellgray.ca\/blog\/wp-content\/uploads\/2016\/05\/nb_pinacoteca_roerich_n_lao_tzu_1943_2.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-4460 size-large\" src=\"http:\/\/stillwellgray.ca\/blog\/wp-content\/uploads\/2016\/05\/nb_pinacoteca_roerich_n_lao_tzu_1943_2-785x259.jpg\" alt=\"nb_pinacoteca_roerich_n_lao_tzu_1943_2\" width=\"660\" height=\"218\" srcset=\"http:\/\/stillwellgray.ca\/blog\/wp-content\/uploads\/2016\/05\/nb_pinacoteca_roerich_n_lao_tzu_1943_2-785x259.jpg 785w, http:\/\/stillwellgray.ca\/blog\/wp-content\/uploads\/2016\/05\/nb_pinacoteca_roerich_n_lao_tzu_1943_2-300x99.jpg 300w, http:\/\/stillwellgray.ca\/blog\/wp-content\/uploads\/2016\/05\/nb_pinacoteca_roerich_n_lao_tzu_1943_2-768x253.jpg 768w, http:\/\/stillwellgray.ca\/blog\/wp-content\/uploads\/2016\/05\/nb_pinacoteca_roerich_n_lao_tzu_1943_2.jpg 1842w\" sizes=\"(max-width: 660px) 100vw, 660px\" \/><\/a><\/p>\n<p>After chugging for a good four hours (the software needs GPU acceleration) the machine spat out the following sequence of images:<\/p>\n<p><a href=\"http:\/\/stillwellgray.ca\/blog\/wp-content\/uploads\/2016\/05\/out_900-1.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-4470 size-thumbnail\" src=\"http:\/\/stillwellgray.ca\/blog\/wp-content\/uploads\/2016\/05\/out_900-1-145x145.png\" alt=\"out_900 (1)\" width=\"145\" height=\"145\" \/><\/a><a href=\"http:\/\/stillwellgray.ca\/blog\/wp-content\/uploads\/2016\/05\/out-1.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-4469 size-thumbnail\" src=\"http:\/\/stillwellgray.ca\/blog\/wp-content\/uploads\/2016\/05\/out-1-145x145.png\" alt=\"out (1)\" width=\"145\" height=\"145\" \/><\/a><a href=\"http:\/\/stillwellgray.ca\/blog\/wp-content\/uploads\/2016\/05\/out_800-1.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-thumbnail wp-image-4461\" src=\"http:\/\/stillwellgray.ca\/blog\/wp-content\/uploads\/2016\/05\/out_800-1-145x145.png\" alt=\"out_800 (1)\" width=\"145\" height=\"145\" \/><\/a> <a href=\"http:\/\/stillwellgray.ca\/blog\/wp-content\/uploads\/2016\/05\/out_700-1.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-4462 size-thumbnail\" src=\"http:\/\/stillwellgray.ca\/blog\/wp-content\/uploads\/2016\/05\/out_700-1-145x145.png\" alt=\"out_700 (1)\" width=\"145\" height=\"145\" \/><\/a> <a href=\"http:\/\/stillwellgray.ca\/blog\/wp-content\/uploads\/2016\/05\/out_600-1.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-4463 size-thumbnail\" src=\"http:\/\/stillwellgray.ca\/blog\/wp-content\/uploads\/2016\/05\/out_600-1-145x145.png\" alt=\"out_600 (1)\" width=\"145\" height=\"145\" \/><\/a> <a href=\"http:\/\/stillwellgray.ca\/blog\/wp-content\/uploads\/2016\/05\/out_500-1.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-4464 size-thumbnail\" src=\"http:\/\/stillwellgray.ca\/blog\/wp-content\/uploads\/2016\/05\/out_500-1-145x145.png\" alt=\"out_500 (1)\" width=\"145\" height=\"145\" \/><\/a> <a href=\"http:\/\/stillwellgray.ca\/blog\/wp-content\/uploads\/2016\/05\/out_300-1.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-4465 size-thumbnail\" src=\"http:\/\/stillwellgray.ca\/blog\/wp-content\/uploads\/2016\/05\/out_300-1-145x145.png\" alt=\"out_300 (1)\" width=\"145\" height=\"145\" \/><\/a> <a href=\"http:\/\/stillwellgray.ca\/blog\/wp-content\/uploads\/2016\/05\/out_400-1.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-4466 size-thumbnail\" src=\"http:\/\/stillwellgray.ca\/blog\/wp-content\/uploads\/2016\/05\/out_400-1-145x145.png\" alt=\"out_400 (1)\" width=\"145\" height=\"145\" \/><\/a> <a href=\"http:\/\/stillwellgray.ca\/blog\/wp-content\/uploads\/2016\/05\/out_200-2.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-4467 size-thumbnail\" src=\"http:\/\/stillwellgray.ca\/blog\/wp-content\/uploads\/2016\/05\/out_200-2-145x145.png\" alt=\"out_200 (2)\" width=\"145\" height=\"145\" \/><\/a> <a href=\"http:\/\/stillwellgray.ca\/blog\/wp-content\/uploads\/2016\/05\/out_100-1.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-4468 size-thumbnail\" src=\"http:\/\/stillwellgray.ca\/blog\/wp-content\/uploads\/2016\/05\/out_100-1-145x145.png\" alt=\"out_100 (1)\" width=\"145\" height=\"145\" \/><\/a><\/p>\n<p>There represent different levels of blend in the software itself. Unsure which to use, I loaded them all into Photoshop and blended the layers, which produced this image:<\/p>\n<p><a href=\"http:\/\/stillwellgray.ca\/blog\/wp-content\/uploads\/2016\/05\/Untitled1-3.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-4471\" src=\"http:\/\/stillwellgray.ca\/blog\/wp-content\/uploads\/2016\/05\/Untitled1-3-199x300.jpg\" alt=\"Untitled1\" width=\"199\" height=\"300\" srcset=\"http:\/\/stillwellgray.ca\/blog\/wp-content\/uploads\/2016\/05\/Untitled1-3-199x300.jpg 199w, http:\/\/stillwellgray.ca\/blog\/wp-content\/uploads\/2016\/05\/Untitled1-3-768x1155.jpg 768w, http:\/\/stillwellgray.ca\/blog\/wp-content\/uploads\/2016\/05\/Untitled1-3-681x1024.jpg 681w\" sizes=\"(max-width: 199px) 100vw, 199px\" \/><\/a><\/p>\n<p>which i then layered over the original sunset image to produce today&#8217;s picture.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This one&#8217;s a bit of a doozy. I found this neural net art interpretation program on github. It can take an image, analyze it, and then affect another image to render it in the same style as the first. My coworker Ross installed the necessary software on a machine at work and we ran some [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4458,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"image","meta":[],"categories":[1,2693],"tags":[568,3115,3112,2669,3114,3113],"_links":{"self":[{"href":"http:\/\/stillwellgray.ca\/blog\/wp-json\/wp\/v2\/posts\/4457"}],"collection":[{"href":"http:\/\/stillwellgray.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/stillwellgray.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/stillwellgray.ca\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/stillwellgray.ca\/blog\/wp-json\/wp\/v2\/comments?post=4457"}],"version-history":[{"count":2,"href":"http:\/\/stillwellgray.ca\/blog\/wp-json\/wp\/v2\/posts\/4457\/revisions"}],"predecessor-version":[{"id":4473,"href":"http:\/\/stillwellgray.ca\/blog\/wp-json\/wp\/v2\/posts\/4457\/revisions\/4473"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/stillwellgray.ca\/blog\/wp-json\/wp\/v2\/media\/4458"}],"wp:attachment":[{"href":"http:\/\/stillwellgray.ca\/blog\/wp-json\/wp\/v2\/media?parent=4457"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/stillwellgray.ca\/blog\/wp-json\/wp\/v2\/categories?post=4457"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/stillwellgray.ca\/blog\/wp-json\/wp\/v2\/tags?post=4457"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}