Instructions to use MightyDragon-Dev/horse-or-human-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use MightyDragon-Dev/horse-or-human-classifier with Keras:
# Available backend options are: "jax", "torch", "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" import keras model = keras.saving.load_model("hf://MightyDragon-Dev/horse-or-human-classifier") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -61,7 +61,7 @@ from huggingface_hub import hf_hub_download
|
|
| 61 |
|
| 62 |
# 1. Download model directly from Hugging Face Hub
|
| 63 |
model_path = hf_hub_download(
|
| 64 |
-
repo_id="
|
| 65 |
filename="horse-or-human-model.keras"
|
| 66 |
)
|
| 67 |
model = tf.keras.models.load_model(model_path)
|
|
|
|
| 61 |
|
| 62 |
# 1. Download model directly from Hugging Face Hub
|
| 63 |
model_path = hf_hub_download(
|
| 64 |
+
repo_id="MightyDragon-Dev/horse-or-human-classifier",
|
| 65 |
filename="horse-or-human-model.keras"
|
| 66 |
)
|
| 67 |
model = tf.keras.models.load_model(model_path)
|