Fix IS_PYTHON_3_12 bug (#9258)
Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
parent
35233822d8
commit
ebbbdd7e25
3 changed files with 3 additions and 2 deletions
|
|
@ -726,4 +726,4 @@ def cuda_is_available() -> bool:
|
|||
|
||||
|
||||
# Define constants
|
||||
IS_PYTHON_3_12 = check_version(PYTHON_VERSION, "==3.12", name="Python ", hard=False)
|
||||
IS_PYTHON_3_12 = PYTHON_VERSION.startswith("3.12")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue