Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert.py does not produce yolov3.tf #369

Open
kalikhademi opened this issue Jun 22, 2021 · 3 comments
Open

Convert.py does not produce yolov3.tf #369

kalikhademi opened this issue Jun 22, 2021 · 3 comments

Comments

@kalikhademi
Copy link

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
Copy link

fpvc040 commented Jun 24, 2021

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
Copy link
Author

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

@rajan780
Copy link
Contributor

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()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants