ååï¼GANを勉強して実装ããã®ã§ããã®åãçµã¿ã®ç¶ãã¨ãã¦ã DCGAN(Deep Convolutional GAN(DCGAN)ãå®è£ ãã¦éãã§ã¿ãã
çæçµæã¯ãã®ããã«ãªã£ãã (2017/9/7 追è¨)
DCGANの論文ãèªãã§ã¿ãã¨ãããGANã®è«æãããèªã¿ãããã£ãã ã¾ãGANã®ã¨ãã«ã¯çç¥ããã¦ããã¢ãã«ã®æ§é ãæ¸ããã¦ããããå®è£ ã®é£æ度ãä½ãã£ãã ï¼DCGANèè ã®å®è£ ãå ¬éããã¦ããããï¼ãã©ã¡ã¼ã¿ãåèã«ãããã¨ãã§ããï¼
DCGANã®èã¯ä»¥ä¸ã®ä¸ç¹ã ï¼ã¨è«æã§è§¦ãããã¦ããï¼
- deterministicãªpoolingææ³ã®ä»£ããã«ã fractionally-stridedã使ã£ã¦ãã ãã¨ãããã«ããããããã¯ã¼ã¯ãèªèº«ã®downsamplingãå¦ç¿å¯è½ã¨ãªã£ãã
- å ¨çµå層ã使ã£ã¦ããªã ãã¨ãconvolutional featuresãå ¥å層ã¨åºå層ã«ç´æ¥çµåãã¦ããã
- Batch Normalizationã使ã£ã¦ãã ãã¨ãããã«ããåæåã®å½±é¿ãåãã«ãããªããå¦ç¿ã®å¾é åé¡ãç·©åãããã¨ãã§ããã ä¸ç¹ç®ã®Batch Normalizationã¯GANã®å®è£ ã®ã¨ãã«æ¢ã«ä½¿ã£ã¦ãã¾ã£ã¦ããï¼ ãããã«ï¼GANã®ã¨ãã«ã¯Batch Normalizationãå ¥ããªãã¨çæç»åãåä¸ã«ãªã£ã¦ãã¾ãã¨ããå¼å®³ããã£ã
DCGANã®æ§é ã®ä¾ã¨ãã¦ä»¥ä¸ã®æ§é ãè«æã«ã¯è¼ã£ã¦ããã ãã®æ§é ããã¨ã«DCGANã®ã¢ãã«ãå®è£ ããï¼
ãããã¨ãç»åã®çæ
ãã¼ã¿ã»ãã
いらすとやãããã¦ã³ãã¼ããã10575ç¹ã®ç»åã使ã£ã¦ã DCGANã§ãããã¨ãç»åãçæãã¦ã¿ãã
ãã¼ã¿ã»ãã
ç»åãã¹ã¦Crop & Resizeãã¦96x96ã«çµ±ä¸ããããã«æ£è¦åããã ããã¦MNISTã®ã¨ãã¨åæ§ã«å¦ç¿ãã¦ã¿ãã
çæãã¼ã¿
0epochæç¹
6ä¸epochæç¹
17ä¸epochæç¹
gifã¢ãã¡
ãªãã¨ãè¨ããªããã®ãçæããã ãã¤ãºå¤§éã«çæãã¦ã¿ãã
人ã®é¡ã«è¦ããªãããªããã®ãããã㪅 ãã©ã¡ã¼ã¿ãã¥ã¼ãã³ã°ãå¾®å¦ãªãã ããã
(追è¨:2017/9/7)é¡ç»åã«éå®ããã¨é®®æã«çæã§ãããã¨ã確èª
ãã¼ã¿ã»ããæ°ã¯å¤§ããæ¸ãããé¡ç»åã«éå®ãã¦å¦ç¿ããã¦ã¿ãã¨ãããããªãé®®æãªç»åãçæã§ããã
MNISTã«ãã®DCGANãé©ç¨
MNISTãçæããã®ã試ãã¦ã¿ãã
ãã®å®è£
ã¯githubã«ç½®ãã¦ããã