Ultralytics Python ããã±ãŒãžã®ããŒã¿åé
æŠèŠ
Ultralyticsã¯ããŠãŒã¶ãŒãšã¯ã¹ããªãšã³ã¹ãšãåœç€Ÿãéçºããé«åºŠãªYOLO ã¢ãã«ãå«ãPython ããã±ãŒãžã®æ©èœã®ç¶ç¶çãªåŒ·åã«å°å¿ããŠããŸããåœç€Ÿã®ã¢ãããŒãã«ã¯ãå¿ååããã䜿çšçµ±èšããã³ã¯ã©ãã·ã¥ã¬ããŒãã®åéãå«ãŸããæ¹åã®æ©äŒãç¹å®ããåœç€Ÿã®ãœãããŠã§ã¢ã®ä¿¡é Œæ§ã確ä¿ããã®ã«åœ¹ç«ã¡ãŸãããã®éææ§ã«é¢ããææžã§ã¯ãåœç€ŸãåéããããŒã¿ããã®ç®çãããã³ãã®ããŒã¿åéã«é¢ããã客æ§ã®éžæè¢ã«ã€ããŠæŠèª¬ããŸãã
å¿ååGoogle åæ
Google ã¢ããªãã£ã¯ã¹ãšã¯ãGoogle ãæäŸãããŠã§ã解æãµãŒãã¹ã§ããŠã§ããµã€ãã®ãã©ãã£ãã¯ã远跡ã»å ±åããŸããããã«ãããPython ããã±ãŒãžãã©ã®ããã«äœ¿çšãããŠãããã«ã€ããŠã®ããŒã¿ãåéããããšãã§ããŸããããã¯ããã¶ã€ã³ãæ©èœæ§ã«ã€ããŠååãªæ å ±ãåŸãäžã§æ±ºå®ãäžãããã«éåžžã«éèŠã§ãã
åéãããã®
- 䜿çšç¶æ³ã¡ããªã¯ã¹ïŒãããã®ã¡ããªã¯ã¹ã¯ãããã±ãŒãžãã©ã®ãããªé »åºŠã§ãã©ã®ãããªæ¹æ³ã§å©çšãããŠããããã©ã®ãããªæ©èœã奜ãŸããŠããããã©ã®ãããªã³ãã³ãã©ã€ã³åŒæ°ã䜿çšãããŠããããç解ããã®ã«åœ¹ç«ã¡ãŸãã
- ã·ã¹ãã æ å ±ïŒç§ãã¡ã¯ãç§ãã¡ã®ããã±ãŒãžãæ§ã ãªã·ã¹ãã éã§è¯å¥œã«åäœããããšãä¿èšŒããããã«ãã客æ§ã®ã³ã³ãã¥ãŒãã£ã³ã°ç°å¢ã«é¢ããå人ãç¹å®ã§ããªãäžè¬çãªæ å ±ãåéããŸãã
- ããã©ãŒãã³ã¹ããŒã¿ïŒãã¬ãŒãã³ã°ãæ€èšŒãæšè«ã«ãããã¢ãã«ã®ããã©ãŒãã³ã¹ãç解ããããšã¯ãæé©åã®æ©äŒãç¹å®ããã®ã«åœ¹ç«ã¡ãŸãã
Google AnalyticsãšããŒã¿ãã©ã€ãã·ãŒã«é¢ãã詳现ã¯ãGoogle Analytics Privacyãã芧ãã ããã
ããŒã¿ã®äœ¿çšæ¹æ³
- æ©èœã®æ¹åïŒå©çšææšããåŸãããç¥èŠã¯ããŠãŒã¶ãŒæºè¶³åºŠã®åäžãšã€ã³ã¿ãŒãã§ãŒã¹èšèšã®æéã«ãªããŸãã
- æé©åïŒããã©ãŒãã³ã¹ããŒã¿ã¯ãå€æ§ãªããŒããŠã§ã¢ããã³ãœãããŠã§ã¢æ§æã«ãããŠãããè¯ãå¹çæ§ãšã¹ããŒããå®çŸããããã«ã¢ãã«ã埮調æŽããã®ã«åœ¹ç«ã¡ãŸãã
- ãã¬ã³ãåæïŒå©çšåŸåã調æ»ããããšã§ãé²åããå°å瀟äŒã®ããŒãºãäºæž¬ãã察å¿ããããšãã§ããŸãã
ãã©ã€ãã·ãŒãžã®é æ ®
åœç€Ÿã§ã¯ãã客æ§ãããé ããããããŒã¿ã®ãã©ã€ãã·ãŒãšã»ãã¥ãªãã£ã確ä¿ããããã«ãããã€ãã®å¯Ÿçãè¬ããŠããŸãïŒ
- å¿ååïŒåœç€Ÿã¯ãåéããããŒã¿ãå¿ååããããGoogle Analytics ãèšå®ããŠããŸããããã¯ãå人ãç¹å®ã§ããæ å ±ïŒPIIïŒãåéãããªãããšãæå³ããŸãããã®ãããå人ãç¹å®ã§ããæ å ±ïŒPIIïŒã¯åéãããŸãããã客æ§ã¯ãå人æ å ±ãéå ¬éã§ããããšãä¿èšŒãããäžã§ãåœç€Ÿã®ãµãŒãã¹ãå©çšããããšãã§ããŸãã
- éèšïŒããŒã¿ã¯éèšåœ¢åŒã§ã®ã¿åæããããããã«ãããåã ã®ãŠãŒã¶ãŒã®æŽ»åãæããã«ããããšãªãããã¿ãŒã³ã芳å¯ããããšãã§ããŸãã
- ç»åããŒã¿ã®åéãªãïŒUltralytics ã¯ããã¬ãŒãã³ã°ç»åãæšè«ç»åãåéãåŠçãé²èŠ§ããŸããã
ã»ã³ããªãŒã»ã¯ã©ãã·ã¥ã»ã¬ããŒãã£ã³ã°
Sentryã¯ãéçºè äžå¿ã®ãšã©ãŒè¿œè·¡ãœãããŠã§ã¢ã§ããªã¢ã«ã¿ã€ã ã§åé¡ãç¹å®ã蚺æã解決ããã¢ããªã±ãŒã·ã§ã³ã®å ç¢æ§ãšä¿¡é Œæ§ãä¿èšŒããŸããç§ãã¡ã®ããã±ãŒãžã§ã¯ãã¯ã©ãã·ã¥ã¬ããŒããéããŠæŽå¯ãæäŸãããœãããŠã§ã¢ã®å®å®æ§ãšç¶ç¶çãªæ¹è¯ã«å€§ããè²¢ç®ããããšã§ãéèŠãªåœ¹å²ãæãããŠããŸãã
泚
ã»ã³ããªãŒçµç±ã®ã¯ã©ãã·ã¥å ±åã¯ã以äžã®å Žåã«ã®ã¿æå¹ã«ãªããŸãã sentry-sdk
Python ããã±ãŒãžãããªã€ã³ã¹ããŒã«ãããŠããŸãããã®ããã±ãŒãžã¯ ultralytics
åææ¡ä»¶ããããUltralytics ã«ãã£ãŠèªåçã«ã€ã³ã¹ããŒã«ãããããšã¯ãªãã
åéãããã®
ãã sentry-sdk
Python ããã±ãŒãžãã·ã¹ãã ã«ããªã€ã³ã¹ããŒã«ãããŠããå Žåãã¯ã©ãã·ã¥ã»ã€ãã³ãã«ãã£ãŠä»¥äžã®æ
å ±ãéä¿¡ãããããšãããïŒ
- ã¯ã©ãã·ã¥ãã°ïŒã¯ã©ãã·ã¥æã®ã¢ããªã±ãŒã·ã§ã³ã®ç¶æ ã«é¢ãã詳现ãªã¬ããŒãã§ããããã°äœæ¥ã«ã¯æ¬ ãããŸããã
- ãšã©ãŒã¡ãã»ãŒãžç§ãã¡ã¯ãæœåšçãªåé¡ãç解ããè¿ éã«è§£æ±ºããããã«ãããã±ãŒãžã®æäœäžã«çºçãããšã©ãŒã¡ãã»ãŒãžãèšé²ããŠããŸãã
ã»ã³ããªãŒã®ããŒã¿ã®æ±ãæ¹ã«ã€ããŠã®è©³çŽ°ã¯ãã»ã³ããªãŒã®ãã©ã€ãã·ãŒããªã·ãŒãã芧ãã ããã
ããŒã¿ã®äœ¿çšæ¹æ³
- ãããã°ïŒã¯ã©ãã·ã¥ãã°ããšã©ãŒã¡ãã»ãŒãžãåæããããšã§ããœãããŠã§ã¢ã®ãã°ãè¿ éã«ç¹å®ããä¿®æ£ããããšãã§ããŸãã
- å®å®æ§ã®ææšïŒã¯ã©ãã·ã¥ãåžžã«ç£èŠããããšã§ãããã±ãŒãžã®å®å®æ§ãšä¿¡é Œæ§ã®åäžãç®æããŠããŸãã
ãã©ã€ãã·ãŒãžã®é æ ®
- æ©å¯æ å ±ïŒåœç€Ÿã§ã¯ãã¯ã©ãã·ã¥ãã°ããå人ãç¹å®ã§ããããŒã¿ãæ©å¯æ§ã®é«ããŠãŒã¶ãŒããŒã¿ãåé€ããã客æ§ã®æ å ±ã®æ©å¯æ§ãä¿è·ããŠããŸãã
- å¶åŸ¡ãããåéïŒç§ãã¡ã®ã¯ã©ãã·ã¥å ±åã¡ã«ããºã ã¯ããŠãŒã¶ãŒã®ãã©ã€ãã·ãŒãå°éããªããããã©ãã«ã·ã¥ãŒãã£ã³ã°ã«å¿ èŠãªãã®ã ããåéããããã«çŽ°å¿ã®æ³šæãæã£ãŠèª¿æŽãããŠããŸãã
ããŒã¿åéã«äœ¿çšãããããŒã«ã詳现ã«èª¬æããããããã®ãã©ã€ãã·ãŒã»ããŒãžãžã®URLãšãšãã«è¿œå çãªèæ¯æ å ±ãæäŸããããšã§ãå©çšè ã¯ãéææ§ãšå©çšè ã®ãã©ã€ãã·ãŒã®å°éã匷調ããªãããåœç€Ÿã®æ £è¡ã«ã€ããŠå æ¬çãªèŠè§£ãåŸãããšãã§ããŸãã
ããŒã¿åéãç¡å¹ã«ãã
ç§ãã¡ã¯ããŠãŒã¶ãèªåã®ããŒã¿ãå®å šã«ã³ã³ãããŒã«ã§ããããã«ããããšãä¿¡æ¡ãšããŠããŸããããã©ã«ãã§ã¯ãç§ãã¡ã®ããã±ãŒãžã¯ããã¹ãŠã®ãŠãŒã¶ã®ãšã¯ã¹ããªãšã³ã¹ãåäžãããããã«ãã¢ããªãã£ã¯ã¹ãšã¯ã©ãã·ã¥ã¬ããŒããåéããããã«èšå®ãããŠããŸããããããäžéšã®ãŠãŒã¶ãŒããã®ããŒã¿åéã®ãªããã¢ãŠããåžæããããšãå°éããŸãã
ã¢ããªãã£ã¯ã¹ãšã¯ã©ãã·ã¥ã¬ããŒãã®éä¿¡ãåæ¢ããã«ã¯ã次ã®ããã«èšå®ããŸãã sync=False
ãYOLO ã®èšå®ã«è¿œå ããŠãã ãããããã«ãããã客æ§ã®ãã·ã³ããåœç€Ÿã®åæããŒã«ã«ããŒã¿ãéä¿¡ãããããšã¯ãããŸããã
èšå®ã®æ€æ»
çŸåšã®èšå®ãææ¡ããããã«ãèšå®ãçŽæ¥èŠãããšãã§ããŸãïŒ
èšå®ãèŠã
Python ã䜿ã£ãŠèšå®ãèŠãããšãã§ããŸãããŸã settings
ãªããžã§ã¯ããã ultralytics
ã¢ãžã¥ãŒã«ã䜿çšããŸãã以äžã®ã³ãã³ãã䜿çšããŠèšå®ãå°å·ããæ»ãïŒ
èšå®ã®å€æŽ
Ultralytics ã䜿çšãããšããŠãŒã¶ãŒã¯ç°¡åã«èšå®ãå€æŽã§ããŸããå€æŽã¯ä»¥äžã®æ¹æ³ã§è¡ãããšãã§ããïŒ
èšå®ã®æŽæ°
Python ã update
ã¡ãœããã settings
ãªããžã§ã¯ãã®èšå®ãå€æŽããŸãïŒ
ã«ã€ã㊠sync=False
ã®èšå®ã¯ãããŒã¿ãGoogle Analytics ãŸã㯠Sentry ã«éä¿¡ãããã®ãé²ããŸããããªãã®èšå®ã¯ãUltralytics ããã±ãŒãžã䜿çšãããã¹ãŠã®ã»ãã·ã§ã³ã§å°éãããå°æ¥ã®ã»ãã·ã§ã³ã®ããã«ãã£ã¹ã¯ã«ä¿åãããŸãã
ãã©ã€ãã·ãŒãžã®åãçµã¿
Ultralytics ã¯ããŠãŒã¶ãŒã®ãã©ã€ãã·ãŒãçå£ã«èããŠããŸããåœç€Ÿã¯ã以äžã®ååã«åºã¥ããããŒã¿åéã®æ £è¡ãèšèšããŠããŸãïŒ
- éææ§ïŒç§ãã¡ã¯ãåéããããŒã¿ãšãã®äœ¿çšæ¹æ³ã«ã€ããŠãªãŒãã³ã«ããŠããŸãã
- ã³ã³ãããŒã«ïŒç§ãã¡ã¯ããŠãŒã¶ãŒãèªåã®ããŒã¿ãå®å šã«ã³ã³ãããŒã«ã§ããããã«ããŠããŸãã
- ã»ãã¥ãªãã£åœç€Ÿã¯ãåéããããŒã¿ãä¿è·ããããã«ãæ¥çæšæºã®ã»ãã¥ãªãã£å¯Ÿçãæ¡çšããŠããŸãã
ã質åãŸãã¯æžå¿µäºé
åœç€Ÿã®ããŒã¿åéæ £è¡ã«é¢ããŠã質åããäžæãªç¹ãããããŸãããããåãåãããã©ãŒã ãŸãã¯support@ultralytics.com ãŸã§ãé£çµ¡ãã ãããåŒç€Ÿã¯ãåŒç€Ÿã®ããã±ãŒãžã䜿çšããéã«ããŠãŒã¶ãŒã®çæ§ã«ååãªæ å ±ãæäŸãããã©ã€ãã·ãŒã®ä¿è·ã«èªä¿¡ãæã£ãŠããã ããããåªããŠããŸãã
ããããã質å
Ultralytics ã¯ãåéããããŒã¿ã®ãã©ã€ãã·ãŒãã©ã®ããã«ä¿è·ããŠããŸããïŒ
Ultralytics ã¯ãããã€ãã®éèŠãªå¯ŸçãéããŠããŠãŒã¶ãŒã®ãã©ã€ãã·ãŒãåªå ããŸãã第äžã«ãGoogle AnalyticsãšSentryãä»ããŠåéããããã¹ãŠã®ããŒã¿ã¯ãå人ãç¹å®ã§ããæ å ±ïŒPIIïŒãåéãããªãããã«å¿ååãããŸãã次ã«ãããŒã¿ã¯éèšåœ¢åŒã§åæããããããåã ã®ãŠãŒã¶ãŒã®æŽ»åãç¹å®ããããšãªããã¿ãŒã³ã芳å¯ããããšãã§ããŸããæåŸã«ããã¬ãŒãã³ã°ç»åãæšè«ç»åã¯åéãããããŠãŒã¶ãŒããŒã¿ã¯ããã«ä¿è·ãããŸãããããã®æªçœ®ã¯ãéææ§ãšãã©ã€ãã·ãŒã«å¯Ÿããç§ãã¡ã®ã³ãããã¡ã³ãã«æ²¿ã£ããã®ã§ãã詳ããã¯ãããã©ã€ãã·ãŒãžã®é æ ®ããã芧ãã ããã
Google ã¢ããªãã£ã¯ã¹ã§Ultralytics ãåéããããŒã¿ã®çš®é¡ã¯ïŒ
Ultralytics ã¯ãGoogle Analyticsã䜿çšããŠãäž»ã«3çš®é¡ã®ããŒã¿ãåéããïŒ
- 䜿çšææšïŒããã«ã¯ãYOLO Python ããã±ãŒãžã®äœ¿çšé »åºŠã䜿çšæ¹æ³ã奜ã¿ã®æ©èœãå žåçãªã³ãã³ãã©ã€ã³åŒæ°ãªã©ãå«ãŸããŸãã
- ã·ã¹ãã æ å ±ïŒããã±ãŒãžãå®è¡ãããã³ã³ãã¥ãŒãã£ã³ã°ç°å¢ã«é¢ãããå人ãç¹å®ã§ããªãäžè¬çãªæ å ±ã
- ããã©ãŒãã³ã¹ããŒã¿ïŒãã¬ãŒãã³ã°ãæ€èšŒãæšè«äžã®ã¢ãã«ã®ããã©ãŒãã³ã¹ã«é¢ããææšã ãã®ããŒã¿ã¯ããŠãŒã¶ãŒãšã¯ã¹ããªãšã³ã¹ã®åäžãšãœãããŠã§ã¢ããã©ãŒãã³ã¹ã®æé©åã«åœ¹ç«ã¡ãŸãã詳ããã¯ãå¿ååãããGoogle Analyticsã»ã¯ã·ã§ã³ãã芧ãã ããã
Ultralytics YOLO ããã±ãŒãžã®ããŒã¿åéãç¡å¹ã«ããã«ã¯ïŒ
ããŒã¿åéãæåŠããã«ã¯ã次ã®ããã«èšå®ããŸãã sync=False
ãYOLO ããã®ã¢ã¯ã·ã§ã³ã¯ãåæãŸãã¯ã¯ã©ãã·ã¥ã¬ããŒãã®éä¿¡ãåæ¢ããŸããããŒã¿åéãç¡å¹ã«ããã«ã¯ãPython ãŸãã¯CLI ã¡ãœããã䜿çšããŸãïŒ
èšå®ã®æŽæ°
èšå®ã®å€æŽã®è©³çŽ°ã«ã€ããŠã¯ããèšå®ã®å€æŽãã®ã»ã¯ã·ã§ã³ãåç §ããŠãã ããã
Ultralytics YOLO ãSentryã«ããã¯ã©ãã·ã¥å ±åã¯ã©ã®ããã«æ©èœããã®ãïŒ
ãã sentry-sdk
ããã±ãŒãžãããªã€ã³ã¹ããŒã«ãããŠããå ŽåãSentry ã¯ã¯ã©ãã·ã¥ã€ãã³ããçºçãããã³ã«è©³çŽ°ãªã¯ã©ãã·ã¥ãã°ãšãšã©ãŒã¡ãã»ãŒãžãåéããŸãããã®ããŒã¿ã¯åé¡ãè¿
éã«èšºæã解決ããYOLO Python ããã±ãŒãžã®å
ç¢æ§ãšä¿¡é Œæ§ãåäžãããã®ã«åœ¹ç«ã¡ãŸããåéãããã¯ã©ãã·ã¥ãã°ã¯ããŠãŒã¶ãŒã®ãã©ã€ãã·ãŒãä¿è·ãããããå人ãç¹å®ã§ããæ
å ±ã¯ãã¹ãŠåé€ãããŸãã詳现ã«ã€ããŠã¯ ã»ã³ããªãŒã»ã¯ã©ãã·ã¥ã»ã¬ããŒãã£ã³ã° ã»ã¯ã·ã§ã³ãåç
§ããããã
Ultralytics YOLO ã§ãçŸåšã®ããŒã¿åéèšå®ã調ã¹ãããšã¯ã§ããŸããïŒ
ã¯ããçŸåšã®èšå®ãç°¡åã«è¡šç€ºããŠãããŒã¿åéèšå®ã®æ§æãç解ããããšãã§ããŸãããããã®èšå®ã確èªããã«ã¯ã以äžã®æ¹æ³ã䜿çšããŸãïŒ
èšå®ãèŠã
詳现ã«ã€ããŠã¯ããèšå®ã®æ€æ»ãã®ã»ã¯ã·ã§ã³ãåç §ããŠãã ããã