YOLO11 ãã¬ãŒãã³ã°ã®åäžïŒComet MLã«ãããã®ã³ã°ããã»ã¹ã®ç°¡çŽ å
ãã©ã¡ãŒã¿ãã¡ããªã¯ã¹ãç»åäºæž¬ãã¢ãã«ã®ãã§ãã¯ãã€ã³ããªã©ãäž»èŠãªãã¬ãŒãã³ã°ã®è©³çŽ°ããã°ã«èšé²ããããšã¯ãæ©æ¢°åŠç¿ã«ãããŠäžå¯æ¬ ã§ããã
Ultralytics YOLO11ã¯ãComet ML ãšã·ãŒã ã¬ã¹ã«çµ±åããYOLO11 ãªããžã§ã¯ãæ€åºã¢ãã«ã®ãã¬ãŒãã³ã°ããã»ã¹ã®ããããåŽé¢ãå¹ççã«ãã£ããã£ããæé©åããŸãããã®ã¬ã€ãã§ã¯ãã€ã³ã¹ããŒã«ããã»ã¹ãComet ML ã®ã»ããã¢ããããªã¢ã«ã¿ã€ã ã®ã€ã³ãµã€ããã«ã¹ã¿ã ãã®ã³ã°ããªãã©ã€ã³ã§ã®äœ¿çšæ¹æ³ã«ã€ããŠèª¬æããYOLO11 ãã¬ãŒãã³ã°ã培åºçã«ææžåããåªããçµæãåŸãããããã«åŸ®èª¿æŽããŸãã
Comet ML
Comet MLã¯ãæ©æ¢°åŠç¿ã¢ãã«ãšå®éšã®è¿œè·¡ãæ¯èŒã説æãæé©åã®ããã®ãã©ãããã©ãŒã ã§ããã¢ãã«ã®ãã¬ãŒãã³ã°äžã«ã¡ããªã¯ã¹ããã©ã¡ãŒã¿ãã¡ãã£ã¢ãªã©ã®ãã°ãèšé²ããçŸããWebã€ã³ã¿ãŒãã§ãŒã¹ã§å®éšãç£èŠããããšãã§ããŸããComet MLã¯ãããŒã¿ãµã€ãšã³ãã£ã¹ããããè¿ éã«å埩ããéææ§ãšåçŸæ§ãé«ããæ¬çªã¢ãã«ã®éçºãæ¯æŽããŸãã
YOLO11 ãšComet ML ã®ãã¯ãŒã掻çšãã
Ultralytics YOLO11 ãComet ML ãšçµã¿åãããããšã§ãããŸããŸãªå©ç¹ãåŸãããŸããããã«ã¯ãç°¡çŽ åãããå®éšç®¡çãè¿ éãªèª¿æŽã®ããã®ãªã¢ã«ã¿ã€ã ã®æŽå¯ãæè»ã§ã«ã¹ã¿ãã€ãºããããã®ã³ã°ãªãã·ã§ã³ãã€ã³ã¿ãŒãããã¢ã¯ã»ã¹ãå¶éãããŠããå Žåã®ãªãã©ã€ã³ã§ã®å®éšãã®ã³ã°æ©èœãªã©ãå«ãŸããŸãããã®çµ±åã«ãããããŒã¿é§ååã®ææ決å®ãããã©ãŒãã³ã¹æž¬å®åºæºã®åæãåè¶ããçµæã®éæãå¯èœã«ãªããŸãã
ã€ã³ã¹ããŒã«
å¿ èŠãªããã±ãŒãžãã€ã³ã¹ããŒã«ããã«ã¯
ã€ã³ã¹ããŒã«
Comet ML ã®èšå®
å¿ èŠãªããã±ãŒãžãã€ã³ã¹ããŒã«ãããããµã€ã³ã¢ããããŠComet API Key ãååŸããèšå®ããå¿ èŠãããã
ãã®åŸãComet ãããžã§ã¯ããåæåã§ããŸããComet ã¯èªåçã«APIããŒãæ€åºããã»ããã¢ãããé²ããŸãã
Comet ãããžã§ã¯ãã®åæå
Google ColabããŒãããã¯ã䜿çšããŠããå Žåãäžèšã®ã³ãŒãã¯åæåã®ããã«APIããŒã®å ¥åãä¿ããŸãã
䜿çšæ¹æ³
䜿ãæ¹ã®èª¬æã«å ¥ãåã«ã Ultralytics ãæäŸããYOLO11 ã¢ãã«ã®ã©ã€ã³ããããã確èªãã ãããããã¯ãããªãã®ãããžã§ã¯ãã®èŠä»¶ã«æãé©ããã¢ãã«ãéžæããã®ã«åœ¹ç«ã¡ãŸãã
䜿çšæ¹æ³
ãã¬ãŒãã³ã°ã³ãŒãã®å®è¡åŸãComet ML ã¯Comet ã¯ãŒã¯ã¹ããŒã¹ã«å®éšãäœæããèªåçã«å®è¡ã远跡ããŸãããã®åŸãYOLO11 ã¢ãã«ã®ãã¬ãŒãã³ã°ããã»ã¹ã®è©³çŽ°ãªãã®ã³ã°ã衚瀺ããããã®ãªã³ã¯ãæäŸãããŸãã
Comet mAPãæ倱ãªã©ã®ã¡ããªã¯ã¹ããã€ããŒãã©ã¡ãŒã¿ãã¢ãã«ã®ãã§ãã¯ãã€ã³ããã€ã³ã¿ã©ã¯ãã£ããªæ··åè¡åãç»åã®ããŠã³ãã£ã³ã°ããã¯ã¹äºæž¬ãªã©ã§ãã
Comet MLããžã¥ã¢ã©ã€ãŒãŒã·ã§ã³ã§ã¢ãã«ã®ããã©ãŒãã³ã¹ãç解ãã
YOLO11 ã¢ãã«ããã¬ãŒãã³ã°ãå§ãããšãComet MLããã·ã¥ããŒãã«äœã衚瀺ãããããèŠãŠã¿ãããããã·ã¥ããŒãã¯ãèªåçã«èšé²ãããæ§ã ãªæ å ±ãããžã¥ã¢ã«ãšçµ±èšã§è¡šç€ºãããå šãŠã®ã¢ã¯ã·ã§ã³ãèµ·ããå Žæã§ããç°¡åãªãã¢ãŒã§ãïŒ
å®éšããã«
Comet MLããã·ã¥ããŒãã®å®éšããã«ã»ã¯ã·ã§ã³ã¯ãã»ã°ã¡ã³ããã¹ã¯æ倱ãã¯ã©ã¹æ倱ã粟床ãå¹³åå¹³å粟床ãªã©ãããŸããŸãªå®è¡ãšãã®ã¡ããªã¯ã¹ãæŽçããŠè¡šç€ºããŸãã
ææš
ã¡ããªãã¯ã¹ã»ã»ã¯ã·ã§ã³ã§ã¯ãã¡ããªãã¯ã¹ã衚圢åŒã§èª¿ã¹ããªãã·ã§ã³ããããŸãã
ã€ã³ã¿ã©ã¯ãã£ããªæ··ä¹±ãããªãã¯ã¹
æ··åè¡åã¯ãæ··åè¡åã¿ãã«ãããã¢ãã«ã®åé¡ç²ŸåºŠãè©äŸ¡ããã€ã³ã¿ã©ã¯ãã£ããªæ¹æ³ãæäŸããŸããããã¯ãæ£ããäºæž¬ãšæ£ãããªãäºæž¬ã®è©³çŽ°ã瀺ããã¢ãã«ã®é·æãšçæãç解ããããšãå¯èœã«ããŸãã
ã·ã¹ãã ææš
Comet MLã¯ããã¬ãŒãã³ã°ããã»ã¹ã«ãããããã«ããã¯ãç¹å®ããããã«ãã·ã¹ãã ã¡ããªã¯ã¹ã®ãã°ãèšé²ããŸããããã«ã¯ãGPU 䜿çšçãGPU ã¡ã¢ãªäœ¿çšçãCPU 䜿çšçãRAM 䜿çšçãªã©ã®ã¡ããªã¯ã¹ãå«ãŸããŸãããããã¯ãã¢ãã«ã®ãã¬ãŒãã³ã°äžã®ãªãœãŒã¹ã®äœ¿çšå¹çãç£èŠããããã«äžå¯æ¬ ã§ãã
Comet ML ãã®ã³ã°ã®ã«ã¹ã¿ãã€ãº
Comet MLã¯ç°å¢å€æ°ãèšå®ããããšã«ããããã®ã³ã°ã®åäœãæè»ã«ã«ã¹ã¿ãã€ãºããããšãã§ããŸãããããã®èšå®ã«ãããComet ML ãããªãã®ç¹å®ã®ããŒãºã奜ã¿ã«åãããããšãã§ããŸããããã§ã¯ãããã€ãã®æçšãªã«ã¹ã¿ãã€ãºãªãã·ã§ã³ã玹ä»ããŸãïŒ
ãã°ç»åäºæž¬
Comet ML ãå®éšäžã«ãã°ã«èšé²ããç»åäºæž¬æ°ãå¶åŸ¡ã§ããŸããããã©ã«ãã§ã¯ãComet ML ã¯æ€èšŒã»ãããã100ã®ç»åäºæž¬ããã°ã«èšé²ããŸãããããããã®æ°ã¯ããªãã®èŠæ±ã«åãããã«å€æŽããããšãã§ããŸããäŸãã°ã200ã®ç»åäºæž¬ããã°ã«èšé²ããã«ã¯ã以äžã®ã³ãŒãã䜿ããŸãïŒ
ããããã®ã³ã°éé
Comet MLã§ã¯ãç»åäºæž¬ã®ãã°ãèšé²ããé »åºŠãæå®ã§ããŸãããã®ãã COMET_EVAL_BATCH_LOGGING_INTERVAL
ç°å¢å€æ°ã¯ãã®é »åºŠãå¶åŸ¡ãããããã©ã«ãã®èšå®ã¯ 1 ã§ããã¹ãŠã®æ€èšŒãããããäºæž¬ããã°ã«èšé²ããŸãããã®å€ã調æŽããããšã§ãç°ãªãééã§äºæž¬ããã°ã«èšé²ããããšãã§ããŸããããšãã°ã4 ã«èšå®ãããšã4 çªç®ã®ãããããšã«äºæž¬ããã°ã«èšé²ããŸãã
æ··ä¹±ãããªãã¯ã¹ã®ãã°ãç¡å¹ã«ãã
å Žåã«ãã£ãŠã¯ãæ€èšŒã»ããã®æ··åè¡åããã°ã«æ®ããããªãããšãããã§ãããã ãšããã¯.ãèšå®ããããšã§ããã®æ©èœãç¡å¹ã«ããããšãã§ããŸãã COMET_EVAL_LOG_CONFUSION_MATRIX
ç°å¢å€æ°ã "false "ã«èšå®ãããæ··åè¡åã¯ãã¬ãŒãã³ã°çµäºåŸãäžåºŠã ãèšé²ãããã
ãªãã©ã€ã³ãã°
ã€ã³ã¿ãŒããããžã®ã¢ã¯ã»ã¹ãå¶éãããŠããå ŽåãComet MLã¯ãªãã©ã€ã³ã»ãã®ã³ã°ã»ãªãã·ã§ã³ãæäŸããŸãããã®ãªãã·ã§ã³ã¯ COMET_MODE
ç°å¢å€æ°ã "offline "ã«èšå®ãããšããã®æ©èœãæå¹ã«ãªããŸããå®éšããŒã¿ã¯ããŒã«ã«ã®ãã£ã¬ã¯ããªã«ä¿åãããã€ã³ã¿ãŒãããæ¥ç¶ãå¯èœãªæã«Comet ML ã«ã¢ããããŒãããããšãã§ããŸãã
æŠèŠ
ãã®ã¬ã€ãã§ã¯ãComet ML ãšUltralytics'YOLO11 ã®çµ±åã«ã€ããŠèª¬æãããã€ã³ã¹ããŒã«ããã«ã¹ã¿ãã€ãºãŸã§ãå®éšç®¡çãåçåãããªã¢ã«ã¿ã€ã ã®æŽå¯ãåŸãŠããã®ã³ã°ããããžã§ã¯ãã®ããŒãºã«é©å¿ãããæ¹æ³ãåŠã³ãŸããã
YOLO11 ãšã®çµ±åã«é¢ãã詳现ã«ã€ããŠã¯ãComet ML ã®å ¬åŒããã¥ã¡ã³ããåç §ããŠãã ããã
ããã«ãYOLO11 ã®å®çšçãªã¢ããªã±ãŒã·ã§ã³ãç¹ã«ç»åã»ã°ã¡ã³ããŒã·ã§ã³ã¿ã¹ã¯ã«æ·±ãæœã蟌ã¿ããå Žåã¯ã Comet ML ã«ããYOLO11 ã®åŸ®èª¿æŽã«é¢ãããã®è©³çŽ°ãªã¬ã€ãããã¢ãã«ã®ããã©ãŒãã³ã¹ãåäžãããããã®è²ŽéãªæŽå¯ãšã¹ããããã€ã¹ãããã®æé ãæäŸããŸãã
ããã«ãUltralytics ãšã®ä»ã®ãšããµã€ãã£ã³ã°ãªçµ±åã調ã¹ãã«ã¯ãè±å¯ãªãªãœãŒã¹ãšæ å ±ãæäŸããçµ±åã¬ã€ãããŒãžãã芧ãã ããã
ããããã質å
Comet ML ãUltralytics YOLO11 ãšçµ±åããŠãã¬ãŒãã³ã°ããã«ã¯ïŒ
Comet ML ãUltralytics YOLO11 ãšçµ±åããã«ã¯ã以äžã®æé ã«åŸãïŒ
-
å¿ èŠãªããã±ãŒãžãã€ã³ã¹ããŒã«ããïŒ
-
Comet API ããŒãèšå®ããŸãïŒ
-
Python ã³ãŒãã§Comet ãããžã§ã¯ããåæåããïŒ
-
YOLO11 ã¢ãã«ããã¬ãŒãã³ã°ããã¡ããªã¯ã¹ãèšé²ããŸãïŒ
ãã詳现ãªæé ã«ã€ããŠã¯ãComet MLèšå®ã®ã»ã¯ã·ã§ã³ãåç §ããŠãã ããã
YOLO11 ã§Comet ML ã䜿çšããå©ç¹ã¯äœã§ããïŒ
Ultralytics YOLO11 ãComet ML ãšçµ±åããããšã§ã以äžã®ããšãå¯èœã«ãªãïŒ
- ãªã¢ã«ã¿ã€ã ã®ã€ã³ãµã€ããã¢ãã¿ãŒïŒãã¬ãŒãã³ã°çµæãå³åº§ã«ãã£ãŒãããã¯ããè¿ éãªèª¿æŽãå¯èœã«ããŸãã
- åºç¯ãªã¡ããªã¯ã¹ãèšé²ïŒmAPãæ倱ããã€ããŒãã©ã¡ãŒã¿ãã¢ãã«ã®ãã§ãã¯ãã€ã³ããªã©ã®éèŠãªã¡ããªã¯ã¹ãèªåçã«ååŸããŸãã
- ãªãã©ã€ã³ã§å®éšã远跡ïŒã€ã³ã¿ãŒãããã«æ¥ç¶ã§ããªãå Žåã§ãããã¬ãŒãã³ã°ã®å®è¡ãããŒã«ã«ã«èšé²ã§ããŸãã
- ç°ãªããã¬ãŒãã³ã°å®è¡ãæ¯èŒã€ã³ã¿ã©ã¯ãã£ããªComet ML ããã·ã¥ããŒãã䜿çšããŠãè€æ°ã®å®éšãåæããã³æ¯èŒããŸãã
ãããã®æ©èœã掻çšããããšã§ãæ©æ¢°åŠç¿ã¯ãŒã¯ãããŒãæé©åããããã©ãŒãã³ã¹ãšåçŸæ§ãåäžãããããšãã§ããŸãã詳现ã«ã€ããŠã¯ãComet MLçµ±åã¬ã€ããã芧ãã ããã
YOLO11 ãã¬ãŒãã³ã°äžã®Comet ML ã®ãã®ã³ã°åäœãã«ã¹ã¿ãã€ãºããã«ã¯ïŒ
Comet MLã§ã¯ãç°å¢å€æ°ã䜿ã£ãŠãã®ã³ã°ã®åäœãåºç¯å²ã«ã«ã¹ã¿ãã€ãºã§ããïŒ
-
ç»åäºæž¬ãã°ã®æ°ãå€æŽããïŒ
-
ããããã®ã³ã°ã®ééã調æŽããïŒ
-
æ··åè¡åã®ãã®ã³ã°ãç¡å¹ã«ããïŒ
ã«ã¹ã¿ãã€ãºãªãã·ã§ã³ã«ã€ããŠã¯ã Comet MLãã®ã³ã°ã®ã«ã¹ã¿ãã€ãºã®ã»ã¯ã·ã§ã³ãåç §ããŠãã ããã
Comet MLã§ã®YOLO11 ãã¬ãŒãã³ã°ã®è©³çŽ°ãªã¡ããªã¯ã¹ãããžã¥ã¢ã©ã€ãŒãŒã·ã§ã³ã¯ã©ã®ããã«èŠãããšãã§ããŸããïŒ
YOLO11 ã¢ãã«ããã¬ãŒãã³ã°ãéå§ãããšãComet ML ããã·ã¥ããŒãã§å¹ åºãã¡ããªã¯ã¹ãšå¯èŠåã«ã¢ã¯ã»ã¹ã§ããŸããäž»ãªæ©èœã¯ä»¥äžã®éãïŒ
- å®éšããã«ïŒã»ã°ã¡ã³ããã¹ã¯æ倱ãã¯ã©ã¹æ倱ãå¹³åå¹³å粟床ãªã©ãããŸããŸãªå®è¡ãšãã®ã¡ããªã¯ã¹ã衚瀺ããŸãã
- ã¡ããªã¯ã¹ïŒã¡ããªãã¯ã¹ã衚圢åŒã§è©³çŽ°åæã
- ã€ã³ã¿ã©ã¯ãã£ããªæ··åè¡åïŒã€ã³ã¿ã©ã¯ãã£ããªæ··åè¡åã§åé¡ç²ŸåºŠãè©äŸ¡ïŒ
- ã·ã¹ãã ã»ã¡ããªã¯ã¹ïŒGPU ãCPU å©çšçãã¡ã¢ãªäœ¿çšéããã®ä»ã®ã·ã¹ãã ã¡ããªã¯ã¹ãç£èŠããŸãã
ãããã®æ©èœã®è©³çŽ°ã«ã€ããŠã¯ã Comet MLããžã¥ã¢ã©ã€ãŒãŒã·ã§ã³ã§ã¢ãã«ã®ããã©ãŒãã³ã¹ãç解ããã»ã¯ã·ã§ã³ãã芧ãã ããã
YOLO11 ã¢ãã«ããã¬ãŒãã³ã°ããéãComet ML ã䜿ã£ãŠãªãã©ã€ã³ã§ãã®ã³ã°ã§ããŸããïŒ
ã¯ããComet ML ã§ãªãã©ã€ã³ãã°ãæå¹ã«ããã«ã¯ COMET_MODE
ç°å¢å€æ°ã "offline "ã«èšå®ããïŒ
ãã®æ©èœã«ãããå®éšããŒã¿ãããŒã«ã«ã«èšé²ããããšãã§ããåŸã§ã€ã³ã¿ãŒãããæ¥ç¶ãå¯èœã«ãªã£ããšãã«Comet ML ã«ã¢ããããŒãããããšãã§ãããããã¯ãã€ã³ã¿ãŒãããã¢ã¯ã»ã¹ãå¶éãããŠããç°å¢ã§äœæ¥ããå Žåã«ç¹ã«äŸ¿å©ã§ãã詳现ã¯ããªãã©ã€ã³ãã®ã³ã°ãåç §ããŠãã ããã