DrGM-ConvNeXt-V2L-Facial-Emotion-Recognition

1
license:cc-by-nc-4.0
by
DrGM
Image Model
OTHER
224B params
New
0 downloads
Early-stage
Edge AI:
Mobile
Laptop
Server
501GB+ RAM
Mobile
Laptop
Server
Quick Summary

AI model with specialized capabilities.

Device Compatibility

Mobile
4-6GB RAM
Laptop
16GB RAM
Server
GPU
Minimum Recommended
209GB+ RAM

Code Examples

Usagepythontransformers
from transformers import AutoImageProcessor, AutoModelForImageClassification
import torch
from PIL import Image

# Load Model
repo_name = "DrGM/DrGM-ConvNeXt-V2L-Facial-Emotion-Recognition" 
processor = AutoImageProcessor.from_pretrained(repo_name)
model = AutoModelForImageClassification.from_pretrained(repo_name)

# Predict
image = Image.open("path/to/your/image.jpg").convert("RGB")
inputs = processor(image, return_tensors="pt")

with torch.no_grad():
    logits = model(**inputs).logits
    predicted_label = logits.argmax(-1).item()
    print(model.config.id2label[predicted_label])

Deploy This Model

Production-ready deployment in minutes

Together.ai

Instant API access to this model

Fastest API

Production-ready inference API. Start free, scale to millions.

Try Free API

Replicate

One-click model deployment

Easiest Setup

Run models in the cloud with simple API. No DevOps required.

Deploy Now

Disclosure: We may earn a commission from these partners. This helps keep LLMYourWay free.