google-coral / edgetpu

Coral issue tracker (and legacy Edge TPU API source)
https://coral.ai
Apache License 2.0
426 stars 125 forks source link

Running grad-cam with PyCoral API #440

Closed publioelon closed 3 years ago

publioelon commented 3 years ago

Hi, I'd like to know if it's possible to run grad-cam using the PyCoral API, so far I was not able to find examples

hjonnala commented 3 years ago

Hi, if you have the model ready, you can try converting the model using post integer quantization to tflite and compile with edgetpu compiler.

Please check this tutorial section tflite conversion: https://colab.research.google.com/github/google-coral/tutorials/blob/master/retrain_classification_ptq_tf2.ipynb#scrollTo=w9ydAmHGHUZl

hjonnala commented 3 years ago

Feel free to reopen if you have any questions.