Remove extra `get_cpu_info` return (#16382)

action-recog
Laughing 2 months ago committed by fcakyon
parent d7d5771d6a
commit 4eb4e979ae
  1. 2
      ultralytics/utils/torch_utils.py

@ -122,8 +122,6 @@ def get_cpu_info():
PERSISTENT_CACHE["cpu_info"] = string.replace("(R)", "").replace("CPU ", "").replace("@ ", "")
return PERSISTENT_CACHE.get("cpu_info", "unknown")
return "unknown"
def select_device(device="", batch=0, newline=False, verbose=True):
"""

Loading…
Cancel
Save