Upgrading CUDA version for DJI Manifold 2
Hello everyone. I am trying to run a github repo with torch on the manifold 2G.
The repo is from: https://github.com/mikel-brostrom/Yolov5_DeepSort_Pytorch
I have gotten this error
Loading weights from deep_sort_pytorch/deep_sort/deep/checkpoint/ckpt.t7... Done!
Traceback (most recent call last):
File "track.py", line 243, in <module>
detect(opt)
File "track.py", line 51, in detect
device = select_device(opt.device)
File "/media/dji/80GBstore/targetTrack/mikelbrostromNov2021/Yolov5_DeepSort_Pytorch/yolov5/utils/torch_utils.py", line 65, in select_device
assert torch.cuda.is_available(), f'CUDA unavailable, invalid device {device} requested' # check availability
AssertionError: CUDA unavailable, invalid device 0 requested
I understand that with Manifold 2G, there is jetpack 3.3 installed, which contains CUDA 9 !However i cannot install CUDA enabled pytorch version as well.Here are some of the attempts
pip install torch-1.1.0-cp37-cp37m-linux_x86_64.whl
ERROR: torch-1.1.0-cp37-cp37m-linux_x86_64.whl is not a supported wheel on this platform.
pip install torch-1.0.1.post2-cp37-cp37m-linux_x86_64.whl
ERROR: torch-1.0.1.post2-cp37-cp37m-linux_x86_64.whl is not a supported wheel on this platform.
pip install torch-1.7.0+cu92-cp38-cp38-linux_x86_64.whl
ERROR: torch-1.7.0+cu92-cp38-cp38-linux_x86_64.whl is not a supported wheel on this platform.
pip install torch-1.7.1+cu92-cp39-cp39-linux_x86_64.whl
ERROR: torch-1.7.1+cu92-cp39-cp39-linux_x86_64.whl is not a supported wheel on this platform.
pip install torch-1.7.1+cpu-cp39-cp39-linux_x86_64.whl
ERROR: torch-1.7.1+cpu-cp39-cp39-linux_x86_64.whl is not a supported wheel on this platform.
I am trying to install the torch version on python virtual environments (non-Conda), and here are the terminal outptus when i call python3.7 and python3.8
Python 3.8.9 (default, Apr 3 2021, 01:02:10)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
Python 3.7.10 (default, Feb 20 2021, 21:21:24)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
1) Where and how can i upgrade the CUDA version from CUDA 9 to CUDA 10 ?
2) Where and how can i upgrade the jetpack version from v3.3 to at least v4.4 which can support CUDA 10 ?
I cannot use NVIDIA provided JEtson image because the USB drives will not work.
-
This forum mainly provides technical support for the secondary development of DJI SDK. And your question relates to the adaptation of the firmware version of the Manifold 2 product, it is recommended that you directly contact: support@dji.com -
DJI Developer Support hi noted. I have contacted the email, but i was told that there will not be newer versions anymore. However i have seen some online posts where people mention there is an upgrade for Manifold 2G firmware to version jetpack4.4. Could you verify ?
Please sign in to leave a comment.
Comments
3 comments