Looking for int8 tflite model for mobilenet_v2 model

12 views
Skip to first unread message

Niranjan Yadla

unread,
Oct 6, 2021, 2:02:52 PMOct 6
to TensorFlow Lite
Hi ,

We could not find mobilenet_v2_int8 tflite model readily.
Could you please help how to get in8 tflite model for mobilenet v2


Thanks,
Niranjan

Advait Jain

unread,
Oct 7, 2021, 7:00:52 PMOct 7
to Niranjan Yadla, TensorFlow Lite
Hi Niranjan,

While a pre-trained open source int8 mobilenet_v2 is currently not downloadable, the team is working on making an int8 QAT model available. If you could check back again in a couple of months, that would be great.

In the meantime, here are a couple of options:
  • Attached is a Python script that can be used to generate an int8 model with post-training quantization. Please note that the script currently uses random data for the representative data set.
  • If you are ok with using a newer image classification model, then there is an int8 quantized EfficientNet-Lite at this location.

Regards,
Advait

--
You received this message because you are subscribed to the Google Groups "TensorFlow Lite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tflite+un...@tensorflow.org.
To view this discussion on the web visit https://groups.google.com/a/tensorflow.org/d/msgid/tflite/7e649193-1035-479c-992f-da03ae2071e3n%40tensorflow.org.
placeholder_int8_mobilenet_v2.py
Reply all
Reply to author
Forward
0 new messages