Image Classification
Transformers
Safetensors
siglip
multi-label
fashion
apparel
manufacturing
quality-control
siglip2
Instructions to use resoa/garment-attributes with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use resoa/garment-attributes with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="resoa/garment-attributes") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoProcessor, AutoModelForImageClassification processor = AutoProcessor.from_pretrained("resoa/garment-attributes") model = AutoModelForImageClassification.from_pretrained("resoa/garment-attributes", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| | Attribute | AP | F1@0.50 | eval support | | |
| |---|---|---|---| | |
| | plain (pattern) | 0.9767 | 0.9404 | 1527 | | |
| | no non-textile material | 0.9764 | 0.9446 | 1767 | | |
| | wrist-length | 0.973 | 0.9055 | 639 | | |
| | symmetrical | 0.9654 | 0.945 | 1876 | | |
| | curved (pocket) | 0.9522 | 0.9333 | 15 | | |
| | short (length) | 0.9297 | 0.8485 | 165 | | |
| | fly (opening) | 0.9165 | 0.8136 | 295 | | |
| | jeans | 0.9126 | 0.7812 | 108 | | |
| | leggings | 0.9066 | 0.7742 | 90 | | |
| | flap (pocket) | 0.8944 | 0.7692 | 28 | | |
| | maxi (length) | 0.8866 | 0.83 | 255 | | |
| | short (shorts) | 0.872 | 0.8387 | 65 | | |
| | gown | 0.866 | 0.7543 | 97 | | |
| | fur | 0.8632 | 0.8235 | 29 | | |
| | patch (pocket) | 0.8558 | 0.7129 | 48 | | |
| | bermuda (shorts) | 0.8534 | 0.25 | 7 | | |
| | floor (length) | 0.8403 | 0.7273 | 119 | | |
| | above-the-hip (length) | 0.8386 | 0.7639 | 498 | | |
| | set-in sleeve | 0.8376 | 0.8009 | 651 | | |
| | washed | 0.8372 | 0.7404 | 130 | | |
| | mini (length) | 0.8316 | 0.7341 | 335 | | |
| | crop (top) | 0.817 | 0.7027 | 45 | | |
| | zip-up | 0.8161 | 0.7485 | 493 | | |
| | no waistline | 0.8118 | 0.7113 | 523 | | |
| | trucker (jacket) | 0.8079 | 0.7097 | 17 | | |
| | no special manufacturing technique | 0.799 | 0.7193 | 1129 | | |
| | sheath (skirt) | 0.798 | 0.6903 | 64 | | |
| | biker (jacket) | 0.7915 | 0.7077 | 37 | | |
| | single breasted | 0.788 | 0.7087 | 229 | | |
| | sweetheart (neckline) | 0.787 | 0.7083 | 27 | | |
| | classic (t-shirt) | 0.7857 | 0.6278 | 135 | | |
| | shawl (lapel) | 0.7829 | 0.6452 | 20 | | |
| | cowl (neck) | 0.7769 | 0.5714 | 5 | | |
| | check | 0.7735 | 0.7273 | 54 | | |
| | napoleon (lapel) | 0.7725 | 0.6087 | 28 | | |
| | mermaid | 0.7547 | 0.6667 | 18 | | |
| | tight (fit) | 0.7494 | 0.6431 | 430 | | |
| | culottes | 0.7486 | 0.5 | 6 | | |
| | shirt (collar) | 0.7452 | 0.716 | 39 | | |
| | notched (lapel) | 0.7409 | 0.6737 | 50 | | |
| | cap (sleeve) | 0.7235 | 0.5161 | 44 | | |
| | blazer | 0.7179 | 0.551 | 67 | | |
| | stripe | 0.7041 | 0.6104 | 94 | | |
| | frayed | 0.688 | 0.5714 | 21 | | |
| | wide leg | 0.6835 | 0.5217 | 33 | | |
| | skater (dress) | 0.6806 | 0.5373 | 42 | | |
| | v-neck | 0.6798 | 0.6486 | 59 | | |
| | plunging (neckline) | 0.6793 | 0.6383 | 27 | | |
| | regular (fit) | 0.6784 | 0.6348 | 619 | | |
| | tube (top) | 0.6702 | 0.56 | 17 | | |
| | printed | 0.6701 | 0.6078 | 104 | | |
| | micro (length) | 0.662 | 0.5235 | 103 | | |
| | midi | 0.656 | 0.6 | 71 | | |
| | pencil | 0.6468 | 0.5339 | 133 | | |
| | off-the-shoulder | 0.6378 | 0.5455 | 8 | | |
| | oval (neck) | 0.6352 | 0.5225 | 66 | | |
| | oversized (lapel) | 0.6269 | 0.6429 | 16 | | |
| | tank (top) | 0.6193 | 0.5693 | 77 | | |
| | bodycon (dress) | 0.6109 | 0.4478 | 49 | | |
| | regular (collar) | 0.6032 | 0.5283 | 30 | | |
| | distressed | 0.5961 | 0.4898 | 32 | | |
| | leopard | 0.5829 | 0.0 | 7 | | |
| | rah-rah (skirt) | 0.5823 | 0.1429 | 12 | | |
| | floral | 0.5715 | 0.5346 | 124 | | |
| | three quarter (length) | 0.5652 | 0.5551 | 106 | | |
| | camisole | 0.565 | 0.4667 | 41 | | |
| | slash (pocket) | 0.5586 | 0.3529 | 11 | | |
| | roll-up (shorts) | 0.5563 | 0.0 | 4 | | |
| | peter pan (collar) | 0.5535 | 0.4444 | 7 | | |
| | turtle (neck) | 0.5504 | 0.6154 | 14 | | |
| | one shoulder | 0.5456 | 0.5556 | 11 | | |
| | dirndl (skirt) | 0.5424 | 0.3636 | 18 | | |
| | shirt (dress) | 0.5402 | 0.3333 | 17 | | |
| | boat (neck) | 0.54 | 0.0 | 2 | | |
| | plastic | 0.5299 | 0.2769 | 54 | | |
| | teddy bear (coat) | 0.5255 | 0.3333 | 3 | | |
| | ball gown (skirt) | 0.5255 | 0.5 | 3 | | |
| | bootcut | 0.5196 | 0.2857 | 16 | | |
| | normal waist | 0.5171 | 0.4872 | 599 | | |
| | sailor (shirt) | 0.5145 | 0.3333 | 6 | | |
| | elbow-length | 0.5086 | 0.3796 | 88 | | |
| | dot | 0.5072 | 0.4561 | 41 | | |
| | welt (pocket) | 0.5056 | 0.4 | 4 | | |
| | fit and flare | 0.501 | 0.3913 | 60 | | |
| | tuxedo (jacket) | 0.5 | 0.0 | 1 | | |
| | loose (fit) | 0.4977 | 0.3114 | 218 | | |
| | lining | 0.4949 | 0.408 | 75 | | |
| | above-the-knee (length) | 0.491 | 0.439 | 83 | | |
| | shift (dress) | 0.489 | 0.475 | 48 | | |
| | straight | 0.4853 | 0.3202 | 236 | | |
| | knee (length) | 0.4795 | 0.3793 | 66 | | |
| | square (neckline) | 0.4767 | 0.4706 | 11 | | |
| | high waist | 0.4721 | 0.4343 | 304 | | |
| | double breasted | 0.4657 | 0.4103 | 27 | | |
| | dropped waistline | 0.4605 | 0.102 | 91 | | |
| | straight across (neck) | 0.4563 | 0.4375 | 18 | | |
| | capri (pants) | 0.4511 | 0.4 | 3 | | |
| | slit | 0.4505 | 0.3556 | 30 | | |
| | collarless | 0.45 | 0.4 | 3 | | |
| | round (neck) | 0.4476 | 0.3333 | 17 | | |
| | sheath (dress) | 0.4452 | 0.48 | 50 | | |
| | gathering | 0.4444 | 0.3382 | 154 | | |
| | below the knee (length) | 0.4397 | 0.2623 | 47 | | |
| | oversized (collar) | 0.4373 | 0.2857 | 10 | | |
| | hip (length) | 0.4334 | 0.4229 | 144 | | |
| | tent | 0.4171 | 0.08 | 24 | | |
| | skater (skirt) | 0.4159 | 0.2105 | 15 | | |
| | wrap (coat) | 0.4155 | 0.2857 | 5 | | |
| | sailor (pants) | 0.4133 | 0.1379 | 25 | | |
| | asymmetrical | 0.4108 | 0.1667 | 76 | | |
| | hobble (skirt) | 0.4104 | 0.4 | 9 | | |
| | blanket (coat) | 0.4047 | 0.2308 | 22 | | |
| | halter (top) | 0.4029 | 0.1 | 19 | | |
| | hip-huggers (pants) | 0.4015 | 0.3333 | 4 | | |
| | u-neck | 0.4013 | 0.303 | 26 | | |
| | trench (coat) | 0.3862 | 0.2857 | 12 | | |
| | surplice (neck) | 0.3832 | 0.25 | 5 | | |
| | flare | 0.3801 | 0.3333 | 22 | | |
| | geometric | 0.3769 | 0.274 | 58 | | |
| | kimono (sleeve) | 0.3769 | 0.4615 | 5 | | |
| | pea (coat) | 0.3721 | 0.0 | 8 | | |
| | halter (neck) | 0.37 | 0.0 | 8 | | |
| | kaftan | 0.3604 | 0.0 | 7 | | |
| | a-line | 0.3596 | 0.3473 | 101 | | |
| | dropped-shoulder sleeve | 0.3582 | 0.3415 | 60 | | |
| | peak (lapel) | 0.3554 | 0.3636 | 7 | | |
| | high low | 0.3545 | 0.4242 | 18 | | |
| | asymmetric (neckline) | 0.3495 | 0.4167 | 15 | | |
| | curved (fit) | 0.3405 | 0.0 | 12 | | |
| | high (neck) | 0.3373 | 0.0 | 6 | | |
| | low waist | 0.3361 | 0.2 | 57 | | |
| | sweater (dress) | 0.3237 | 0.2667 | 12 | | |
| | rivet(a) | 0.315 | 0.0 | 47 | | |
| | crew (neck) | 0.3142 | 0.0 | 5 | | |
| | gem | 0.3022 | 0.0714 | 27 | | |
| | circle | 0.3015 | 0.0385 | 46 | | |
| | bell (sleeve) | 0.3013 | 0.0 | 29 | | |
| | paisley | 0.2984 | 0.0 | 19 | | |
| | snakeskin (pattern) | 0.2983 | 0.0 | 4 | | |
| | bomber (jacket) | 0.2976 | 0.0 | 9 | | |
| | abstract | 0.2957 | 0.092 | 80 | | |
| | sleeveless | 0.2917 | 0.0 | 2 | | |
| | kangaroo (pocket) | 0.289 | 0.25 | 6 | | |
| | peg | 0.2835 | 0.2424 | 26 | | |
| | bell | 0.2811 | 0.1714 | 32 | | |
| | basque (wasitline) | 0.2781 | 0.0 | 16 | | |
| | trumpet | 0.2779 | 0.0541 | 34 | | |
| | applique(a) | 0.2772 | 0.2947 | 66 | | |
| | quilted | 0.2734 | 0.0 | 13 | | |
| | cartoon | 0.2727 | 0.0833 | 22 | | |
| | peasant (top) | 0.2694 | 0.0 | 10 | | |
| | pleat | 0.2638 | 0.1681 | 97 | | |
| | bishop (sleeve) | 0.261 | 0.125 | 15 | | |
| | slip (dress) | 0.2536 | 0.0667 | 29 | | |
| | crop (jacket) | 0.25 | 0.0 | 1 | | |
| | puff (sleeve) | 0.2491 | 0.087 | 39 | | |
| | sequin(a) | 0.2468 | 0.1538 | 11 | | |
| | halter (dress) | 0.2449 | 0.2 | 18 | | |
| | mandarin (collar) | 0.241 | 0.0 | 5 | | |
| | camouflage | 0.2393 | 0.0 | 7 | | |
| | no opening | 0.2268 | 0.3265 | 50 | | |
| | blouson (dress) | 0.2266 | 0.0 | 7 | | |
| | sundress | 0.2263 | 0.0 | 8 | | |
| | stand-away (collar) | 0.2226 | 0.0 | 11 | | |
| | raglan (t-shirt) | 0.2222 | 0.0 | 6 | | |
| | empire waistline | 0.2206 | 0.0 | 35 | | |
| | wrap (dress) | 0.2189 | 0.0 | 6 | | |
| | undershirt | 0.2113 | 0.0 | 10 | | |
| | crop (pants) | 0.2001 | 0.3077 | 8 | | |
| | tiered | 0.1917 | 0.1176 | 16 | | |
| | parka | 0.1909 | 0.0 | 5 | | |
| | jumper (dress) | 0.1862 | 0.0 | 27 | | |
| | wrapping | 0.183 | 0.1818 | 17 | | |
| | peg (pants) | 0.1809 | 0.0 | 11 | | |
| | circular flounce (sleeve) | 0.1741 | 0.0 | 11 | | |
| | banded (collar) | 0.1731 | 0.2857 | 4 | | |
| | tulip (sleeve) | 0.1679 | 0.0 | 19 | | |
| | track (jacket) | 0.1621 | 0.0 | 16 | | |
| | hoodie | 0.1564 | 0.0 | 7 | | |
| | bead(a) | 0.1472 | 0.0645 | 18 | | |
| | rubber | 0.1472 | 0.0 | 9 | | |
| | tunic (top) | 0.1438 | 0.0 | 14 | | |
| | sweatpants | 0.1388 | 0.0 | 4 | | |
| | leg of mutton (sleeve) | 0.1379 | 0.0 | 16 | | |
| | fair isle | 0.133 | 0.0 | 10 | | |
| | letters, numbers | 0.1227 | 0.1818 | 9 | | |
| | oversized | 0.1148 | 0.0 | 19 | | |
| | tunic (dress) | 0.1124 | 0.0 | 24 | | |
| | dolman (sleeve), batwing (sleeve) | 0.1016 | 0.0 | 32 | | |
| | lounge (shorts) | 0.0878 | 0.0 | 9 | | |
| | ruched | 0.0869 | 0.0 | 35 | | |
| | balloon | 0.0831 | 0.0 | 5 | | |
| | polo (shirt) | 0.0799 | 0.0 | 2 | | |
| | scoop (neck) | 0.0757 | 0.0 | 6 | | |
| | chevron | 0.0638 | 0.0 | 7 | | |
| | metal | 0.049 | 0.0 | 18 | | |
| | raglan (sleeve) | 0.0466 | 0.0 | 24 | | |
| | plant | 0.0437 | 0.0 | 8 | | |
| | norfolk (jacket) | 0.0417 | 0.0 | 1 | | |
| | lace up | 0.0406 | 0.0 | 14 | | |
| | perforated | 0.0368 | 0.0 | 4 | | |
| | cutout | 0.0358 | 0.0 | 12 | | |
| | cargo (pocket) | 0.0324 | 0.0 | 3 | | |
| | poet (sleeve) | 0.0321 | 0.0 | 9 | | |
| | toile de jouy | 0.0295 | 0.0 | 3 | | |
| | smocking | 0.0247 | 0.0 | 7 | | |
| | cheetah | 0.0099 | 0.0 | 3 | | |
| | polo (collar) | 0.0093 | 0.0 | 1 | | |
| | puffer (jacket) | 0.0082 | 0.0 | 2 | | |
| | argyle | 0.0067 | 0.0 | 2 | | |
| | illusion (neck) | 0.0062 | 0.0 | 3 | | |
| | burnout | 0.0029 | 0.0 | 1 | | |
| | seam (pocket) | None | None | 0 | | |
| | queen anne (neck) | None | None | 0 | | |
| | peplum | None | None | 0 | | |
| | keyhole (neck) | None | None | 0 | | |
| | choker (neck) | None | None | 0 | | |
| | crossover (neck) | None | None | 0 | |