-
Notifications
You must be signed in to change notification settings - Fork 125
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
[Future Request] EfficientDet D0 conversion support by EdgeTPU Compiler #279
Comments
I have narrowed down the patterns that fail to compile. It appears that the complexity of the model structure probably correlates with the high input resolution. 1. MIRNet (Model used for validation)https://github.com/sayakpaul/MIRNet-TFLite.git 2. TFLite file - Full Integer Quantizationhttps://drive.google.com/file/d/12Jo_9rmslWHJOzGtjUyDYQHz3qvztv6V/view?usp=sharing 3. Structure of the model4. Test pattern
5. ConsiderationThis is just my guess, but it may be that the hardware characteristics of EdgeTPU do not allow complex, high resolution models to be compiled. |
+1 With lower resolution input, all operations are mapped on TPU but as resolution increases, less number of ops are mapped on TPU. At some point, it doesn't even compile anymore. |
I'm going to close it since I can't seem to get any response. Too much time has passed and it no longer makes sense, so I'm moving on to EfficientDet-lite. |
1. Overview
I have succeeded in generating a .tflite of EfficientDet D0 for the Full Integer Quantization model. There seems to be no problem in the structure of the model, but when compiled with edgetpu_compiler, the process is aborted. If I can figure out what is causing the error, I will adjust the model.
2. Details
2-1. Environment
2-2. EfficientDet repository of citations
https://github.com/zylo117/Yet-Another-EfficientDet-Pytorch.git
https://github.com/murdockhou/Yet-Another-EfficientDet-Pytorch-Convert-ONNX-TVM.git
2-3. EfficientDet D0 Full Integer Quantization tflite
tflite: https://drive.google.com/file/d/1blXmW5FMuKJCbv7h6g5uzS-628FAfZ40/view?usp=sharing
Model structure diagram of EfficientDet D0 Full Integer Quantization tflite
3. Appendix
https://github.com/PINTO0309/PINTO_model_zoo/tree/master/018_EfficientDet/09_pytorch_efficientdet_d0
The text was updated successfully, but these errors were encountered: