Instructions to use zeromodels/mobilenetv3_small_050_lamb_in1k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ZeroModels
How to use zeromodels/mobilenetv3_small_050_lamb_in1k with ZeroModels:
# pip install -U zeromodels # ZeroModels is pure Keras 3, so pick a backend: "jax", "torch" or "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" from zeromodels import AutoZModel # AutoZModel reads the repo's model_type and loads the matching class. # For a task head use the matching loader, e.g. AutoZMImageClassify / AutoZMDetect / # AutoZMSemanticSegment / AutoZMTextGenerate (see zeromodels.auto). model = AutoZModel.from_weights("zeromodels/mobilenetv3_small_050_lamb_in1k") - Keras
How to use zeromodels/mobilenetv3_small_050_lamb_in1k with Keras:
# Available backend options are: "jax", "torch", "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" import keras model = keras.saving.load_model("hf://zeromodels/mobilenetv3_small_050_lamb_in1k") - Notebooks
- Google Colab
- Kaggle
Migrate to zeromodels (rename kf_*.json -> zm_*.json, fix refs in config + README, ensure tag + badge)
77d1d99 verified | { | |
| "library_name": "zeromodels", | |
| "zeromodels_version": "1.2.1", | |
| "model_module": "zeromodels.models.mobilenetv3", | |
| "model_class": "MobileNetV3ImageClassify", | |
| "variant": "mobilenetv3_small_050_lamb_in1k", | |
| "weights": "model.weights.h5", | |
| "schema_version": 2, | |
| "weight_dtype": "float32", | |
| "model_type": "mobilenetv3", | |
| "vision_config": { | |
| "width_multiplier": 0.5, | |
| "depth_multiplier": 1.0, | |
| "config": "small", | |
| "minimal": false, | |
| "block_count_multiplier": 1.0, | |
| "head_count_multiplier": 1, | |
| "first_block_noskip": false, | |
| "se_round_divisor": 8, | |
| "se_use_block_act": false, | |
| "bn_epsilon": 1e-05, | |
| "head_use_bias": true, | |
| "image_size": 224, | |
| "num_classes": 1000 | |
| } | |
| } |