ãåãã¦ã®ABEJA PlatformãABEJA Platformã使ã£ã¦ã³ã¼ã0è¡ã§resnet50ã®ã¢ãã«ããããã¤ãã¦ã¿ã
ããã«ã¡ã¯ã
ãã®è¨äºã¯ãABEJA Platform Adevent Calendarã®2æ¥ç®ã®è¨äºã§ããä»åã¯ãç¾å¨ä¼ç¤¾ã§å©ç¨ãã¦ãããµã¼ãã¹ã§ããABEJA Platformã使ã£ã¦ãå¦ç¿ããã¢ãã«ããããã¤ãã¦ã¿ã¾ããã®ã§ããã®ããæ¹ãã¾ã¨ãã¾ã*1ã
ABEJA Platformã¨ã¯
ãµã¼ãã¹æ¦è¦
ABEJA Platformã¨ã¯ãちょっと前に資金調達もしたããã³ãã£ã¼ä¼æ¥ã®ABEJAãæä¾ãããAIã»MLOpsã®ããã®ãã©ãããã©ã¼ã ã§ãããµã¼ãã¹ã®æ¦è¦ã«ã¤ãã¦ã¯ã以ä¸ã®ãã¼ã¸ã«ããã¾ãã
以ä¸ã¯ãµã¼ãã¹æ¦è¦ã®å¼ç¨ã
ABEJA Platformã¯ãAIã®ç¶ç¶çã¤ã³ãã°ã¬ã¼ã·ã§ã³ã«å¿ è¦ã¨ãªãããã¼ã¿ã®åå¾ã»èç©ã»ã¢ããã¼ã·ã§ã³ï¼æ師ãã¼ã¿ä½æï¼ã»å¦ç¿ã»ãããã¤ã»æ¨è«ãåå¦ç¿ã® ãã¤ãã©ã¤ã³ãä¸è²«ãã¦å®è£ å¯è½ãªãã©ãããã©ã¼ã ã§ãã
è¦ç´ããã¾ãã£ã¦ããã®ã§ãããå°ãæ·±ãã¿ã¦ã¿ã¾ãã
æ©æ¢°å¦ç¿ã®éç¨ã®ãã©ã
ãµã¼ãã¹ã®å£²ãã¨ãã¦ã¯ãæ©æ¢°å¦ç¿ã«ãããéç¨ã®ãã©ãã解æ¶ãããã¨ã
æ©æ¢°å¦ç¿ã¨ãã®ãµã¼ãã¹ãå®éã«æä¾ãã¦éç¨ãããã¨ãããæ¹ãªããããã¨æãã®ã§ãããæ§ã ãªè¾ããã¨ãããã¨æãã¾ããä¾ãã°ä»¥ä¸ã®ãããªãã¨ã§ãã
- æ師ãã¼ã¿ã®ä½æãè¾ãããæ°åæã®ç»åãã¢ããã¼ã·ã§ã³ããã£ã¦ãã¸ããã¿ãããªããã
- æ©æ¢°å¦ç¿ã¨ã³ã¸ãã¢ããã¼ã¿ãµã¤ã¨ã³ãã£ã¹ãã¯å¿ ãããéç¨ã«é©ããã³ã¼ãããããããã§ããå¦çéã«å¿ããã¤ã³ãã©ãããæãã«æ§æãããã¨ãã§ããããã§ã¯ãªãããã
- æ§ã ã«å¦ç¿ããæ©æ¢°å¦ç¿ã®ã¢ãã«ããããã¤ããã®ãé¢åããã
ç§ã¯ãæ£ç´AWSã¨ãã¯å人ã§ä½¿ã£ã¦ãã¾ãæ®éã«ãªãããããããã¯å¤§ä¸å¤«ãªã®ã§ãããå®éã®ãµã¼ãã¹ã¤ã³ãå«ãã¦èãã¦ãã£ã¦ããã¨ãè¨ãããã¨é端ã«ãã¤ããªãã£ã¦ãªãã¾ãããèªåã®æ¸ãããã¸ãã¯ãå®ç§ã«èæ¯ãªã©å«ãã¦ã¨ã³ã¸ãã¢ã¨é£æºããã®ã¯è¾ãã§ãã
ãã¯ã¤ã¯ããã¸ãã¯ã«éä¸ããããããã以å¤ã®ããã©ããããã¨ã¯æ¬å½ã«ãããããªããã¨ããã®ããä¸ã®ãã¼ã¿ãµã¤ã¨ã³ãã£ã¹ãã®æ¬é³ã ã¨æã£ã¦ãã¾ã(åæã«)ã
å ·ä½çã«ã©ã®ããããã¼ã¿ãç¨æããã精度ãã©ã®ãããä¸ããããã¿ãããªã®ãããã£ã¦ããã±ã¼ã¹ã¯ãªãã¨æãã¾ãããã1ä¸æã¢ããã¼ã·ã§ã³ãããææåºããã ãªããã¨æã£ãæã«ãããããã¨æãã§ããããã
ãããªãã¨ã¯ããã¾ãã(ã ã£ã¦ãããã©ããããã®)ã
ä¸ã®ãã¼ã¿ãµã¤ã¨ã³ãã£ã¹ããKaggleã楽ããçç±ã¯ããããã¨ããã«ããã¾ãããã
ãããããã¨ã«éä¸ããã
ABEJA Platformã§ã¯ããã®æã®ããã©ããããã¨ãã¾ãã£ã¨ã§ããã£ã½ãã§ããéç¨ã«ãã©ã¼ã«ã¹ãå½ã¦ã¦éçºããã¦ããã®ã§ããã¼ã¿ã®ç¨æ*2ãã¢ãã«ã®å¦ç¿ããã®ãããã¤ãéç¨ã¾ã§ããæãã§ã§ãããããã§ãããä»å¾ããããã使ã£ã¦ã¿ã¦ã試ãã¦ã¿ããã¨æãã¾ãã
ã¨ãããã¨ã§ãä»åABEJA Platformã®ãµã¼ãã¹ã社å ã§ä½¿ããã®ã§ãå®éã«ãã£ã¦ã¿ã¾ããã
å¦ç¿æ¸ã¿ã¢ãã«ãã³ã¼ã0è¡ã§ABEJA Platformã§ãããã¤ãã¦ã¿ã
ABEJA Platformåå¿è ãªã®ã¨ããã£ã¨ã³ã¢ãªä½¿ãæ¹ã¯ãã®å¾ã®çããããã£ã¦ãããã ããã¨ããåæãªæ°æã¡ãè¾¼ãã¦(çé¡)ãä¸æ¦å¦ç¿æ¸ã¿ã®ã¢ãã«ããããã¤ãã¦ã¿ã¾ãã
ImageNetã®ãã¼ã¿ã»ããã§å¦ç¿æ¸ã¿ã®resnet50ãã³ã¼ã0è¡ã§ç»é²ï¼ãããã¤
ã¾ãã¯æãç°¡åãªæ¹æ³ãã試ãã¦ã¿ã¾ããABEJA Platformã«ãImageNetã§å¦ç¿æ¸ã¿ã®resnet50ããã£ãã®ã§ããã¡ãã§ã¨ãããããããã¤ãã¦ã¿ã¾ããresnet50ã®èª¬æã¨ãã¯ãã¾ããããã¨ããããDeep Learningã®ã¢ãã«ã¨ãããã¨ã ã¨æãã¦ããããã°ããã§ã¯å¤§ä¸å¤«ã§ãã
ãã°ã¤ã³
ABEJA Platformã®ã³ã³ã½ã¼ã«ã«ãã°ã¤ã³ãã¾ããç»é²ããã¡ã¼ã«ã¢ãã¬ã¹ã¨ãã¹ã¯ã¼ããå ¥ããã ãã®ç°¡åãªãä»äºã§ãã
ã¢ãã«ãç»é²
ãã°ã¤ã³ããå¾ã«ãå·¦å´ã®ã¡ãã¥ã¼ãããModelãé¸ã³ã¾ããããã¨ã以ä¸ã®ãããªç»é¢ãåºã¦ããã¨æãã¾ããããã§ãå·¦ä¸ã«ãããCreate Modelãã¨ãããã¿ã³ãæ¼ãã¾ãã
ããã¨ãã©ã¼ã ãç¾ããã®ã§ãè¨ããããã¾ã¾å ¥åãã¾ããä»åã¯ããããã®ã®ã¢ãã«ã使ãã®ã§ãresnet50ãé¸ã³ã¾ãããDeploy after creatingãã®ãã§ãã¯ããã¯ã¹ã«ããã§ãã¯ãå ¥ãã¾ããå ¥åããããå³ä¸ã«ãããCreate Modelããã¯ãªãã¯ãã¾ãã
以ä¸ã®ãããªç»é¢ãåºã¦ããã¨æãã®ã§ããã°ããå¾ ã¡ã¾ãã
ãªãã¨ãããã¨ã§ããããããæºåå®äºã§ãã
ããã¾ã§ã³ã¼ã0è¡ã§ã*3ã
ã¾ããã®æ°ã¯ãªãã¯ã§ã®ã¢ãã«ç»é²ï¼ãããã¤ãããç°¡åãããããã
ç»é²ããã¢ãã«ãã³ã¼ã0è¡ã§APIå
ãã¦ãã¢ãã«ã®ç»é²ãã§ããã®ã§ãããããããã¤ãã¦ãAPIåãã¦ã¿ã¾ããABEJA Platformã§ã¯ãç»é²ããã¢ãã«ã¯APIã¨ãã¦å©ç¨ã§ããã¿ããã§ããã
Deploymentããç»é²ããã¢ãã«ã確èª
å·¦å´ã®ã¡ãã¥ã¼ããããDeploymentããé¸æããã¨ãç»é²ãã¦ãããã¤ããã¢ãã«ã®ä¸è¦§ãã¿ãã¾ãã
ç»é²ããã¢ãã«ãã¯ãªãã¯ããã¨ã以ä¸ã®ãããªç»é¢ã«ãªãã¾ãã
HTTPãµã¼ãã¹ã®ä½æ
å ã»ã©ã®ç»é¢ããããCreate HTTP Serviceããã¯ãªãã¯ããã¨ã以ä¸ã®ãããªç»é¢ãåºã¦ãã¾ãã
å¿ è¦äºé ãå ¥åãã¾ãã
å ¥åããã¨ãAPIãä½æãããã®ã§ããã¨ã¯æ®éã«APIã¨ãã¦ä½¿ãã ããã£ã¦æãã§ãã
ã¾ã¨ã
ä»åã¯ã2æ¥ç®ã¨ãããã¨ããããæãç°¡åãªé¨åã試ãã¦ã¿ã¾ãããã³ã¼ã0è¡ã§ãã£ã¦ã¿ãã¿ãããªã¨ãããããããã£ãã®ã§ããã§ãããæ®éã«ã³ã¼ããæ¸ãã¦å¦ç¿ããããã¤ãªã©ãã§ãã¾ãã
ãããªãAPIãç¡é§ã«ä½ãå¿ è¦ããªãã§ãããè²ã ã¨ä¾¿å©ã§ãããã
ããã§ã¯ã
*1:æ£ç´ãã£ã¨ããããæ¸ãã¤ããã ã£ããã©ãæéããªãã£ãããã¨ããããããã§ããç¬
*2:å³å¯ã«ã¯ãABEJA Platformã®ä¸ã«ããAnnotationToolã¨ãããµã¼ãã¹ã§æä¾ãã¦ãã¾ã
*3:æ£ç¢ºã«ã¯ãresnet50ã®ã³ã¼ãã¯äºåã«ABEJAã§ç¨æãã¦ãã ãã£ã¦ããã®ã§ãæ¸ãã¦ãããã¨ã«ãªãã®ã§ãããããã¸ãã®ç´°ãããã¨ã¯æ°ã«ããªã