田运杰 hace 11 meses
padre
commit
b5be528c46
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      ultralytics/utils/downloads.py

+ 1 - 1
ultralytics/utils/downloads.py

@@ -429,7 +429,7 @@ def attempt_download_asset(file, repo="ultralytics/assets", release="v8.3.0", **
     """
     from ultralytics.utils import SETTINGS  # scoped for circular import
 
-    if 'v12' in file:
+    if 'v12' in str(file):
         repo = "sunsmarterjie/yolov12"
         release = "v1.0"