CIFAR-10ã§state of the artã®ã¹ã³ã¢ãåºãããã¤ã³ã¿ã¼ãããã«è½ã¡ã¦ããä¸ã§æå¼·ã®ã³ã¼ã
DecMeg2014ããã£ã¦ããã¨ãã«CUDA使ãã¦ãã¨æããã¨ããã£ãã®ã§ãæè¿ãGTX760ã¨ããGPUãè³¼å ¥ãã¦ãKaggle Playgroundã®CIFAR-10(æåãªç©ä½èªèã®ãã¼ã¿ã»ãã)ã§è©¦ãã¦ããã®ã§ãããCIFAR-10ã®state of the artã§ãã0.912ãå¾®å¦ã«è¶ ãã精度(0.9173)ãåºããããã«ãªã£ãã®ã§ã½ã¼ã¹ã³ã¼ããå ¬éãã¾ãã
nagadomi/kaggle-cifar10-torch7 · GitHub
ãã®çµæã¯ã"ãã³ããã¼ã¯ãµã¤ã Kaggle"ã§ç¾å¨3ä½ã«ã©ã³ãã³ã°ããã¦ãã¾ãã
å
容çã«ã¯ç¹ã«é¢ç½ããã¨ã¯ãã¦ããªãã¦ãcropping,scaling,horizontal reflectionã§å¦ç¿ãã¼ã¿ã180ä¸ä»¶(36x)ã¾ã§å¢æ®ããããã¨ã§NIN(Network In Network)ã¨ããConvolutional Neural Networkã®ç³ã¿è¾¼ã¿å±¤ãMLPã«ããã¢ãã«ãå¦ç¿ãã¦ããã ãã§ãï¼å±¤æ°çãè«æå®è£
ã¨ã¯éãã¾ãï¼ã
ãã¼ã¿å¢ãããããã ããã¨æãããããã¾ããããèªåã試ããæãã ã¨ãNINã使ãã¨ãã¼ã¿ãå¢ããã°å¢ããã»ã©ç²¾åº¦ãä¸ããã¾ããã¾ãNINã¯å±¤æ°ãå¤ããªãã®ã§ããã¼ã¿ãå°ãªãã¨å¦ç¿ããã¾ããããªãã¨ããã®ãããã¾ããå¦ç¿ãã¼ã¿ã1ä¸ä»¶ç¨åº¦ã ã¨å
¨ãå¦ç¿ã§ãã¾ããï¼ã»ã¨ãã©ã®ã¯ã©ã¹ã®ç²¾åº¦ã0%ã«ãªã£ã¦ãã¾ãï¼ãããããããã§ããã¡ããã¡ããã¼ã¿ãå¢ããã¦å¦ç¿ããã®ã§ãå¦ç¿æéããã¡ããã¡ããããã¾ããCUDAã使ã£ã¦1 epochã«90åããããããã10 epochãããåããªãã¨ç²¾åº¦ãä¸ããããªãã®ã§ã15æéãããã¯ãããã¾ãã
å®è£
ã¯ãTorch7ã§è¡ãªã£ã¦ãã¾ããTorch7ã¯ãPylearn2ãcaffeãcuda-convnetãªã©ã¨æ¯ã¹ãã¨ãã¤ãã¼ãªNeural Networkã®ã©ã¤ãã©ãªã§ãããNeural language modelsã¨ããããã±ã¼ã¸(nn)ã使ãã¨è¤éãªæ§é ã®Neural Networkãèªç¶ãªã³ã¼ãã§æ¸ããã®ã§ãããã°ã©ãã³ã°ãå¾æãªäººã«ã¨ã£ã¦ã¯ãæå¼·ã®éçºç°å¢ã§ã¯ãªããã¨å人çã«ã¯æã£ã¦ãã¾ããDecMeg2014ã§ã¯ãTorch7ã§æ¸ããè¤éå¥æªãªNeural Networkã§5ä½ã«ãªã£ã¦ããã®ã§ãå®ç¨ä¸åé¡ç¡ãã¬ãã«ã§ä½¿ããã¨æãã¾ãã
ãã ãCUDAã®å®è£
ã¯å¾®å¦ãªãã®ãå¤ããä¾ãã°ãSpatialMaxPoolingã®CUDAå®è£
ã¯kernelã¨strideã®ãµã¤ãºãåããããªãã¨åããªãã£ãããã¾ããkernelãstrideãã大ããããoverlapping poolingã¯ç»åèªèã«ããã¦ç²¾åº¦ãåä¸ã§ãããã¨ãç¥ããã¦ãã¦ãcuda-convnetã®ãµã³ãã«ãªã©ç²¾åº¦ãéè¦ãã¦ããå®è£
ã¯ã»ã¨ãã©ããã使ã£ã¦ããã®ã§ãããTorch7ã対å¿ãã¦ãªãã®ã§ããã®ã³ã¼ãã§ã¯ä½¿ã£ã¦ãã¾ããã
ã¨ãããã¨ã§ãã¾ã ã¾ã æ¹åã®ä½å°ã¯ããã®ã§ãèå³ããæ¹ã¯ãã®ã³ã¼ãã®ç¥è¦ãæ´»ãããKaggleã§2ä½ã«ãªã£ããã¨ã½ã¼ã¹ã³ã¼ããgithubã«ç½®ãã¦ããã¦ãã ããã
(1ä½ã¯ãã¶ãç¡è¦ãã¦ããåå¨ã ã¨æã)
è¿½è¨ (2014/8/28)
epoch 20ã¾ã§å¢ããããã0.92210ã§ç¾å¨2ä½ã«ãªã£ãã
æéããã£ã¦ãã¡ããã¨å®é¨ããã¹ãã ã£ãã
è¿½è¨ (2014/11/8)
æçµçµæãæ¸ãã¾ãããã½ã¼ã¹ã³ã¼ãã®å
容ãå¤æ´ããã¦ãã¾ãã
Kaggle CIFAR-10の話 - デー