|
|
@ -44,6 +44,7 @@ LOGGING_NAME = "ultralytics" |
|
|
|
MACOS, LINUX, WINDOWS = (platform.system() == x for x in ["Darwin", "Linux", "Windows"]) # environment booleans |
|
|
|
MACOS, LINUX, WINDOWS = (platform.system() == x for x in ["Darwin", "Linux", "Windows"]) # environment booleans |
|
|
|
ARM64 = platform.machine() in {"arm64", "aarch64"} # ARM64 booleans |
|
|
|
ARM64 = platform.machine() in {"arm64", "aarch64"} # ARM64 booleans |
|
|
|
PYTHON_VERSION = platform.python_version() |
|
|
|
PYTHON_VERSION = platform.python_version() |
|
|
|
|
|
|
|
TORCH_VERSION = torch.__version__ |
|
|
|
TORCHVISION_VERSION = importlib.metadata.version("torchvision") # faster than importing torchvision |
|
|
|
TORCHVISION_VERSION = importlib.metadata.version("torchvision") # faster than importing torchvision |
|
|
|
HELP_MSG = """ |
|
|
|
HELP_MSG = """ |
|
|
|
Usage examples for running YOLOv8: |
|
|
|
Usage examples for running YOLOv8: |
|
|
|