Instructions to use iammbrn/alsatix_image_control_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use iammbrn/alsatix_image_control_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://iammbrn/alsatix_image_control_model") - Notebooks
- Google Colab
- Kaggle
Upload config.json
Browse files- config.json +20 -0
config.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": ["ResNet50"],
|
| 3 |
+
"model_type": "resnet",
|
| 4 |
+
"num_labels": 5,
|
| 5 |
+
"label2id": {
|
| 6 |
+
"Alkol": 0,
|
| 7 |
+
"Normal": 1,
|
| 8 |
+
"NSFW": 2,
|
| 9 |
+
"Silah": 3,
|
| 10 |
+
"Tutun": 4
|
| 11 |
+
},
|
| 12 |
+
"id2label": {
|
| 13 |
+
"0": "Alkol",
|
| 14 |
+
"1": "Normal",
|
| 15 |
+
"2": "NSFW",
|
| 16 |
+
"3": "Silah",
|
| 17 |
+
"4": "Tutun"
|
| 18 |
+
},
|
| 19 |
+
"input_shape": [224, 224, 3]
|
| 20 |
+
}
|