theAIGuysCode / yolov4-deepsort

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

zero objects being tracked after the first frame #128

Open Nizar-Almshantaf opened 2 years ago

Nizar-Almshantaf commented 2 years ago

I'm using my custom yolov3 trained to detect one class.

I converted the Yolo weights to TensorFlow.

then when i run this command python object_tracker.py --video ./data/video/XXX.mp4 --output ./outputs/demo2.avi --model yolov3 --weights ./checkpoints/yolov3 --info True --count True --info True

in the first frame, I get a perfect result.

Frame #: 1 Objects being tracked: 41

after that, it won't detect anything and the objects being tracked stays zero for the rest of the video.

what could cause this issue?

thanks in advance.

DevAgarwal-588 commented 2 years ago

look at #77 to solve the problem

sushant7878 commented 2 years ago

did you solve this problem, I am facing same problem now