This model is a fine-tuned version of facebook/dinov2-base on ~40gb of h&m clothing images. It is meant to clastify garments into their own category like "upper garment", "lower_garment", "underpants" etc
It achieves the following results on the evaluation set:
The results are even better because the dataset has sometimes wrong labels or several labels work well on the same piece of clothing.
from transformers import pipeline
pipe = pipeline("image-classification", model="cubbk/dinov2-base-finetuned-clothes-big")
result = pipe("https://static.zara.net/assets/public/9cee/ace9/4ac84b608e84/df271252ff15/04391788800-e1/04391788800-e1.jpg?ts=1758018702215&w=1500")
result[0]
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 0.3022 | 1.0 | 583 | 0.2322 | 0.9210 |
| 0.2158 | 2.0 | 1166 | 0.1539 | 0.9501 |
| 0.1767 | 3.0 | 1749 | 0.1260 | 0.9590 |
model.safetensors 330 MiBtraining_args.bin 5.7 KiBfacebook/dinov2-base