Instructions to use nonamelife/garbage-detection-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use nonamelife/garbage-detection-model 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://nonamelife/garbage-detection-model") - Notebooks
- Google Colab
- Kaggle
Garbage Detection AI Demo
This is an AI-powered web tool that classifies images as 'Clean' or 'Dirty' using a trained TensorFlow/Keras model.
How to Use
- Navigate to the
/toolendpoint (https://huggingface.co/spaces/nonamelife/garbage-detection-demo). - Upload an image (JPG, JPEG, or PNG).
- The application will predict whether the image depicts a "Clean" or "Dirty" environment.
Model Details
The underlying machine learning model (model.keras) is hosted on the Hugging Face Hub:
nonamelife/garbage-detection-model
Technologies
- Python (Flask)
- TensorFlow / Keras
- HTML, CSS
Source Code
The full source code for this demo is available on GitHub: Source Code
- Downloads last month
- 13
Inference Providers NEW
This model isn't deployed by any Inference Provider. π Ask for provider support