YOLOv8n DeepFashion2
lightweight model for detecting clothing in photos
2 min readupdated
This compact model, based on the YOLOv8 architecture (Ultralytics), was trained on the DeepFashion2 dataset and can detect 13 clothing categories in images. The model is exported to the ONNX format, running efficiently wherever ONNX Runtime is supported: on CPUs, GPUs, edge devices, and directly in the browser. With a file size of just around 12 MB, it is an excellent choice for fast mobile and web applications. It is useful for developers building style analysis services, virtual fitting rooms, or automated wardrobe labeling tools.
Key features
- YOLOv8n architecture (Ultralytics 8.4.24) optimized for high performance.
- Compact model file size of only ~12 MB.
- Precise recognition of 13 clothing categories, including t-shirts, jackets, pants, dresses, and shorts.
- Exported to ONNX format (static size, without built-in NMS) for running on any hardware.
What you can do
- Integrate the model into a web service or mobile app to automatically identify clothing styles in photographs.
- Use it for rapid labeling of clothing datasets and online store catalogs.
- Set up a computer vision pipeline using ONNX Runtime or the Ultralytics library for fashion look analysis.
Example
from ultralytics import YOLO
model = YOLO("hf://dumbtintin/yolov8n-deepfashion2/yolov8n-deepfashion2.onnx")
results = model("photo.jpg")
results[0].show()
Read more
Details• Architecture: YOLOv8n (Ultralytics 8.4.24)
• Task: Object detection
• Format: ONNX (input data float32[1, 3, 640, 640])
• License: AGPL-3.0 (Ultralytics)










Comments