question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

why accuracy drops after converting with convert.py

See original GitHub issue

python3 convert.py yolo_tiny.cfg final.weights output.h5 I run this command and weights converted successfully but when I call predict it gives the wrong object with 99% accuracy while it was giving true obj with darknet weights file. with darknet weights: Screenshot 2019-10-07 at 3 29 07 PM

with conveted keras model: Screenshot 2019-10-07 at 3 17 37 PM

thanks in advance.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
dreambitcommented, Feb 20, 2020

@kidboy-man hi, i do not remember, but i think u can search for files that match the string max_boxes = 20

image

1reaction
dreambitcommented, Oct 14, 2019

fixed by increasing max_boxes = 20 to 100

Read more comments on GitHub >

github_iconTop Results From Across the Web

accuracy drop between tensorflow model and converted tflite
That accuracy drop cannot be caused by conversion itself. I would check firstly if trained model goes as input to convertor. Also such...
Read more >
After converting the model to .tflite and running it on Android ...
tflite and running it on Android, the accuracy drops. Hello everyone! This is my first neural network, so there are often problems.
Read more >
Converted ONNX model accuracy drops about 10-15% when ...
Converted ONNX model accuracy drops about 10-15% when exporting pytorch model.
Read more >
Accuracy drop when converting tlt model to engine model
I noticed a drop in accuracy when I run inferences using the .engine model, and I can't find the reason. Some people say...
Read more >
Custom Tensorflow model accuracy drops when converted to ...
Hi SaadSaeed,. Thanks for reaching out. From what we can see, you need to modify your model optimizer conversion command as follows :....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found