metadata
license: mit
tags:
- image-classification
- resnet50
task:
- image-classification
output:
- label: Class Name
score: 0.95
widget:
- text: path_to_image.jpg
output:
- label: Class Name
score: 0.95
Model Card for Your Model
This is a pre-trained ResNet-50 model for image classification. It has been trained on [your dataset description].
Model Usage
You can use this model with the Hugging Face API as follows:
from transformers import pipeline
classifier = pipeline("image-classification", model="username/model_name")
result = classifier("path_to_image.jpg")
print(result)