AastaNV / TRT_object_detection

Python sample for referencing object detection model with TensorRT
142 stars 27 forks source link

How to make this repository work on Jetson Nano with r32.4.2? #25

Open sleebapaul opened 4 years ago

sleebapaul commented 4 years ago

My System

Trace of cat /etc/nv_tegra_release

# R32 (release), REVISION: 4.2, GCID: 20074772, BOARD: t210ref, EABI: aarch64, DATE: Thu Apr 9 01:22:12 UTC 2020

What I've done?

  1. I've downloaded the latest Jetpack SDk from here.

  2. The file name was nv-jetson-nano-sd-card-image-r32.4.2.zip. Flashed it using Baleno Etcher.

  3. Installed TensorFlow 1.13.1 using the command mentioned in this repository.

    pip3 install --extra-index-url https://developer.download.nvidia.com/compute/redist/jp/v42 tensorflow-gpu==1.13.1+nv19.5 --user
  4. Then comes the following error. TensorFlow 1.13.1 requires CUDA 10.0 and it can't find the same in the Jetson Nano.

ImportError: libcublas.so.10.0: cannot open shared object file: No such file or directory
  1. Because, by default, the CUDA version installed in Jetson Nano is 10.2.

  2. Another issue is TensorRT version. TensorFlow 1.13.1 is built for TensorRT 5.0. The default TensorRT version is 7.1.

Questions

  1. Can I downgrade the CUDA version to 10.0 ? How to do that?

  2. Can I downgrade the TensorRT version to 5? How to do that?

  3. How to make this repository work on r32.4.2?

Mustapha-AJEGHRIR commented 2 years ago

No news on this issue?