Spaces:
Sleeping
Sleeping
Upload 4 files
Browse files- config.json +54 -0
- model.safetensors +3 -0
- preprocessor_config.json +23 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "Underwire",
|
13 |
+
"1": "PushUp",
|
14 |
+
"2": "Strapless",
|
15 |
+
"3": "Triangle",
|
16 |
+
"4": "Sport",
|
17 |
+
"5": "Bralette",
|
18 |
+
"6": "Longline",
|
19 |
+
"7": "Wireless",
|
20 |
+
"8": "Harness",
|
21 |
+
"9": "Stickon",
|
22 |
+
"10": "Corset",
|
23 |
+
"11": "Nursing",
|
24 |
+
"12": "Bandeau"
|
25 |
+
},
|
26 |
+
"image_size": 224,
|
27 |
+
"initializer_range": 0.02,
|
28 |
+
"intermediate_size": 3072,
|
29 |
+
"label2id": {
|
30 |
+
"Bandeau": 12,
|
31 |
+
"Bralette": 5,
|
32 |
+
"Corset": 10,
|
33 |
+
"Harness": 8,
|
34 |
+
"Longline": 6,
|
35 |
+
"Nursing": 11,
|
36 |
+
"PushUp": 1,
|
37 |
+
"Sport": 4,
|
38 |
+
"Stickon": 9,
|
39 |
+
"Strapless": 2,
|
40 |
+
"Triangle": 3,
|
41 |
+
"Underwire": 0,
|
42 |
+
"Wireless": 7
|
43 |
+
},
|
44 |
+
"layer_norm_eps": 1e-12,
|
45 |
+
"model_type": "vit",
|
46 |
+
"num_attention_heads": 12,
|
47 |
+
"num_channels": 3,
|
48 |
+
"num_hidden_layers": 12,
|
49 |
+
"patch_size": 16,
|
50 |
+
"problem_type": "single_label_classification",
|
51 |
+
"qkv_bias": true,
|
52 |
+
"torch_dtype": "float32",
|
53 |
+
"transformers_version": "4.48.2"
|
54 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d46d19d2869d019dbc229edf1f3a00e5bb32c23e300498b73077ea69c7383eef
|
3 |
+
size 343257812
|
preprocessor_config.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_convert_rgb": null,
|
3 |
+
"do_normalize": true,
|
4 |
+
"do_rescale": true,
|
5 |
+
"do_resize": true,
|
6 |
+
"image_mean": [
|
7 |
+
0.5,
|
8 |
+
0.5,
|
9 |
+
0.5
|
10 |
+
],
|
11 |
+
"image_processor_type": "ViTFeatureExtractor",
|
12 |
+
"image_std": [
|
13 |
+
0.5,
|
14 |
+
0.5,
|
15 |
+
0.5
|
16 |
+
],
|
17 |
+
"resample": 2,
|
18 |
+
"rescale_factor": 0.00392156862745098,
|
19 |
+
"size": {
|
20 |
+
"height": 224,
|
21 |
+
"width": 224
|
22 |
+
}
|
23 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f998cf6ad156dd1cc1e1e2c2ed0fed73b43d1c692bcf7fbe341670cee2b7b01f
|
3 |
+
size 5496
|