-
Notifications
You must be signed in to change notification settings - Fork 0
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
accuracy has decreased after quatization #1
Comments
Hello, I will be glad if I can help you. just some questions:
Thank you. |
Let me know when you tried my project. Test and calibration datasets are compressed in .7z files. Extract them before using the model_builder script. And regarding to quantization tool of ESP-DL obviously something is wrong with it. Even when I achived 99% accuracy on my real benchmark on ESP32 it has the result of below for ESP32S3. However, the same model with such great accuracy (99%) still has a significant drop in accuracy on the ESP32S3 real benchmark and I am still working on it. I think it is a bug for ESP-DL quantization Tool which is not open source unfortunately. I need to take care of some other experiments and will create an issue for it on ESP-DL repository if I made sure. Regarding your model it seems you are using RGB image am I correct? I suggest deploying your model on ESP32 first and running a real benchmark like mine not simulation or if you can share the onnx model create a pull request and provide some datasets then I can test it. |
Thank you for your help. I'm trying to figure the problem. I will contact you if I have progress. |
Hi @Norooa, I found the problem with my project and finally managed to solve it. The ESP-DL quantization tool is ok I had some mistype conversations between INT8 and unsigned INT8 both in the training stage and running benchmark. |
hello, I met the same problem that the accuracy of the model has decreased after quantization. But I can't figure out this problem through the repository in your github. I really want to know how do you solved this problem? thank you.
The text was updated successfully, but these errors were encountered: