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

abhilash88
/
face-emotion-detection

Image Classification
Transformers
Safetensors
PyTorch
vit
vision
facial-expression-recognition
emotion-detection
Model card Files Files and versions
xet
Community

Instructions to use abhilash88/face-emotion-detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use abhilash88/face-emotion-detection with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="abhilash88/face-emotion-detection")
    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("abhilash88/face-emotion-detection")
    model = AutoModelForImageClassification.from_pretrained("abhilash88/face-emotion-detection")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
face-emotion-detection
343 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 11 commits
abhilash88's picture
abhilash88
Upload examples/example_7_disgust.jpg with huggingface_hub
b947d8e verified 10 months ago
  • examples
    Upload examples/example_7_disgust.jpg with huggingface_hub 10 months ago
  • .gitattributes
    1.52 kB
    initial commit 10 months ago
  • README.md
    5.83 kB
    Upload README.md with huggingface_hub 10 months ago
  • config.json
    918 Bytes
    Upload ViTForImageClassification 10 months ago
  • model.safetensors
    343 MB
    xet
    Upload ViTForImageClassification 10 months ago
  • preprocessor_config.json
    351 Bytes
    Upload processor 10 months ago