theAIGuysCode / yolov4-deepsort

Object tracking implemented with YOLOv4, DeepSort, and TensorFlow.
GNU General Public License v3.0
1.31k stars 752 forks source link

Long launch time #1

Open GOBish opened 4 years ago

GOBish commented 4 years ago

Thanks for this tutorial!

I am running on a Jetson Xavier NX.

For some reason launching the script takes a very long time until the image is visible (~3 minutes from issuing python3 save_model.py --weights ./data/yolov4-tiny.weights --output ./checkpoints/yolov4-tiny-416 --model yolov4 --tiny)

Any thoughts for the cause of this?

Edit to add: tensorflow version 2.2.0 python 3.6 openCV 4.4.0

GOBish commented 4 years ago

I tried the trt conversion process as well - the conversion from yolov4 took about two hours. Opening object_tracker.py (with --framework trt) took 2 hours as well, and when it finally ran it processed about 4 frames of the video with an fps of about 1 and then crashed.