commit files to HF hub
Browse files- README.md +31 -0
- config.json +182 -0
- model.safetensors +3 -0
- preprocessor_config.json +22 -0
- runs/events.out.tfevents.1701762858.Prashant.19420.0 +3 -0
README.md
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- image-classification
|
4 |
+
- pytorch
|
5 |
+
- huggingpics
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
|
9 |
+
model-index:
|
10 |
+
- name: Clothes_Classification_hnm_1
|
11 |
+
results:
|
12 |
+
- task:
|
13 |
+
name: Image Classification
|
14 |
+
type: image-classification
|
15 |
+
metrics:
|
16 |
+
- name: Accuracy
|
17 |
+
type: accuracy
|
18 |
+
value: 0.7405515909194946
|
19 |
+
---
|
20 |
+
|
21 |
+
# Clothes_Classification_hnm_1
|
22 |
+
|
23 |
+
|
24 |
+
Autogenerated by HuggingPics🤗🖼️
|
25 |
+
|
26 |
+
Create your own image classifier for **anything** by running [the demo on Google Colab](https://colab.research.google.com/github/nateraw/huggingpics/blob/main/HuggingPics.ipynb).
|
27 |
+
|
28 |
+
Report any issues with the demo at the [github repo](https://github.com/nateraw/huggingpics).
|
29 |
+
|
30 |
+
|
31 |
+
## Example Images
|
config.json
ADDED
@@ -0,0 +1,182 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/vit-base-patch16-224-in21k",
|
3 |
+
"architectures": [
|
4 |
+
"ViTForImageClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"encoder_stride": 16,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.0,
|
10 |
+
"hidden_size": 768,
|
11 |
+
"id2label": {
|
12 |
+
"0": "Alice band",
|
13 |
+
"1": "Bag",
|
14 |
+
"10": "Bra",
|
15 |
+
"11": "Bracelet",
|
16 |
+
"12": "Cap_peaked",
|
17 |
+
"13": "Cardigan",
|
18 |
+
"14": "Coat",
|
19 |
+
"15": "Costumes",
|
20 |
+
"16": "Dress",
|
21 |
+
"17": "Dungarees",
|
22 |
+
"18": "Earring",
|
23 |
+
"19": "Felt hat",
|
24 |
+
"2": "Ballerinas",
|
25 |
+
"20": "Flat shoe",
|
26 |
+
"21": "Garment Set",
|
27 |
+
"22": "Giftbox",
|
28 |
+
"23": "Gloves",
|
29 |
+
"24": "Hair clip",
|
30 |
+
"25": "Hair string",
|
31 |
+
"26": "Hair_alice band",
|
32 |
+
"27": "Hat_beanie",
|
33 |
+
"28": "Hat_brim",
|
34 |
+
"29": "Hoodie",
|
35 |
+
"3": "Beanie",
|
36 |
+
"30": "Jacket",
|
37 |
+
"31": "Jumpsuit_Playsuit",
|
38 |
+
"32": "Kids Underwear top",
|
39 |
+
"33": "Leggings_Tights",
|
40 |
+
"34": "Necklace",
|
41 |
+
"35": "Night gown",
|
42 |
+
"36": "Other accessories",
|
43 |
+
"37": "Other shoe",
|
44 |
+
"38": "Outdoor overall",
|
45 |
+
"39": "Outdoor trousers",
|
46 |
+
"4": "Belt",
|
47 |
+
"40": "Polo shirt",
|
48 |
+
"41": "Pyjama bottom",
|
49 |
+
"42": "Pyjama jumpsuit_playsuit",
|
50 |
+
"43": "Pyjama set",
|
51 |
+
"44": "Ring",
|
52 |
+
"45": "Robe",
|
53 |
+
"46": "Sandals",
|
54 |
+
"47": "Scarf",
|
55 |
+
"48": "Shirt",
|
56 |
+
"49": "Shorts",
|
57 |
+
"5": "Bikini top",
|
58 |
+
"50": "Skirt",
|
59 |
+
"51": "Sleep Bag",
|
60 |
+
"52": "Sleeping sack",
|
61 |
+
"53": "Slippers",
|
62 |
+
"54": "Sneakers",
|
63 |
+
"55": "Socks",
|
64 |
+
"56": "Straw hat",
|
65 |
+
"57": "Sunglasses",
|
66 |
+
"58": "Sweater",
|
67 |
+
"59": "Swimsuit",
|
68 |
+
"6": "Blazer",
|
69 |
+
"60": "Swimwear bottom",
|
70 |
+
"61": "Swimwear set",
|
71 |
+
"62": "Swimwear top",
|
72 |
+
"63": "T-shirt",
|
73 |
+
"64": "Tailored Waistcoat",
|
74 |
+
"65": "Tie",
|
75 |
+
"66": "Top",
|
76 |
+
"67": "Trousers",
|
77 |
+
"68": "Umbrella",
|
78 |
+
"69": "Underwear Tights",
|
79 |
+
"7": "Blouse",
|
80 |
+
"70": "Underwear body",
|
81 |
+
"71": "Underwear bottom",
|
82 |
+
"72": "Unknown",
|
83 |
+
"73": "Vest top",
|
84 |
+
"74": "Wallet",
|
85 |
+
"75": "Watch",
|
86 |
+
"76": "Waterbottle",
|
87 |
+
"8": "Bodysuit",
|
88 |
+
"9": "Boots"
|
89 |
+
},
|
90 |
+
"image_size": 224,
|
91 |
+
"initializer_range": 0.02,
|
92 |
+
"intermediate_size": 3072,
|
93 |
+
"label2id": {
|
94 |
+
"Alice band": "0",
|
95 |
+
"Bag": "1",
|
96 |
+
"Ballerinas": "2",
|
97 |
+
"Beanie": "3",
|
98 |
+
"Belt": "4",
|
99 |
+
"Bikini top": "5",
|
100 |
+
"Blazer": "6",
|
101 |
+
"Blouse": "7",
|
102 |
+
"Bodysuit": "8",
|
103 |
+
"Boots": "9",
|
104 |
+
"Bra": "10",
|
105 |
+
"Bracelet": "11",
|
106 |
+
"Cap_peaked": "12",
|
107 |
+
"Cardigan": "13",
|
108 |
+
"Coat": "14",
|
109 |
+
"Costumes": "15",
|
110 |
+
"Dress": "16",
|
111 |
+
"Dungarees": "17",
|
112 |
+
"Earring": "18",
|
113 |
+
"Felt hat": "19",
|
114 |
+
"Flat shoe": "20",
|
115 |
+
"Garment Set": "21",
|
116 |
+
"Giftbox": "22",
|
117 |
+
"Gloves": "23",
|
118 |
+
"Hair clip": "24",
|
119 |
+
"Hair string": "25",
|
120 |
+
"Hair_alice band": "26",
|
121 |
+
"Hat_beanie": "27",
|
122 |
+
"Hat_brim": "28",
|
123 |
+
"Hoodie": "29",
|
124 |
+
"Jacket": "30",
|
125 |
+
"Jumpsuit_Playsuit": "31",
|
126 |
+
"Kids Underwear top": "32",
|
127 |
+
"Leggings_Tights": "33",
|
128 |
+
"Necklace": "34",
|
129 |
+
"Night gown": "35",
|
130 |
+
"Other accessories": "36",
|
131 |
+
"Other shoe": "37",
|
132 |
+
"Outdoor overall": "38",
|
133 |
+
"Outdoor trousers": "39",
|
134 |
+
"Polo shirt": "40",
|
135 |
+
"Pyjama bottom": "41",
|
136 |
+
"Pyjama jumpsuit_playsuit": "42",
|
137 |
+
"Pyjama set": "43",
|
138 |
+
"Ring": "44",
|
139 |
+
"Robe": "45",
|
140 |
+
"Sandals": "46",
|
141 |
+
"Scarf": "47",
|
142 |
+
"Shirt": "48",
|
143 |
+
"Shorts": "49",
|
144 |
+
"Skirt": "50",
|
145 |
+
"Sleep Bag": "51",
|
146 |
+
"Sleeping sack": "52",
|
147 |
+
"Slippers": "53",
|
148 |
+
"Sneakers": "54",
|
149 |
+
"Socks": "55",
|
150 |
+
"Straw hat": "56",
|
151 |
+
"Sunglasses": "57",
|
152 |
+
"Sweater": "58",
|
153 |
+
"Swimsuit": "59",
|
154 |
+
"Swimwear bottom": "60",
|
155 |
+
"Swimwear set": "61",
|
156 |
+
"Swimwear top": "62",
|
157 |
+
"T-shirt": "63",
|
158 |
+
"Tailored Waistcoat": "64",
|
159 |
+
"Tie": "65",
|
160 |
+
"Top": "66",
|
161 |
+
"Trousers": "67",
|
162 |
+
"Umbrella": "68",
|
163 |
+
"Underwear Tights": "69",
|
164 |
+
"Underwear body": "70",
|
165 |
+
"Underwear bottom": "71",
|
166 |
+
"Unknown": "72",
|
167 |
+
"Vest top": "73",
|
168 |
+
"Wallet": "74",
|
169 |
+
"Watch": "75",
|
170 |
+
"Waterbottle": "76"
|
171 |
+
},
|
172 |
+
"layer_norm_eps": 1e-12,
|
173 |
+
"model_type": "vit",
|
174 |
+
"num_attention_heads": 12,
|
175 |
+
"num_channels": 3,
|
176 |
+
"num_hidden_layers": 12,
|
177 |
+
"patch_size": 16,
|
178 |
+
"problem_type": "single_label_classification",
|
179 |
+
"qkv_bias": true,
|
180 |
+
"torch_dtype": "float32",
|
181 |
+
"transformers_version": "4.35.0"
|
182 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:df5437fbb744e81924d7573bb3a1300cdc2789d4a671f4dacb9d53885a095438
|
3 |
+
size 343454684
|
preprocessor_config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"do_rescale": true,
|
4 |
+
"do_resize": true,
|
5 |
+
"image_mean": [
|
6 |
+
0.5,
|
7 |
+
0.5,
|
8 |
+
0.5
|
9 |
+
],
|
10 |
+
"image_processor_type": "ViTFeatureExtractor",
|
11 |
+
"image_std": [
|
12 |
+
0.5,
|
13 |
+
0.5,
|
14 |
+
0.5
|
15 |
+
],
|
16 |
+
"resample": 2,
|
17 |
+
"rescale_factor": 0.00392156862745098,
|
18 |
+
"size": {
|
19 |
+
"height": 224,
|
20 |
+
"width": 224
|
21 |
+
}
|
22 |
+
}
|
runs/events.out.tfevents.1701762858.Prashant.19420.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:304c3bc399eb7da448d524f455134b96a0909210279164fc6cda0185f83af6ee
|
3 |
+
size 106484
|