YOLOv4ïŒé«éãã€æ£ç¢ºãªç©äœæ€åº
YOLOv4 ã®Ultralytics ããã¥ã¡ã³ãããŒãžãžãããããYOLOv4 ã¯ãAlexey Bochkovskiy ãhttps://github.com/AlexeyAB/darknet 㧠2020 幎ã«çºè¡šããæå 端ã®ãªã¢ã«ã¿ã€ã ç©äœæ€åºåšã§ããYOLOv4ã¯ãé床ãšç²ŸåºŠã®æé©ãªãã©ã³ã¹ãæäŸããããã«èšèšãããŠãããå€ãã®ã¢ããªã±ãŒã·ã§ã³ã«æé©ã§ãã
YOLOv4ã¢ãŒããã¯ãã£å³.YOLOv4ã®è€éãªãããã¯ãŒã¯èšèšã玹ä»ãããã¯ããŒã³ãããã¯ããããã®åã³ã³ããŒãã³ããšãæé©ãªãªã¢ã«ã¿ã€ã ç©äœæ€åºã®ããã®çžäºæ¥ç¶ã¬ã€ã€ãŒãå«ãã
ã¯ããã«
YOLOv4ãšã¯ãYou Only Look Once version 4ã®ç¥ã§ããYOLOv3ãä»ã®ãªããžã§ã¯ãæ€åºã¢ãã«ã®ãããªä»¥åã®ããŒãžã§ã³YOLO ã®å¶éã«å¯ŸåŠããããã«éçºããããªã¢ã«ã¿ã€ã ã®ãªããžã§ã¯ãæ€åºã¢ãã«ã§ããä»ã®ç³ã¿èŸŒã¿ãã¥ãŒã©ã«ãããã¯ãŒã¯ïŒCNNïŒããŒã¹ã®ç©äœæ€åºãšã¯ç°ãªããYOLOv4ã¯æšèŠã·ã¹ãã ã ãã§ãªããåäœã®ããã»ã¹ç®¡çã人éã®å ¥å軜æžã«ãé©çšå¯èœã§ããåŸæ¥ã®ã°ã©ãã£ãã¯ã»ããã»ãã·ã³ã°ã»ãŠãããïŒGPUïŒäžã§åäœãããããæé ãªäŸ¡æ Œã§å€§éå©çšãå¯èœã§ãããåŸæ¥ã®GPU äžã§ãªã¢ã«ã¿ã€ã ã«åäœããããã«èšèšãããŠããäžæ¹ãåŠç¿ã«å¿ èŠãªã®ã¯ãã®ãããªGPU 1ã€ã ãã§ããã
建ç¯
YOLOv4ã¯ãæ§èœãæé©åããããã«ãããã€ãã®é©æ°çãªæ©èœãå©çšããŠãããããã«ã¯ãéã¿ä»ãæ®å·®çµåïŒWRCïŒãã¯ãã¹ã¹ããŒãžéšåçµåïŒCSPïŒãã¯ãã¹ãããããæ£èŠåïŒCmBNïŒãèªå·±é説çåŠç¿ïŒSATïŒãããã·ã¥ã¢ã¯ãã£ããŒã·ã§ã³ãã¢ã¶ã€ã¯ããŒã¿å¢åŒ·ãDropBlockæ£ååãCIoUæ倱ãªã©ãå«ãŸããããããã®ç¹åŸŽãçµã¿åãããããšã§ãæå 端ã®çµæãéæããŠããã
å žåçãªç©äœæ€åºåšã¯ãå ¥åãããã¯ããŒã³ãããã¯ãããããå«ãããã€ãã®éšåããæ§æããããYOLOv4ã®ããã¯ããŒã³ã¯ãImageNetã§äºåã«èšç·Žããããªããžã§ã¯ãã®ã¯ã©ã¹ãšããŠã³ãã£ã³ã°ããã¯ã¹ãäºæž¬ããããã«äœ¿çšãããŸããããã¯ããŒã³ã«ã¯ãVGGãResNetãResNeXtãDenseNetãªã©ã®ã¢ãã«ã䜿çšããããšãã§ããŸããæ€åºåšã®éŠã®éšåã¯ãç°ãªãã¹ããŒãžããç¹åŸŽããããåéããããã«äœ¿çšãããéåžžãããã€ãã®ããã ã¢ããã»ãã¹ãšããã€ãã®ãããããŠã³ã»ãã¹ãå«ã¿ãŸãããããéšåã¯ãæçµçãªãªããžã§ã¯ãã®æ€åºãšåé¡ã«äœ¿çšãããŸãã
çŠè¢
YOLOv4ã¯ãŸãããbag of freebiesããšåŒã°ããææ³ãå©çšããŠãããããã¯ãæšè«ã³ã¹ããå¢å ãããããšãªããåŠç¿äžã®ã¢ãã«ã®ç²ŸåºŠãåäžãããææ³ã§ãããããŒã¿è£åŒ·ã¯ç©äœæ€åºã§ãã䜿ãããBag of Freebiesã®ææ³ã§ãã¢ãã«ã®ããã¹ãæ§ãåäžãããããã«å ¥åç»åã®ã°ãã€ããå¢ãããããŒã¿è£åŒ·ã®äŸãšããŠã¯ã枬å æªã¿ïŒç»åã®æãããã³ã³ãã©ã¹ããè²çžã圩床ããã€ãºã調æŽããïŒã幟äœåŠçæªã¿ïŒã©ã³ãã ãªæ¡å€§çž®å°ãåãåããå転ãå転ãå ããïŒãªã©ãããããããã®ãã¯ããã¯ã¯ãã¢ãã«ãç°ãªãã¿ã€ãã®ç»åã«å¯ŸããŠããè¯ãäžè¬åããã®ã«åœ¹ç«ã¡ãŸãã
æ©èœãšæ§èœ
YOLOv4ã¯ãç©äœæ€åºã®é床ãšç²ŸåºŠãæé©åããããã«èšèšãããŠãããYOLOv4ã®ã¢ãŒããã¯ãã£ã«ã¯ãããã¯ããŒã³ãšããŠCSPDarknet53ãããã¯ãšããŠPANetããããŠæ€åºããããšããŠYOLOv3ãå«ãŸããŠããããã®èšèšã«ãããYOLOv4ã¯é©ç°çãªã¹ããŒãã§ç©äœæ€åºãè¡ãããšãã§ãããªã¢ã«ã¿ã€ã ã»ã¢ããªã±ãŒã·ã§ã³ã«é©ããŠãããYOLOv4ã¯ç²ŸåºŠã«ãåªããŠãããç©äœæ€åºãã³ãããŒã¯ã§æå 端ã®çµæãéæããŠããã
䜿çšäŸ
æ¬çš¿å·çæç¹ã§ã¯ãUltralytics ãçŸåšYOLOv4ã¢ãã«ããµããŒãããŠããªãããã®ãããYOLOv4ã®äœ¿çšã«èå³ããããŠãŒã¶ãŒã¯ãã€ã³ã¹ããŒã«ãšäœ¿çšæ¹æ³ã«ã€ããŠãYOLOv4ã®GitHubãªããžããªãçŽæ¥åç §ããå¿ èŠãããã
YOLOv4ã䜿çšããããã®å žåçãªæé ãç°¡åã«èª¬æããŸãïŒ
-
YOLOv4ã®GitHubãªããžããªhttps://github.com/AlexeyAB/darknetã
-
READMEãã¡ã€ã«ã«èšèŒãããŠããæ瀺ã«åŸã£ãŠã€ã³ã¹ããŒã«ããŠãã ãããããã«ã¯éåžžããªããžããªã®ã¯ããŒã³ãå¿ èŠãªäŸåé¢ä¿ã®ã€ã³ã¹ããŒã«ãå¿ èŠãªç°å¢å€æ°ã®èšå®ãå«ãŸããŸãã
-
ã€ã³ã¹ããŒã«ãå®äºãããããªããžããªã§æäŸãããŠãã䜿çšæ¹æ³ã«åŸã£ãŠã¢ãã«ããã¬ãŒãã³ã°ãã䜿çšããããšãã§ããŸããããã¯éåžžãããŒã¿ã»ããã®æºåãã¢ãã«ãã©ã¡ãŒã¿ã®èšå®ãã¢ãã«ã®åŠç¿ãåŠç¿æžã¿ã¢ãã«ã䜿ã£ãç©äœæ€åºãå«ã¿ãŸãã
å ·äœçãªæé ã¯ãããªãã®ç¹å®ã®ãŠãŒã¹ã±ãŒã¹ãYOLOv4ãªããžããªã®çŸåšã®ç¶æ ã«ãã£ãŠç°ãªãå¯èœæ§ãããããšã«æ³šæããŠãã ããããã®ãããYOLOv4ã®GitHubãªããžããªã§æäŸãããŠããæé ãçŽæ¥åç §ããããšã匷ããå§ãããŸãã
ãè¿·æããããããŠç³ãèš³ãããŸãããYOLOv4ã®ãµããŒããå®è£ ãããŸããããUltralytics ããã®ããã¥ã¡ã³ãã«äœ¿çšäŸãæŽæ°ããããåªããŸãã
çµè«
YOLOv4ã¯ãã¹ããŒããšç²ŸåºŠã®ãã©ã³ã¹ãåã£ããã¯ãã«ã§å¹ççãªç©äœæ€åºã¢ãã«ã§ããYOLOv4ã¯ããã¬ãŒãã³ã°äžã«ç¬èªã®æ©èœãšããã°ã»ãªãã»ããªãŒãã æè¡ã䜿çšããããšã§ããªã¢ã«ã¿ã€ã ã®ç©äœæ€åºã¿ã¹ã¯ã§åªããæ§èœãçºæ®ããŸããYOLOv4ã¯ãåŸæ¥ã®GPU ã誰ã§ããã¬ãŒãã³ã°ããŠäœ¿çšããããšãã§ããå¹ åºãçšéã«å©çšå¯èœã§å®çšçã§ãã
åŒçšãšè¬èŸ
ãªã¢ã«ã¿ã€ã ç©äœæ€åºã®åéã«ãããYOLOv4äœè ã®å€å€§ãªè²¢ç®ã«æè¬ãããïŒ
ãªãªãžãã«ã®YOLOv4è«æã¯arXivã«æ²èŒãããŠãããèè ãã¯åœŒãã®ç 究ãå ¬éããã³ãŒãããŒã¹ã¯GitHubã§ã¢ã¯ã»ã¹ã§ãããæã ã¯ããã®åéãçºå±ãããããåºãã³ãã¥ããã£ã圌ãã®ç 究ã«ã¢ã¯ã»ã¹ã§ããããã«ãã圌ãã®åªåã«æè¬ããŠããã
ããããã質å
YOLOv4ãšã¯äœã§ããïŒãªãç©äœæ€åºã«äœ¿ãå¿ èŠãããã®ã§ããïŒ
YOLOv4ãšã¯ãYou Only Look Once version 4ãã®ç¥ã§ã2020幎ã«ã¢ã¬ã¯ã»ã€ã»ããã³ãã¹ããŒã«ãã£ãŠéçºãããæå 端ã®ãªã¢ã«ã¿ã€ã ç©äœæ€åºã¢ãã«ã§ãããé床ãšç²ŸåºŠã®æé©ãªãã©ã³ã¹ãå®çŸãããªã¢ã«ã¿ã€ã ã¢ããªã±ãŒã·ã§ã³ã«éåžžã«é©ããŠãããYOLOv4ã®ã¢ãŒããã¯ãã£ã«ã¯ãéã¿ä»ãæ®å·®çµåïŒWRCïŒãã¯ãã¹ã¹ããŒãžéšåçµåïŒCSPïŒãèªå·±é説çåŠç¿ïŒSATïŒãªã©ã®é©æ°çãªæ©èœãçµã¿èŸŒãŸããŠãããæå 端ã®çµæãå®çŸããŠãããåŸæ¥ã®GPUã§å¹ççã«åäœããé«æ§èœã¢ãã«ããæ¢ããªããYOLOv4ãæé©ã§ãã
YOLOv4ã®ã¢ãŒããã¯ãã£ãŒã¯ã©ã®ããã«æ§èœãé«ããŠããã®ã§ããïŒ
YOLOv4ã®ã¢ãŒããã¯ãã£ã«ã¯ãããã¯ããŒã³ãããã¯ãããããšããããã€ãã®éèŠãªã³ã³ããŒãã³ãããããããã¯ããŒã³ã¯ãVGGãResNetãCSPDarknet53ã®ãããªã¢ãã«ã§ãã¯ã©ã¹ãšããŠã³ãã£ã³ã°ããã¯ã¹ãäºæž¬ããããã«äºåã«èšç·ŽãããŠãããéŠã¯PANetãå©çšããç°ãªãã¹ããŒãžããã®ç¹åŸŽããããæ¥ç¶ããå æ¬çãªããŒã¿æœåºãè¡ããæåŸã«ãYOLOv3ã®èšå®ã䜿çšããé éšããæçµçãªãªããžã§ã¯ãã®æ€åºãè¡ããYOLOv4ã¯ãŸããã¢ã¶ã€ã¯ããŒã¿ã®è£åŒ·ãDropBlockæ£ååã®ãã㪠"bag of freebies "æè¡ãæ¡çšããé床ãšç²ŸåºŠãããã«æé©åããŠããã
YOLOv4ã§ãããšããã® "ãªãã±è¢ "ãšã¯ïŒ
ãBag of freebiesããšã¯ãæšè«ã³ã¹ããå¢å ãããããšãªãYOLOv4ã®åŠç¿ç²ŸåºŠãåäžãããææ³ã®ããšã§ããããããã®ææ³ã«ã¯ãåççæªã¿ïŒæãããã³ã³ãã©ã¹ããªã©ã®èª¿æŽïŒã幟äœåŠçæªã¿ïŒã¹ã±ãŒãªã³ã°ãããªãã³ã°ãå転ãå転ïŒãªã©ãæ§ã ãªåœ¢åŒã®ããŒã¿è£åŒ·ãå«ãŸãããå ¥åç»åã®å¯å€æ§ãé«ããããšã§ããããã®è£åŒ·ã¯YOLOv4ãç°ãªãã¿ã€ãã®ç»åã«å¯ŸããŠããè¯ãæ±åããã®ãå©ãããªã¢ã«ã¿ã€ã æ§èœãæãªãããšãªããããã¹ãæ§ãšç²ŸåºŠãåäžãããŸãã
ãªãYOLOv4ãåŸæ¥ã®GPUã§ã®ãªã¢ã«ã¿ã€ã ç©äœæ€åºã«é©ããŠãããšèããããŠããã®ãïŒ
YOLOv4ã¯ãé床ãšç²ŸåºŠã®äž¡æ¹ãæé©åããããã«èšèšãããŠãããè¿ éãã€ä¿¡é Œæ§ã®é«ãããã©ãŒãã³ã¹ãå¿ èŠãšãããªã¢ã«ã¿ã€ã ã®ç©äœæ€åºã¿ã¹ã¯ã«æé©ã§ããåŸæ¥ã®GPUã§å¹ççã«åäœããåŠç¿ãšæšè«ã®äž¡æ¹ã«å¿ èŠãªGPUã¯1ã€ã ãã§ãããã®ãããã¬ã³ã¡ã³ããŒã·ã§ã³ã·ã¹ãã ããã¹ã¿ã³ãã¢ããŒã³ã®ããã»ã¹ç®¡çãŸã§ãæ§ã ãªã¢ããªã±ãŒã·ã§ã³ã§å©çšå¯èœãã€å®çšçã§ããã倧èŠæš¡ãªããŒããŠã§ã¢ã®ã»ããã¢ããã®å¿ èŠæ§ãäœæžãããªã¢ã«ã¿ã€ã ç©äœæ€åºã®ããã®è²»çšå¯Ÿå¹æã®é«ããœãªã¥ãŒã·ã§ã³ãšãªã£ãŠããŸãã
Ultralytics ãçŸåšYOLOv4ããµããŒããããŠããªãå Žåãã©ãããã°äœ¿ãå§ããããšãã§ããŸããïŒ
YOLOv4ã䜿ãå§ããã«ã¯ãYOLOv4ã®å ¬åŒGitHubãªããžããªã«ã¢ã¯ã»ã¹ããå¿ èŠããããREADMEãã¡ã€ã«ã«èšèŒãããŠããã€ã³ã¹ããŒã«æé ã«åŸãããªããžããªã®ã¯ããŒã³ãäŸåé¢ä¿ã®ã€ã³ã¹ããŒã«ãç°å¢å€æ°ã®èšå®ãè¡ããã€ã³ã¹ããŒã«ãå®äºããããããŒã¿ã»ãããæºåããã¢ãã«ã»ãã©ã¡ãŒã¿ãŒãèšå®ããæäŸãããŠãã䜿çšæ¹æ³ã«åŸã£ãŠã¢ãã«ããã¬ãŒãã³ã°ããããšãã§ãããçŸåšãUltralytics ã¯YOLOv4ããµããŒãããŠããªããããææ°ã®è©³çŽ°ãªã¬ã€ãã³ã¹ã«ã€ããŠã¯ãYOLOv4ã®GitHubãçŽæ¥åç §ããããšãæšå¥šããã