commit files to HF hub
Browse files- README.md +27 -0
- config.json +56 -0
- model.safetensors +3 -0
- preprocessor_config.json +22 -0
- runs/events.out.tfevents.1701895420.Prashant.1924.0 +3 -0
README.md
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- image-classification
|
4 |
+
- pytorch
|
5 |
+
- huggingpics
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
|
9 |
+
model-index:
|
10 |
+
- name: Clothes_Pattern_Classification_v2
|
11 |
+
results:
|
12 |
+
- task:
|
13 |
+
name: Image Classification
|
14 |
+
type: image-classification
|
15 |
+
metrics:
|
16 |
+
- name: Accuracy
|
17 |
+
type: accuracy
|
18 |
+
value: 0.9177215099334717
|
19 |
+
---
|
20 |
+
|
21 |
+
# Clothes_Pattern_Classification_v2
|
22 |
+
|
23 |
+
|
24 |
+
Classification to recognize pattern types in clothes
|
25 |
+
|
26 |
+
|
27 |
+
## Example Images
|
config.json
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "Argyle",
|
13 |
+
"1": "Check",
|
14 |
+
"10": "Sequin",
|
15 |
+
"11": "Solid",
|
16 |
+
"12": "Stripe",
|
17 |
+
"13": "Transparent",
|
18 |
+
"2": "Colour blocking",
|
19 |
+
"3": "Denim",
|
20 |
+
"4": "Dot",
|
21 |
+
"5": "Embroidery",
|
22 |
+
"6": "Lace",
|
23 |
+
"7": "Metallic",
|
24 |
+
"8": "Patterns",
|
25 |
+
"9": "Placement print"
|
26 |
+
},
|
27 |
+
"image_size": 224,
|
28 |
+
"initializer_range": 0.02,
|
29 |
+
"intermediate_size": 3072,
|
30 |
+
"label2id": {
|
31 |
+
"Argyle": "0",
|
32 |
+
"Check": "1",
|
33 |
+
"Colour blocking": "2",
|
34 |
+
"Denim": "3",
|
35 |
+
"Dot": "4",
|
36 |
+
"Embroidery": "5",
|
37 |
+
"Lace": "6",
|
38 |
+
"Metallic": "7",
|
39 |
+
"Patterns": "8",
|
40 |
+
"Placement print": "9",
|
41 |
+
"Sequin": "10",
|
42 |
+
"Solid": "11",
|
43 |
+
"Stripe": "12",
|
44 |
+
"Transparent": "13"
|
45 |
+
},
|
46 |
+
"layer_norm_eps": 1e-12,
|
47 |
+
"model_type": "vit",
|
48 |
+
"num_attention_heads": 12,
|
49 |
+
"num_channels": 3,
|
50 |
+
"num_hidden_layers": 12,
|
51 |
+
"patch_size": 16,
|
52 |
+
"problem_type": "single_label_classification",
|
53 |
+
"qkv_bias": true,
|
54 |
+
"torch_dtype": "float32",
|
55 |
+
"transformers_version": "4.35.0"
|
56 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9d128d32a22ed7a3af54dbab85c6b51a1d3dfe8c69639a5b27d9652c78692718
|
3 |
+
size 343260888
|
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.1701895420.Prashant.1924.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c1baf54d901178d2e62fc32d71036a4b538f8793737585a5c62280c2c0a916b2
|
3 |
+
size 62672
|