Instructions to use Yoran-w/mlops-animals-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use Yoran-w/mlops-animals-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://Yoran-w/mlops-animals-classification") - Notebooks
- Google Colab
- Kaggle
File size: 335 Bytes
8209f26 | 1 2 3 4 5 6 7 8 9 10 11 | services:
animal-api:
build: .
container_name: animal-api
ports:
- "8000:8000" # Expose FastAPI port
volumes:
- ./animal-classification:/app/animal-classification # Mount model folder
environment:
- MODEL_PATH=/app/animal-classification/INPUT_model_path/animal-cnn
restart: unless-stopped |