Instructions to use electblake/clothing_type_classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- timm
How to use electblake/clothing_type_classifier with timm:
import timm model = timm.create_model("hf-hub:electblake/clothing_type_classifier", pretrained=True) - Notebooks
- Google Colab
- Kaggle
File size: 846 Bytes
6fd27bf 669d050 6fd27bf 669d050 6fd27bf 669d050 6fd27bf b69eefc 6fd27bf 669d050 6fd27bf | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | {
"architecture": "tf_efficientnetv2_s",
"num_classes": 5,
"num_features": 1280,
"id2label": {
"0": "denim_shorts",
"1": "lingerie",
"2": "maid",
"3": "nurse",
"4": "swim_bikini"
},
"label2id": {
"denim_shorts": 0,
"lingerie": 1,
"maid": 2,
"nurse": 3,
"swim_bikini": 4
},
"pretrained_cfg": {
"tag": "in21k_ft_in1k",
"custom_load": false,
"input_size": [
3,
384,
256
],
"fixed_input_size": true,
"interpolation": "bicubic",
"crop_pct": 1.0,
"crop_mode": "border",
"mean": [
0.5,
0.5,
0.5
],
"std": [
0.5,
0.5,
0.5
],
"num_classes": 5,
"pool_size": [
12,
8
],
"first_conv": "conv_stem",
"classifier": "classifier"
}
}
|