Instructions to use hoangthan/image-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use hoangthan/image-classification with Keras:
# Available backend options are: "jax", "torch", "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" import keras model = keras.saving.load_model("hf://hoangthan/image-classification") - Notebooks
- Google Colab
- Kaggle
Create config.json
Browse files- config.json +14 -0
config.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"id2label": {
|
| 3 |
+
"0": "butterfly",
|
| 4 |
+
"1": "candle",
|
| 5 |
+
"2": "cannon",
|
| 6 |
+
"3": "elephant",
|
| 7 |
+
"4": "hourglass",
|
| 8 |
+
"5": "pizza",
|
| 9 |
+
"6": "scorpion",
|
| 10 |
+
"7": "snail",
|
| 11 |
+
"8": "table",
|
| 12 |
+
"9": "teapot"
|
| 13 |
+
}
|
| 14 |
+
}
|