Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

hagerty7
/
recyclable-materials-classification

Image Classification
Transformers
PyTorch
vit
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Transformers

    How to use hagerty7/recyclable-materials-classification with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="hagerty7/recyclable-materials-classification")
    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("hagerty7/recyclable-materials-classification")
    model = AutoModelForImageClassification.from_pretrained("hagerty7/recyclable-materials-classification")
  • Notebooks
  • Google Colab
  • Kaggle
recyclable-materials-classification
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
hagerty7's picture
hagerty7
Create preprocessor_config.json
7871ca9 over 3 years ago
  • .gitattributes
    1.43 kB
    initial commit over 3 years ago
  • README.md
    42 Bytes
    Create README.md over 3 years ago
  • config.json
    883 Bytes
    Upload ViTForImageClassification over 3 years ago
  • preprocessor_config.json
    227 Bytes
    Create preprocessor_config.json over 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    343 MB
    xet
    Upload ViTForImageClassification over 3 years ago