zh/guides/nvidia-jetson/ #18836
Replies: 2 comments 3 replies
-
jetson orin nano目前的部署是存在问题的。 from ultralytics import YOLO
# Load a YOLO11n PyTorch model
model = YOLO("./model/weights/best.pt")
# Export the model to TensorRT
model.export(format="engine") # creates 'best.engine' 会出现如下错误 requirements: Ultralytics requirement ['tensorrt>7.0.0,!=10.1.0'] not found, attempting AutoUpdate...
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-zgxloadv/tensorrt-cu12_1ec32cbb8cb447798ddc82b6bffd2bb5/setup.py", line 71, in <module>
raise RuntimeError("TensorRT does not currently build wheels for Tegra systems")
RuntimeError: TensorRT does not currently build wheels for Tegra systems
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Retry 1/2 failed: Command 'pip install --no-cache-dir "tensorrt>7.0.0,!=10.1.0" ' returned non-zero exit status 1.
error: subprocess-exited-with-error 是的。这看起来是tensorRT版本不兼容的问题,但我查过JetPack6.1的版本,也是使用的TensorRT 10.3。问题应该出现在哪呢? |
Beta Was this translation helpful? Give feedback.
-
👋 Hello, thank you for sharing and for your interest in Ultralytics 🚀! We noticed you're referencing NVIDIA Jetson-specific deployment 🌍. For the best insights, feel free to check out our detailed NVIDIA Jetson Guide where you’ll find the latest documentation on deploying Ultralytics YOLO models on NVIDIA Jetson devices, enabling you to maximize AI performance effectively. If you're encountering any issues or have additional questions, here are some tips to help us assist you better:
Make sure your environment matches our recommended specifications for YOLO performance: UpgradeKeep Ultralytics YOLO up-to-date! Upgrade to the latest version: pip install -U ultralytics EnvironmentsVerified environments with all dependencies pre-installed include:
For broader reach and troubleshooting resources, we encourage connecting with the Ultralytics community:
Finally, an Ultralytics engineer will review your post and assist you further soon. Stay tuned! 😊 |
Beta Was this translation helpful? Give feedback.
-
zh/guides/nvidia-jetson/
通过我们的详细指南,了解如何在NVIDIA Jetson 设备上部署Ultralytics YOLO11 。探索性能基准,最大限度地发挥人工智能功能。
https://docs.ultralytics.com/zh/guides/nvidia-jetson/
Beta Was this translation helpful? Give feedback.
All reactions