Roboflow ããŒã¿ã»ãã
Roboflow ã䜿ã£ãŠãYOLOv5 ðã¢ãã«ããã¬ãŒãã³ã°ããããã®ããŒã¿ã»ããã®æŽçãã©ãã«ä»ããæºåãããŒãžã§ã³ç®¡çããã¹ãã£ã³ã°ãã§ããããã«ãªã£ããRoboflow ã¯ãã¯ãŒã¯ã¹ããŒã¹ãå ¬éããã°ãYOLOv5 ãšãšãã«ç¡æã§äœ¿ããã
ã©ã€ã»ã³ã¹
Ultralytics ã¯2ã€ã®ã©ã€ã»ã³ã¹ã»ãªãã·ã§ã³ãæäŸããŠããïŒ
- AGPL-3.0 ã©ã€ã»ã³ã¹ã¯ãåŠçãæ奜家ã«çæ³çãªOSIæ¿èªã®ãªãŒãã³ãœãŒã¹ã©ã€ã»ã³ã¹ã§ãã
- ãšã³ã¿ãŒãã©ã€ãºã»ã©ã€ã»ã³ã¹ã¯ãåœç€Ÿã®AIã¢ãã«ã補åããµãŒãã¹ã«çµã¿èŸŒãããšããäŒæ¥åãã®ã©ã€ã»ã³ã¹ã§ãã
詳ããã¯Ultralytics ã©ã€ã»ã³ã¹ãã芧ãã ããã
ã¢ããããŒã
ãŠã§ã UIãREST APIããŸãã¯ä»¥äžã®æ¹æ³ã§Roboflow ã«ããŒã¿ãã¢ããããŒãã§ããŸãã Python.
ã©ããªã³ã°
Roboflow ã«ããŒã¿ãã¢ããããŒãããåŸãããŒã¿ã«ã©ãã«ãä»ãã以åã®ã©ãã«ã確èªããããšãã§ããŸãã
ããŒãžã§ãã³ã°
YOLOv5 ã¯ãã€ãã£ãã«ãªã³ã©ã€ã³æ¡åŒµãè¡ãã®ã§ãRoboflow ã®ãªãã©ã€ã³æ¡åŒµãäžã«éãããšãã¯æå³çã«è¡ãããšã
ããŒã¿ã®ãšã¯ã¹ããŒã
YOLOv5 圢åŒã§ããŒã¿ãããŠã³ããŒãããã°ãããã«ãã¬ãŒãã³ã°ãéå§ã§ããŸãã
from roboflow import Roboflow
rf = Roboflow(api_key="YOUR API KEY HERE")
project = rf.workspace().project("YOUR PROJECT")
dataset = project.version("YOUR VERSION").download("yolov5")
ã«ã¹ã¿ã ã»ãã¬ãŒãã³ã°
äžèšã®ãã¹ãŠã®æ©èœããã¢ã³ã¹ãã¬ãŒã·ã§ã³ããã«ã¹ã¿ã ãã¬ãŒãã³ã°ãã¥ãŒããªã¢ã«ããªãªãŒã¹ããŸãããã³ãŒãã¯ãã¡ãããã¢ã¯ã»ã¹ã§ããŸãïŒ
ã¢ã¯ãã£ãã»ã©ãŒãã³ã°
çŸå®ã®äžçã¯æ··ä¹±ããŠãããããªãã®ã¢ãã«ã¯å¿ ããããŒã¿ã»ãããäºæ³ããªãã£ãç¶æ³ã«ééãããã¢ã¯ãã£ãã©ãŒãã³ã°ã䜿ãããšã¯ãããŒã¿ã»ãããšã¢ãã«ãç¹°ãè¿ãæ¹åããããã®éèŠãªæŠç¥ã§ãããRoboflow ãšYOLOv5 ã®çµ±åã«ããããã¹ãæžã¿ã®æ©æ¢°åŠç¿ãã€ãã©ã€ã³ã䜿çšããŠãã¢ãã«ã®ãããã€ã¡ã³ããçŽ æ©ãæ¹åããããšãã§ããŸãã
察å¿ç°å¢
Ultralytics ãã¯ãããšããå¿ èŠäžå¯æ¬ ãªäŸåé¢ä¿ãããªã€ã³ã¹ããŒã«ããããããŸããŸãªããã«äœ¿ããç°å¢ãæäŸããã CUDAãCUDNNã Pythonãã㊠PyTorchãªã©ãããªã€ã³ã¹ããŒã«ãããŠããŸãã
- ç¡æGPU ããŒã:
- Google ã¯ã©ãŠã GCPã¯ã€ãã¯ã¹ã¿ãŒãã¬ã€ã
- ã¢ããŸã³ AWSã¯ã€ãã¯ã¹ã¿ãŒãã¬ã€ã
- AzureïŒAzureML ã¯ã€ãã¯ã¹ã¿ãŒãã¬ã€ã
- ããã«ãŒ: Dockerã¯ã€ãã¯ã¹ã¿ãŒãã¬ã€ã
ãããžã§ã¯ãç¶æ³
ãã®ãããžã¯ãYOLOv5 GitHub ActionsContinuous Integration (CI) ãã¹ãããã¹ãŠæ£åžžã«ãã¹ããŠããããšã瀺ããŸãããããã®CIãã¹ãã¯ããã¬ãŒãã³ã°ãæ€èšŒãæšè«ããšã¯ã¹ããŒãããã³ãããŒã¯ãšãã£ãããŸããŸãªéèŠãªåŽé¢ã«ããã£ãŠãYOLOv5 ã®æ©èœãšããã©ãŒãã³ã¹ãå³å¯ã«ãã§ãã¯ããŸãããããã®ãã¹ãã¯ãmacOSãWindowsãUbuntuäžã§ã24æéããšããã³æ°ããã³ãããããšã«å®æœãããäžè²«ããä¿¡é Œæ§ã®é«ãåäœãä¿èšŒããŸãã
ããããã質å
YOLOv5 ã¢ãã«ã®ãã¬ãŒãã³ã°çšã«ããŒã¿ãRoboflow ã«ã¢ããããŒãããã«ã¯ã©ãããã°ããã§ããïŒ
ãŠã§ããµã€ããREST APIãPython ã®3ã€ã®æ¹æ³ã§ãRoboflow ã«ããŒã¿ãã¢ããããŒãã§ããŸãããããã®ãªãã·ã§ã³ã¯ãã客æ§ã®æè¡çãªãåžæããããžã§ã¯ãã®èŠä»¶ã«æè»ã«å¯Ÿå¿ããŸããããŒã¿ãã¢ããããŒãããããšãUltralytics YOLOv5 ã¢ãã«ã§ãã¬ãŒãã³ã°ããããã®æºåãšããŠãããŒã¿ã®æŽçãã©ãã«ä»ããããŒãžã§ã³ç®¡çãè¡ãããšãã§ããŸãã詳现ã«ã€ããŠã¯ãããã¥ã¡ã³ãã®ãã¢ããããŒããã»ã¯ã·ã§ã³ãåç §ããŠãã ããã
ããŒã¿ã®ã©ããªã³ã°ãšããŒãžã§ãã³ã°ã«Roboflow ã䜿çšããå©ç¹ã¯äœã§ããïŒ
Roboflow ã¯ãå¹ççãªæ©æ¢°åŠç¿ã¯ãŒã¯ãããŒã«äžå¯æ¬ ãªããŒã¿æŽçãã©ããªã³ã°ãããŒãžã§ãã³ã°ã®ããã®å æ¬çãªãã©ãããã©ãŒã ãæäŸããŸããYOLOv5 ã§Roboflow ã䜿çšããããšã§ãããŒã¿ã»ããã®æºåããã»ã¹ãåçåããããŒã¿ã®æ£ç¢ºãªæ³šéä»ããšäžè²«ããããŒãžã§ãã³ã°ã確å®ã«è¡ãããšãã§ããŸãããŸãããã®ãã©ãããã©ãŒã ã¯ãããŒã¿ã»ããã®å質ãé«ããããã®æ§ã ãªååŠçããªãã©ã€ã³æ¡åŒµãªãã·ã§ã³ããµããŒãããŠããŸãããããã®æ©èœã®è©³çŽ°ã«ã€ããŠã¯ãããã¥ã¡ã³ãã®ãã©ããªã³ã°ããšãããŒãžã§ãã³ã°ãã®ã»ã¯ã·ã§ã³ãã芧ãã ããã
ããŒã¿ã»ãããRoboflow ããYOLOv5 圢åŒã«ãšã¯ã¹ããŒãããã«ã¯ã©ãããã°ããã§ããïŒ
Roboflow ããYOLOv5 圢åŒãžã®ããŒã¿ã»ããã®ãšã¯ã¹ããŒãã¯ç°¡åã§ããããã¥ã¡ã³ãã§æäŸãããŠããPython ã®ã³ãŒãã»ã¹ããããã䜿ãããšãã§ããïŒ
from roboflow import Roboflow
rf = Roboflow(api_key="YOUR API KEY HERE")
project = rf.workspace().project("YOUR PROJECT")
dataset = project.version("YOUR VERSION").download("yolov5")
ãã®ã³ãŒãã¯ãYOLOv5 ãšäºææ§ã®ãããã©ãŒãããã§ããŒã¿ã»ãããããŠã³ããŒãããã¢ãã«ã®ãã¬ãŒãã³ã°ãçŽ æ©ãéå§ã§ããããã«ããŸãã詳现ã«ã€ããŠã¯ããããŒã¿ã®ãšã¯ã¹ããŒããã®ã»ã¯ã·ã§ã³ãåç §ããŠãã ããã
ã¢ã¯ãã£ãã»ã©ãŒãã³ã°ãšã¯äœãããããŠYOLOv5 ãRoboflow ã
èœååŠç¿ã¯ãæãæ å ±éã®å€ãããŒã¿ã»ãã€ã³ããã€ã³ããªãžã§ã³ãã«éžæããŠã©ãã«ä»ãããããšã§ãã¢ãã«ãå埩çã«æ¹åããæ©æ¢°åŠç¿æŠç¥ã§ããRoboflow ãšYOLOv5 ã®çµ±åã«ãããã¢ãã«ã®ããã©ãŒãã³ã¹ãç¶ç¶çã«åäžãããèœååŠç¿ãå®è£ ããããšãã§ããŸããããã«ã¯ãã¢ãã«ãå±éããæ°ããããŒã¿ãåã蟌ã¿ãã¢ãã«ã䜿ã£ãŠäºæž¬ãè¡ããããã«ã¢ãã«ãèšç·Žããããã«ãããã®äºæž¬ãæåã§æ€èšŒãŸãã¯ä¿®æ£ããããšãå«ãŸããŸããã¢ã¯ãã£ãã»ã©ãŒãã³ã°ã®è©³çŽ°ã«ã€ããŠã¯ãäžèšã®ã¢ã¯ãã£ãã»ã©ãŒãã³ã°ã®ã»ã¯ã·ã§ã³ãåç §ããŠãã ããã
YOLOv5 ã¢ãã«ã®ãã¬ãŒãã³ã°ã«Ultralytics ç°å¢ãç°ãªããã©ãããã©ãŒã ã§äœ¿çšããã«ã¯ïŒ
Ultralytics ã¯ãCUDA ãCUDNNãPython ãããã³ PyTorchãªã©ã®äŸåé¢ä¿ãæã€ãããã«äœ¿ããç°å¢ãæäŸããŠããŸãããããã®ç°å¢ã¯ãGoogle ã¯ã©ãŠããAWSãAzureãDocker ãªã©ãããŸããŸãªãã©ãããã©ãŒã ã§å©çšã§ããŸãããŸããç¡æã®GPU ããŒãããã¯ã«ãã¢ã¯ã»ã¹ã§ããã PaperspaceãGoogle ColabãKaggle ãããç¡æã§ã¢ã¯ã»ã¹ã§ããŸããå ·äœçãªã»ããã¢ããæ¹æ³ã«ã€ããŠã¯ãããã¥ã¡ã³ãã®ããµããŒããããŠããç°å¢ãã»ã¯ã·ã§ã³ãã芧ãã ããã