A specification of image model.
tflite_model_maker.image_classifier.ModelSpec(
uri, compat_tf_versions=None, input_image_shape=None, name=''
)
Used in the notebooks
Args |
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
get_default_quantization_config(
representative_data
)
Gets the default quantization configuration.
Class Variables |
mean_rgb
|
[0.0]
|
stddev_rgb
|
[255.0]
|