zzh8829 / yolov3-tf2

YoloV3 Implemented in Tensorflow 2.0
MIT License
2.51k stars 913 forks source link

Convert.py does not produce yolov3.tf #369

Open kalikhademi opened 3 years ago

kalikhademi commented 3 years ago

Hi

I am running convert.py on darknet original weights. It does not produce any error but it does not produce yolov3.tf although I put it as the output file. It produces the following files.

Screen Shot 2021-06-22 at 9 08 51 AM

I appreciate if anyone can help me about this.

fpvc040 commented 3 years ago

It doesn't matter if the extensions are not the same. Run the inference still with 'yolov3.tf', and it correctly reads the data automatically.

kalikhademi commented 3 years ago

Thanks! I used the .tf in the detect.py and it worked but in the training .tf was not working.

rajan780 commented 2 years ago

Hi @kalikhademi In train.py if you are loading weights from .tf file please replace the model.load_weights(FLAGS.weights) with model.load_weights(FLAGS.weights).expect_partial()