Converts a SavedModel into Tensorflow Lite format. For details, see Tensorflow Lite Converter
To run from command line, use the following command:
python -m mlcore.tensorflow.tflite_converter [parameters]
The following parameters are supported:
--source
: The path to the folder containing the SavedModel. (e.g.: datasets/image_object_detection/car_damage/saved_model)--categories
: The categories file to add to the Tensorflow Lite model. (e.g.: datasets/image_object_detection/car_damage/categories.txt)--name
: The name of the model. (e.g.: "SSD MobileNetV2")--version
: The version of the model, default to 1 (=v1)--type
: The type of the model, if not explicitly set try to infer from categories file path.--output
: The folder to store the Tensorflow Lite model. (e.g.: datasets/image_object_detection/car_damage/tflite)