tflite_model_maker.image_classifier.ModelSpec

A specification of image model.

Used in the notebooks

Used in the tutorials

uri str, URI to the pretrained model.
compat_tf_versions list of int, compatible TF versions.
input_image_shape list of int, input image shape. Default: [224, 224].
name str, model spec name.

Methods

get_default_quantization_config

View source

Gets the default quantization configuration.

mean_rgb [0.0]
stddev_rgb [255.0]