mediapipe_model_maker.image_classifier.ModelSpec
Stay organized with collections
Save and categorize content based on your preferences.
Specification of image classifier model.
mediapipe_model_maker.image_classifier.ModelSpec(
uri: str,
input_image_shape: Optional[List[int]] = None,
name: str = '',
mean_rgb: Optional[Sequence[float]] = None,
stddev_rgb: Optional[Sequence[float]] = None
)
Args |
uri
|
str, URI to the pretrained model.
|
input_image_shape
|
list of int, input image shape. Default: [224, 224].
|
name
|
str, model spec name.
|
mean_rgb
|
Normalizing mean RGB.
|
stddev_rgb
|
Normalizing std RGB.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-05-28 UTC.
[null,null,["Last updated 2026-05-28 UTC."],[],[]]