Fix proc_device_model name for NVIDIA Jetson (#9876)
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
parent
f2ddc96334
commit
c8388d952f
1 changed files with 1 additions and 1 deletions
|
|
@ -498,7 +498,7 @@ def is_jetson() -> bool:
|
||||||
Returns:
|
Returns:
|
||||||
(bool): True if running on a Jetson Nano or Jetson Orin, False otherwise.
|
(bool): True if running on a Jetson Nano or Jetson Orin, False otherwise.
|
||||||
"""
|
"""
|
||||||
return "Jetson" in PROC_DEVICE_MODEL # i.e. "Jetson Nano" or "Jetson Orin"
|
return "NVIDIA" in PROC_DEVICE_MODEL # i.e. "NVIDIA Jetson Nano" or "NVIDIA Orin NX"
|
||||||
|
|
||||||
|
|
||||||
def is_online() -> bool:
|
def is_online() -> bool:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue