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

  • Log In
  • Sign Up

OttoYu
/
TreeDisease

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

Instructions to use OttoYu/TreeDisease with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use OttoYu/TreeDisease with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="OttoYu/TreeDisease")
    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("OttoYu/TreeDisease")
    model = AutoModelForImageClassification.from_pretrained("OttoYu/TreeDisease")
  • Notebooks
  • Google Colab
  • Kaggle
TreeDisease
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
OttoYu's picture
OttoYu
Update README.md
ea6cc12 about 3 years ago
  • .gitattributes
    1.62 kB
    Commit From AutoTrain about 3 years ago
  • README.md
    344 Bytes
    Update README.md about 3 years ago
  • config.json
    3.06 kB
    Commit From AutoTrain about 3 years ago
  • preprocessor_config.json
    388 Bytes
    Commit From AutoTrain about 3 years ago
  • pytorch_model.bin
    348 MB
    xet
    Commit From AutoTrain about 3 years ago