Save correctly the yolov4x-mish file model

  darknet, python, tensorflow, yolov4

I try to use the yolov4x-mish with the github repository https://github.com/theAIGuysCode/yolov4-deepsort.

I obtain yolov4x-mish cfg and weights from:

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 how save the yolov4x-mish model correctly by using their weigths file?

Source: Python Questions

LEAVE A COMMENT