Instructions to use Mathu4Paul/wastelink-cv with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use Mathu4Paul/wastelink-cv with Keras:
# !pip install -U keras tensorflow huggingface_hub # Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here; # "jax" and "torch" also work for computation once TensorFlow is installed. import os os.environ["KERAS_BACKEND"] = "tensorflow" import keras model = keras.saving.load_model("hf://Mathu4Paul/wastelink-cv") - Notebooks
- Google Colab
- Kaggle
Download model_metadata.json from Mathu4Paul/wastelink-cv: direct link, hf CLI and curl.
- Browser
- Download file 378 Bytes
-
https://huggingface.co/Mathu4Paul/wastelink-cv/resolve/main/model_metadata.json
- Command line
-
hf download hf://Mathu4Paul/wastelink-cv/model_metadata.json
-
curl -L -o model_metadata.json https://huggingface.co/Mathu4Paul/wastelink-cv/resolve/main/model_metadata.json
378 Bytes
| { | |
| "model_architecture": "MobileNetV2", | |
| "input_size": [ | |
| 224, | |
| 224 | |
| ], | |
| "num_classes": 5, | |
| "categories": [ | |
| "Glass", | |
| "Metal", | |
| "Other", | |
| "Paper", | |
| "Plastic" | |
| ], | |
| "class_indices": { | |
| "Glass": 0, | |
| "Metal": 1, | |
| "Other": 2, | |
| "Paper": 3, | |
| "Plastic": 4 | |
| }, | |
| "preprocessing": "mobilenet_v2.preprocess_input [-1,1]" | |
| } |