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

Duplicated from  abhilash88/face-emotion-detection

SeanHowFun
/
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 SeanHowFun/face-emotion-detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

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

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="SeanHowFun/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("SeanHowFun/face-emotion-detection")
    model = AutoModelForImageClassification.from_pretrained("SeanHowFun/face-emotion-detection", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
face-emotion-detection / examples
Ctrl+K
Ctrl+K
  • 2 contributors
History: 1 commit
SeanHowFun's picture
SeanHowFun
Duplicate from abhilash88/face-emotion-detection
ed7fd49 6 days ago
  • example_1_happy.jpg
    6.36 kB
  • example_2_sad.jpg
    6.51 kB
  • example_3_angry.jpg
    9.36 kB
  • example_4_surprise.jpg
    6.5 kB
  • example_5_fear.jpg
    8.06 kB
  • example_6_neutral.jpg
    4.64 kB
  • example_7_disgust.jpg
    4.99 kB