Exported tensorflow lite is as large as tensorflow model

DemetrioScarfone-7181 0 Reputation points
2023-05-16T07:51:54.74+00:00

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!

Best

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.
247 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.