Downloads · 30 days
30
10% of all-time downloads
leeyunjai/yolo11-cls-action
yolo11-cls-action is a image classification model from leeyunjai. Use it when you need a label for an image. It is set up for ultralytics.
To use this model in your project, follow the steps below:
Downloads · 30 days
30
10% of all-time downloads
All-time downloads
287
Public
Repo size
59.9 MB
Likes
0
Public
Click a slice to open those files.
.pt57.1 MB · 95%
From the Hugging Face model README
To use this model in your project, follow the steps below:
Ensure you have the ultralytics library installed, which is used for YOLO models:
pip install ultralytics
# class
calling
clapping
cycling
dancing
drinking
eating
fighting
hugging
laughing
listening_to_music
running
sitting
sleeping
texting
using_laptop
You can load the model and perform detection on an image as follows:
from ultralytics import YOLO
# Load the model
model = YOLO("./action-11x.pt")
# Perform detection on an image
results = model("image.png")
# Display or process the results
results.show() # This will display the image with detected objects
The results object contains bounding boxes, labels (e.g., numbers or operators), and confidence scores for each detected object.
Access them like this:
# View results
for r in results:
print(r.probs) # print the Probs object containing the detected class probabilities
