detection-datasets/fashionpedia
Viewer โข Updated โข 46.8k โข 1.2k โข 86
How to use agni1024/yolos-pocket with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("object-detection", model="agni1024/yolos-pocket") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoImageProcessor, AutoModelForObjectDetection
processor = AutoImageProcessor.from_pretrained("agni1024/yolos-pocket")
model = AutoModelForObjectDetection.from_pretrained("agni1024/yolos-pocket", device_map="auto")This is a fine-tunned object detection model for only detecting pocket.
this model supports the following categories:
CATS = ['pocket']