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

Vishaltiwari2019
/
food_classifier_one

Image Classification
Transformers
google-tensorflow TensorFlow
vit
generated_from_keras_callback
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Transformers

    How to use Vishaltiwari2019/food_classifier_one with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="Vishaltiwari2019/food_classifier_one")
    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("Vishaltiwari2019/food_classifier_one")
    model = AutoModelForImageClassification.from_pretrained("Vishaltiwari2019/food_classifier_one")
  • Notebooks
  • Google Colab
  • Kaggle
food_classifier_one
344 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Vishaltiwari2019's picture
Vishaltiwari2019
End of training
56ee6ca about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • README.md
    1.83 kB
    End of training about 2 years ago
  • config.json
    1.44 kB
    End of training about 2 years ago
  • preprocessor_config.json
    325 Bytes
    End of training about 2 years ago
  • tf_model.h5
    344 MB
    xet
    End of training about 2 years ago