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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

diegokauer
/
int-pet-classifier-v2

Image Classification
Transformers
TensorBoard
Safetensors
swinv2
Model card Files Files and versions
xet
Metrics Training metrics Community

Instructions to use diegokauer/int-pet-classifier-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use diegokauer/int-pet-classifier-v2 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="diegokauer/int-pet-classifier-v2")
    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("diegokauer/int-pet-classifier-v2")
    model = AutoModelForImageClassification.from_pretrained("diegokauer/int-pet-classifier-v2", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
int-pet-classifier-v2
781 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 12 commits
diegokauer's picture
diegokauer
Upload Swinv2ForImageClassification
787c3ef over 2 years ago
  • runs
    Training in progress, epoch 9 over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • config.json
    1.22 kB
    Upload Swinv2ForImageClassification over 2 years ago
  • model.safetensors
    781 MB
    xet
    Upload Swinv2ForImageClassification over 2 years ago
  • preprocessor_config.json
    388 Bytes
    Training in progress, epoch 2 over 2 years ago
  • training_args.bin
    4.6 kB
    xet
    Training in progress, epoch 0 over 2 years ago