Downloads · 30 days
0
achedguerra/resnet-50-signal_language
resnet-50-signal_language is a image classification model from achedguerra. Use it when you need a label for an image. It is set up for adapter-transformers. The card lists the license as apache-2.0.
This model, achedguerra/resnet-50-signallanguage, is a fine-tuned version of microsoft/resnet-50 for real-time sign language detection. It has been trained on a dataset of sign language images to provide accurate and…
Downloads · 30 days
0
Access
Public
Updated Sep 12, 2024
Parameters
23.6M
94.5 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors94.5 MB · 100%
From the Hugging Face model README
This model, achedguerra/resnet-50-signal_language, is a fine-tuned version of microsoft/resnet-50 for real-time sign language detection. It has been trained on a dataset of sign language images to provide accurate and efficient detection of sign language gestures.
First, ensure you have the Transformers library installed:
pip install transformers
You can load the model using the Transformers library:
from transformers import AutoFeatureExtractor, AutoModelForImageClassification
import torch
from PIL import Image
model_name = "achedguerra/resnet-50-signal_language"
# Load the model and feature extractor
feature_extractor = AutoFeatureExtractor.from_pretrained(model_name)
model = AutoModelForImageClassification.from_pretrained(model_name)
To use the model for inference:
# Load and preprocess the image
image_path = "path/to/your/image.jpg"
image = Image.open(image_path)
inputs = feature_extractor(images=image, return_tensors="pt")
# Perform inference
with torch.no_grad():
outputs = model(**inputs)
# Get the predicted class
predicted_class_idx = outputs.logits.argmax(-1).item()
predicted_class = model.config.id2label[predicted_class_idx]
print(f"Predicted sign: {predicted_class}")
[Include any relevant performance metrics, such as accuracy, precision, recall, or F1 score]
If you use this model in your research or project, please cite it as follows:
@misc{SignLanguageDetectionModel,
author = Hugo Alejandro Guerra Peralta,
title = Sign Language Detection using Fine-tuned ResNet-50,
year = 2024,
howpublished = {\url{https://huggingface.co/achedguerra/resnet-50-signal_language}}
}
For any questions or feedback, please open an issue on the model's Hugging Face repository at https://huggingface.co/achedguerra/resnet-50-signal_language or contact the author through the Hugging Face platform.