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

LaurenGurgiolo
/
vit-micro-facial-expressions

Image Classification
Transformers
Safetensors
English
vit
facial
emotion
recognition
Model card Files Files and versions
xet
Community

Instructions to use LaurenGurgiolo/vit-micro-facial-expressions with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use LaurenGurgiolo/vit-micro-facial-expressions with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="LaurenGurgiolo/vit-micro-facial-expressions")
    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("LaurenGurgiolo/vit-micro-facial-expressions")
    model = AutoModelForImageClassification.from_pretrained("LaurenGurgiolo/vit-micro-facial-expressions")
  • Notebooks
  • Google Colab
  • Kaggle
vit-micro-facial-expressions
1.55 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
LaurenGurgiolo's picture
LaurenGurgiolo
initial commit
e6c7c8b verified 6 months ago
  • .gitattributes
    1.52 kB
    initial commit 6 months ago
  • README.md
    28 Bytes
    initial commit 6 months ago