Closed skodippily closed 1 year ago
Hi, can you provide your python script?
I modified this https://github.com/espressif/esp-dl/blob/master/tools/quantization_tool/examples/example.py file to test my code as in the zip file example_optimizer.zip
and https://github.com/espressif/esp-dl/blob/master/tools/quantization_tool/optimizer.py also modified make the onnx model simplified optimizer.zip
Let me know if you want the model file. The file is too big to upload here
you mentioned that you do the quantization successfully, did you mean running generate_quantization_table successfully or this resnet50_192.onnx model is already quantized?
Actually, I got one of the pre-trained models from PyTorch, and it was not quantized. then I convert to ONNX. Is there any way that I can double check the model is quantized or not.
generate_quantization_table Sorry actually, quantization failed but I was able to do the optimization part. "generate_quantization_table" failed because of the missing operators. I will update the issue as well
ok, then unfortunately this model cannot be deployed using esp-dl since these operations are not implemented, please check https://github.com/espressif/esp-dl/tree/master/include/layer for the supported operations.
oh.. thank you for your help. I was trying to create customer layers but didn't work well for me. Is there any model architecture that I need to follow if I want to detect objects for the library? like rrcnn or etc.
better use a model architecture that all layers in the model are supported.
okay I will close the issue then. thank you
Hello,
I'm very new to machine learning. I have a working object detection model for the onnx and I tried it on the PC. May I have some instructions on how to use this to detect objects from esp32-s3. I do the optimization successfully, but when I call the _checkmodel function it has a large list of operators which is not supported on esp-dl yet.
If someone can help me with this error much appreciate with it.
Thank you