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

  • Log In
  • Sign Up

dan-lara
/
Garbage-Classifier-Resnet-50-Finetuning

Image Classification
Transformers
French
resnet
vision
recycling
environment
Model card Files Files and versions
xet
Community

Instructions to use dan-lara/Garbage-Classifier-Resnet-50-Finetuning with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use dan-lara/Garbage-Classifier-Resnet-50-Finetuning with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="dan-lara/Garbage-Classifier-Resnet-50-Finetuning")
    pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")
    # Load model directly
    from transformers import AutoImageProcessor, AutoModelForImageClassification
    
    processor = AutoImageProcessor.from_pretrained("dan-lara/Garbage-Classifier-Resnet-50-Finetuning")
    model = AutoModelForImageClassification.from_pretrained("dan-lara/Garbage-Classifier-Resnet-50-Finetuning")
  • Notebooks
  • Google Colab
  • Kaggle
Garbage-Classifier-Resnet-50-Finetuning
94.4 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 12 commits
dan-lara's picture
dan-lara
Update README.md
67481d5 verified over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    3.72 kB
    Update README.md over 1 year ago
  • config.json
    579 Bytes
    Create config.json over 1 year ago
  • preprocessor_config.json
    265 Bytes
    Create preprocessor_config.json over 1 year ago
  • pytorch_model.pth

    Detected Pickle imports (4)

    • "torch.LongStorage",
    • "torch._utils._rebuild_tensor_v2",
    • "collections.OrderedDict",
    • "torch.FloatStorage"

    What is a pickle import?

    94.4 MB
    xet
    Add model over 1 year ago