人工ç¥è½ã§ä¸å¤ãã£ã«ã ã«ã¡ã©ã®å³ãããåç¾ãã
ãä¸å¤ãã£ã«ã ã«ã¡ã©ããã¸ã«ã¡åãããZANGI BRONICAããä½ã£ã¦ãã¾ãã
ãæ®éã«ããã§æ®å½±ããã ãã§ã楽ããã®ã§ãããããä¸å·¥å¤«ã¨ãã¦ãZANGI BRONICAãã§æ®å½±ãããããªå³ãããåçããæ®éã®ãã¸ã«ã¡ã®åçãããã£ã¼ãã©ã¼ãã³ã°ã§åç¾ã§ããªãããªã¨èãã¦è©¦ãã¦è¦ããã¨ã«ãã¾ããã
ãå ·ä½çã«ã¯ãpix2pixãã¨ããæè¡ã使ãã¾ãããã®æè¡ã¯ã1対1ã®ãã¢ã®ç»åã大éã«æ師ãã¼ã¿ã¨ãã¦ä¸ããã¨ã2ã¤ã®ç»åã®é¢ä¿ãå¦ç¿ãã¦ããããã®ã§ããä¾ãã°ä»¥ä¸ã®ãããªããããçµµã¨æ®éã®ç»åãå¦ç¿ãããã¨ããããçµµãããªã¢ã«ãªç»åãçæãããã¨ãã§ãã¾ãã
ãpix2pixã使ã£ããããçµµ->ç»åå¤æã«é¢ãã¦ã詳ããã¯ä»¥ä¸è¨äºåç §ä¸ããã
ãä»åã¯ãZANGI BRONICAãã§æ®ã£ãåçã¨ãRaspberry Piã®ã«ã¡ã©ã§æ®éã«æ®ã£ãåçããã¢ã«ãã¦å¦ç¿ããã¾ã
ããããã®ãã¢ã®ãã¼ã¿ãå¦ç¿ããããã¨ã§ãæ®éã®åçãããã£ã«ã ã«ã¡ã©çãªã¢ããã°ãªåçãçæãã¾ãã
ãå³çã«ã¯ä»¥ä¸ã®ãããªã¤ã¡ã¼ã¸ã¨ãªãã¾ãã
ããã¼ã¿ãåå¾ããéã«Raspberry Piã®ã«ã¡ã©ã§ã®æ®å½±ã«é¢ãã¦ã¯ã以ä¸ã®Vision Kitã®èªä½ã¢ããªãæ´»ç¨ãã¦æ®å½±ãã¾ããã
ãpix2pixãã§ãã¸ã¿ã«åçãã¢ããã°åçã«å¤æ
ãå¦ç¿ã«é¢ãã¦ã¯ã以åå®æ½ããããããçµµ->ç»åå¤æãã¨åãè¦é ã§å®æ½ãã¾ããã詳細ã¯å è¨äºåç §ä¸ããã
ããã ãç»åå¤æã«é¢ãã¦ã¯ããã®ã¾ã¾ã§ã¯ä½¿ãã¥ããã£ãã®ã§ãå ¥åç»åãå¼æ°ã¨ãã¦ä¸ããã¨ãç»åãå¤æã§ããããã°ã©ã ãä½æãã¾ããã
ã追å ããã½ããå«ãããªãã¸ããªã¯ä»¥ä¸ã«ã¢ãããã¦ãã¾ãã
ãä¾ãã°ä»¥ä¸ã®ãããªã³ãã³ãã§test.jpg
ã¨ãããã¡ã¤ã«ãå¤æãã¾ããå¤æãããã¡ã¤ã«ã¯å®è¡ãããã£ã¬ã¯ããªã«pix2pix-outputs.png
ã¨ããååã§ä¿åããã¾ãã
$ python pix2pix_test.py --mode test --output_dir pix2pix_test --checkpoint pix2pix_train --input_img test.jpg
ãããã§ããã¤ãã®åªè¯ãªããªã¼ç´ æããã³ã¹ã¿ãã(id:lonestartx)ã®ç»å ´ã§ãã
ãé®®æãªãã³ã¹ã¿ããç»åã
ãå¤èãæãã«ï¼ï¼
ãã¡ãªã¿ã«ãRaspberry Piã§ãå®è¡ã§ãã¾ãã以ä¸ã®éãã»ããã¢ãããã¾ãã/etc/dphys-swapfile
ãæ¸ãæãã¦ã¹ã¯ãããã¡ã¤ã«ãå¢å¤§ããã¨ããããã£ã¦ããã¾ãããï¼ãããªãã¨ãpix2pixã§å¤æä¸ã«è½ã¡ã¾ãï¼
ããã¨ã¯ã以ä¸ã³ãã³ãå®è¡ããã ãã§ãã
$ python3 pix2pix_test.py --mode test --output_dir pix2pix_test --checkpoint pix2pix_train --input_img test.jpg
ãããã§Raspberry Piã§ç»åå¤æãå®ç¾ã§ããï¼ã¨è¨ãããã¨ãããªã®ã§ãããäºç´°ãªï¼ï¼ï¼åé¡ã¨ãã¦ãRaspberry Piã ã¨1æç»åå¤æããã®ã«10åç¨åº¦æéããããã¾ãâ¦ãã¸ã«ã¡åã¸ã®éã¯é ãâ¦
ã¾ã¨ã
ããZANGI BRONICAãã¨ãã£ã¼ãã©ã¼ãã³ã°ã使ã£ãã¢ããã°ã«ã¡ã©ã·ãã¥ã¬ã¼ã¿ãç´¹ä»ãã¾ããã
ãã©ãºãã¤ã ã¨å¦çæéãé·ãããã®ã¨ãæã£ãããã¯ãªãªãã£ãä¸ãããªãã®ãæ®å¿µãªã¨ããã§ããGANã¯ã©ããã¦ãGANèãï¼ï¼ï¼ãåºãã®ãå«ãããã§ããã
ããã£ã¼ãã©ã¼ãã³ã°ã®ãããã¯ã¼ã¯èªä½ãä»åãããã®ç°¡æãªå¤æã§ããã°ãããã¾ã§ãã£ã¼ãã«ããªãã¦ãè¯ãã¯ããªã®ã§ããããã¯ã¼ã¯ãåç´åãã¦ç»è³ªä¸ãã¤ã¤é«éåãã§ããªãããªã¨ãæã£ã¦ãã¾ãããã¹ãã«ãããâ¦ã¨ãã£ãã¨ããã§ããããããã£ã¬ã³ã¸ãããã§ããã
ããã¡ãã«é¢ãã¦ãã2018å¹´12æ1æ¥ï¼åï¼ã12æ2æ¥ï¼æ¥ï¼ã«Ogaki Mini Maker Faire 2018ï¼OMMF2018ï¼ã§ãªãªã¸ãã«ã®ã©ãºãã¤ã«ã¡ã©ã«æ©è½æè¼ãã¦ãã¢ãããäºå®ã§ãããã ã1æã®å¤æã«10åãããã®ã§ã©ãããããæ¤è¨ä¸ã§ãï¼ç¬ï¼
ãOMMF2018ã®ç¹è¨ãã¼ã¸ã¯ä»¥ä¸ã§ãã