Instructions to use Stefaron/trash-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use Stefaron/trash-classifier 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://Stefaron/trash-classifier") - Notebooks
- Google Colab
- Kaggle
Download best_model.keras from Stefaron/trash-classifier: direct link, hf CLI and curl.
- Browser
- Download file 215 MB
-
https://huggingface.co/Stefaron/trash-classifier/resolve/main/best_model.keras
- Command line
-
hf download hf://Stefaron/trash-classifier/best_model.keras
-
curl -L -o best_model.keras https://huggingface.co/Stefaron/trash-classifier/resolve/main/best_model.keras
215 MB
- Xet hash:
- e061ecf4d57168894a15fbf30865e76dbf461abdaef4057937d90f51ba747a90
- Size of remote file:
- 215 MB
- SHA256:
- 752234e3883a354597a58999d166e3f5826f58f4af0d2ca7116af24ad596e35b
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.