theAIGuysCode / yolov4-deepsort

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

Save the yolov4x-mish file model #109

Open jperezmedina opened 3 years ago

jperezmedina commented 3 years ago

Hi,

I try to use the yolov4x-mish.

Yolov4x-mish cfg: https://raw.githubusercontent.com/AlexeyAB/darknet/master/cfg/yolov4x-mish.cfg weights: https://github.com/AlexeyAB/darknet/releases/download/darknet_yolo_v4_pre/yolov4x-mish.weights

I use the following command to save the model:

python3.7 save_model.py --weights ./data/yolov4x-mish.weights --output ./checkpoints/yolov4x-mish-640 --input_size 640 --model yolov4

The model is generated correctly, so, I do not get any error.

When I run the object_tracker.py I don't get any detection. Only detections work if when generating the model I use the weights from the yolov4.weights file.

Please, could you indicate were is the error/problem?