Exported tensorflow lite is as large as tensorflow model

DemetrioScarfone-7181 0 Reputation points

Hi everyone,

I need a sub 10MB tensorflow lite model for offline image classification, the exported tflite is as large as the tensorflow (.pb) file, both 43MB.

The tflite float16 is 22MB, still twice as large as my requirement.

Something must be wrong as I'd have expected the tflite export to be smaller than the pb export.

Some details

  • General (compact) [S1] domain
  • Classification type: Multiclass (Single tag per image)
  • 56 classes, about 3000 photos used for training

thanks for helping!


Azure AI Custom Vision
Azure AI Custom Vision
An Azure artificial intelligence service and end-to-end platform for applying computer vision to specific domains.
235 questions
{count} votes