GeekAlexis / FastMOT

High-performance multiple object tracking based on YOLO, Deep SORT, and KLT 🚀
MIT License
1.12k stars 256 forks source link

Cupy repeated dependency error when running the container #260

Open wajeeha77 opened 1 year ago

wajeeha77 commented 1 year ago

Your issue may already be reported! Please search the issues before creating one.

Current Behavior

How to Reproduce

Describe what you want to do

  1. What input videos you will provide, if any:
  2. What outputs you are expecting:
  3. Ask your questions here, if any:

Your Environment

Common issues

  1. GStreamer warnings are normal
  2. If you have issues with GStreamer on Desktop, disable GStreamer and build FFMPEG instead in Dockerfile
  3. TensorRT plugin and engine files have to be built on the target platform and cannot be copied from a different architecture
  4. Reinstalled OpenCV is usually not as optimized as the one shipped in Jetpack
wajeeha77 commented 1 year ago

Hi, I have installed Nvidia-docker and Nvidia-drivers for my ubuntu 20.04 correctly, then built the image successfully, but upon running the command "python3 app.py --input-uri ... --mot" inside the container it throws the below-mentioned error, I also have uninstalled Cupy and reinstalled it a couple of times but still same error. (p.s I am running on CPU only no GPU at the moment Nvidia-drivers version is 470

Traceback (most recent call last): File "app.py", line 10, in import fastmot File "/usr/src/app/FastMOT/fastmot/init.py", line 2, in from .mot import MOT File "/usr/src/app/FastMOT/fastmot/mot.py", line 8, in from .detector import SSDDetector, YOLODetector, PublicDetector File "/usr/src/app/FastMOT/fastmot/detector.py", line 7, in import cupy as cp File "/usr/local/lib/python3.6/dist-packages/cupy/init.py", line 37, in raise ImportError(_msg) from e ImportError: CuPy is not correctly installed.Please read & provide the following

wajeeha77 commented 1 year ago

@GeekAlexis please help!

GeekAlexis commented 1 year ago

48