Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

alfiannajih
/
trash-classification

Image Classification
Transformers
Safetensors
mobilenetv3
custom_code
Model card Files Files and versions
xet
Community

Instructions to use alfiannajih/trash-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use alfiannajih/trash-classification with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="alfiannajih/trash-classification", trust_remote_code=True)
    pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")
    # Load model directly
    from transformers import AutoModelForImageClassification
    model = AutoModelForImageClassification.from_pretrained("alfiannajih/trash-classification", trust_remote_code=True, dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
trash-classification
17 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 34 commits
alfiannajih's picture
alfiannajih
Upload TrashClassificationPipeline
2073823 verified over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    5.17 kB
    Upload config over 1 year ago
  • config.json
    777 Bytes
    Upload TrashClassificationPipeline over 1 year ago
  • config.py
    518 Bytes
    Upload config over 1 year ago
  • model.py
    926 Bytes
    Upload model over 1 year ago
  • model.safetensors
    17 MB
    xet
    Upload model over 1 year ago
  • pipeline.py
    1.05 kB
    Upload TrashClassificationPipeline over 1 year ago