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

Shresthadev403
/
food-image-classification

Image Classification
Transformers
TensorBoard
Safetensors
vit
Generated from Trainer
Model card Files Files and versions
xet
Metrics Training metrics Community

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

  • Libraries
  • Transformers

    How to use Shresthadev403/food-image-classification with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="Shresthadev403/food-image-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("Shresthadev403/food-image-classification")
    model = AutoModelForImageClassification.from_pretrained("Shresthadev403/food-image-classification", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
food-image-classification
344 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 113 commits
Shresthadev403's picture
Shresthadev403
Update README.md
1024535 verified almost 2 years ago
  • runs
    End of training over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    1.27 kB
    Update README.md almost 2 years ago
  • config.json
    5.64 kB
    End of training over 2 years ago
  • model.safetensors
    344 MB
    xet
    End of training over 2 years ago
  • preprocessor_config.json
    325 Bytes
    Training in progress, epoch 0 over 2 years ago
  • trainer_state.json
    19.8 kB
    End of training over 2 years ago
  • training_args.bin
    4.73 kB
    xet
    End of training over 2 years ago