Instructions to use hoangthan/img-caption-demo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use hoangthan/img-caption-demo 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/img-caption-demo") - Notebooks
- Google Colab
- Kaggle
Create config.json
Browse files- config.json +7 -0
config.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"id2label": {
|
| 3 |
+
"0": 0,
|
| 4 |
+
"1": 1,
|
| 5 |
+
"2": 2
|
| 6 |
+
}
|
| 7 |
+
}
|