Instructions to use u2003158/saved_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use u2003158/saved_model with Keras:
# Available backend options are: "jax", "torch", "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" import keras model = keras.saving.load_model("hf://u2003158/saved_model") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -5,5 +5,5 @@
|
|
| 5 |
"model_type": "resnet",
|
| 6 |
"model_name": "resnet50",
|
| 7 |
"weights": "imagenet",
|
| 8 |
-
"num_classes":
|
| 9 |
}
|
|
|
|
| 5 |
"model_type": "resnet",
|
| 6 |
"model_name": "resnet50",
|
| 7 |
"weights": "imagenet",
|
| 8 |
+
"num_classes": 1000
|
| 9 |
}
|