Khaled2002Zayed
commited on
Commit
•
2b1b725
1
Parent(s):
54ca70a
commit files to HF hub
Browse files- .gitattributes +20 -0
- README.md +112 -0
- config.json +68 -0
- images/Blazer.jpg +3 -0
- images/Blouse.jpg +3 -0
- images/Body.jpg +3 -0
- images/Dress.jpg +3 -0
- images/Hat.jpg +3 -0
- images/Hoodie.jpg +3 -0
- images/Longsleeve.jpg +3 -0
- images/Not_sure.jpg +3 -0
- images/Other.jpg +3 -0
- images/Outwear.jpg +3 -0
- images/Pants.jpg +3 -0
- images/Polo.jpg +3 -0
- images/Shirt.jpg +3 -0
- images/Shoes.jpg +3 -0
- images/Shorts.jpg +3 -0
- images/Skip.jpg +3 -0
- images/Skirt.jpg +3 -0
- images/T-Shirt.jpg +3 -0
- images/Top.jpg +3 -0
- images/Undershirt.jpg +3 -0
- model.safetensors +3 -0
- preprocessor_config.json +22 -0
- runs/events.out.tfevents.1711619624.d46d8aa3b3e9.768.0 +3 -0
.gitattributes
CHANGED
@@ -33,3 +33,23 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
images/Blazer.jpg filter=lfs diff=lfs merge=lfs -text
|
37 |
+
images/Blouse.jpg filter=lfs diff=lfs merge=lfs -text
|
38 |
+
images/Body.jpg filter=lfs diff=lfs merge=lfs -text
|
39 |
+
images/Dress.jpg filter=lfs diff=lfs merge=lfs -text
|
40 |
+
images/Hat.jpg filter=lfs diff=lfs merge=lfs -text
|
41 |
+
images/Hoodie.jpg filter=lfs diff=lfs merge=lfs -text
|
42 |
+
images/Longsleeve.jpg filter=lfs diff=lfs merge=lfs -text
|
43 |
+
images/Not_sure.jpg filter=lfs diff=lfs merge=lfs -text
|
44 |
+
images/Other.jpg filter=lfs diff=lfs merge=lfs -text
|
45 |
+
images/Outwear.jpg filter=lfs diff=lfs merge=lfs -text
|
46 |
+
images/Pants.jpg filter=lfs diff=lfs merge=lfs -text
|
47 |
+
images/Polo.jpg filter=lfs diff=lfs merge=lfs -text
|
48 |
+
images/Shirt.jpg filter=lfs diff=lfs merge=lfs -text
|
49 |
+
images/Shoes.jpg filter=lfs diff=lfs merge=lfs -text
|
50 |
+
images/Shorts.jpg filter=lfs diff=lfs merge=lfs -text
|
51 |
+
images/Skip.jpg filter=lfs diff=lfs merge=lfs -text
|
52 |
+
images/Skirt.jpg filter=lfs diff=lfs merge=lfs -text
|
53 |
+
images/T-Shirt.jpg filter=lfs diff=lfs merge=lfs -text
|
54 |
+
images/Top.jpg filter=lfs diff=lfs merge=lfs -text
|
55 |
+
images/Undershirt.jpg filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,112 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- image-classification
|
4 |
+
- pytorch
|
5 |
+
- huggingpics
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
|
9 |
+
model-index:
|
10 |
+
- name: rare-puppers
|
11 |
+
results:
|
12 |
+
- task:
|
13 |
+
name: Image Classification
|
14 |
+
type: image-classification
|
15 |
+
metrics:
|
16 |
+
- name: Accuracy
|
17 |
+
type: accuracy
|
18 |
+
value: 0.8345679044723511
|
19 |
+
---
|
20 |
+
|
21 |
+
# rare-puppers
|
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
|
32 |
+
|
33 |
+
|
34 |
+
#### Blazer
|
35 |
+
|
36 |
+
![Blazer](images/Blazer.jpg)
|
37 |
+
|
38 |
+
#### Blouse
|
39 |
+
|
40 |
+
![Blouse](images/Blouse.jpg)
|
41 |
+
|
42 |
+
#### Body
|
43 |
+
|
44 |
+
![Body](images/Body.jpg)
|
45 |
+
|
46 |
+
#### Dress
|
47 |
+
|
48 |
+
![Dress](images/Dress.jpg)
|
49 |
+
|
50 |
+
#### Hat
|
51 |
+
|
52 |
+
![Hat](images/Hat.jpg)
|
53 |
+
|
54 |
+
#### Hoodie
|
55 |
+
|
56 |
+
![Hoodie](images/Hoodie.jpg)
|
57 |
+
|
58 |
+
#### Longsleeve
|
59 |
+
|
60 |
+
![Longsleeve](images/Longsleeve.jpg)
|
61 |
+
|
62 |
+
#### Not sure
|
63 |
+
|
64 |
+
![Not sure](images/Not_sure.jpg)
|
65 |
+
|
66 |
+
#### Other
|
67 |
+
|
68 |
+
![Other](images/Other.jpg)
|
69 |
+
|
70 |
+
#### Outwear
|
71 |
+
|
72 |
+
![Outwear](images/Outwear.jpg)
|
73 |
+
|
74 |
+
#### Pants
|
75 |
+
|
76 |
+
![Pants](images/Pants.jpg)
|
77 |
+
|
78 |
+
#### Polo
|
79 |
+
|
80 |
+
![Polo](images/Polo.jpg)
|
81 |
+
|
82 |
+
#### Shirt
|
83 |
+
|
84 |
+
![Shirt](images/Shirt.jpg)
|
85 |
+
|
86 |
+
#### Shoes
|
87 |
+
|
88 |
+
![Shoes](images/Shoes.jpg)
|
89 |
+
|
90 |
+
#### Shorts
|
91 |
+
|
92 |
+
![Shorts](images/Shorts.jpg)
|
93 |
+
|
94 |
+
#### Skip
|
95 |
+
|
96 |
+
![Skip](images/Skip.jpg)
|
97 |
+
|
98 |
+
#### Skirt
|
99 |
+
|
100 |
+
![Skirt](images/Skirt.jpg)
|
101 |
+
|
102 |
+
#### T-Shirt
|
103 |
+
|
104 |
+
![T-Shirt](images/T-Shirt.jpg)
|
105 |
+
|
106 |
+
#### Top
|
107 |
+
|
108 |
+
![Top](images/Top.jpg)
|
109 |
+
|
110 |
+
#### Undershirt
|
111 |
+
|
112 |
+
![Undershirt](images/Undershirt.jpg)
|
config.json
ADDED
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "Blazer",
|
13 |
+
"1": "Blouse",
|
14 |
+
"10": "Pants",
|
15 |
+
"11": "Polo",
|
16 |
+
"12": "Shirt",
|
17 |
+
"13": "Shoes",
|
18 |
+
"14": "Shorts",
|
19 |
+
"15": "Skip",
|
20 |
+
"16": "Skirt",
|
21 |
+
"17": "T-Shirt",
|
22 |
+
"18": "Top",
|
23 |
+
"19": "Undershirt",
|
24 |
+
"2": "Body",
|
25 |
+
"3": "Dress",
|
26 |
+
"4": "Hat",
|
27 |
+
"5": "Hoodie",
|
28 |
+
"6": "Longsleeve",
|
29 |
+
"7": "Not sure",
|
30 |
+
"8": "Other",
|
31 |
+
"9": "Outwear"
|
32 |
+
},
|
33 |
+
"image_size": 224,
|
34 |
+
"initializer_range": 0.02,
|
35 |
+
"intermediate_size": 3072,
|
36 |
+
"label2id": {
|
37 |
+
"Blazer": "0",
|
38 |
+
"Blouse": "1",
|
39 |
+
"Body": "2",
|
40 |
+
"Dress": "3",
|
41 |
+
"Hat": "4",
|
42 |
+
"Hoodie": "5",
|
43 |
+
"Longsleeve": "6",
|
44 |
+
"Not sure": "7",
|
45 |
+
"Other": "8",
|
46 |
+
"Outwear": "9",
|
47 |
+
"Pants": "10",
|
48 |
+
"Polo": "11",
|
49 |
+
"Shirt": "12",
|
50 |
+
"Shoes": "13",
|
51 |
+
"Shorts": "14",
|
52 |
+
"Skip": "15",
|
53 |
+
"Skirt": "16",
|
54 |
+
"T-Shirt": "17",
|
55 |
+
"Top": "18",
|
56 |
+
"Undershirt": "19"
|
57 |
+
},
|
58 |
+
"layer_norm_eps": 1e-12,
|
59 |
+
"model_type": "vit",
|
60 |
+
"num_attention_heads": 12,
|
61 |
+
"num_channels": 3,
|
62 |
+
"num_hidden_layers": 12,
|
63 |
+
"patch_size": 16,
|
64 |
+
"problem_type": "single_label_classification",
|
65 |
+
"qkv_bias": true,
|
66 |
+
"torch_dtype": "float32",
|
67 |
+
"transformers_version": "4.38.2"
|
68 |
+
}
|
images/Blazer.jpg
ADDED
Git LFS Details
|
images/Blouse.jpg
ADDED
Git LFS Details
|
images/Body.jpg
ADDED
Git LFS Details
|
images/Dress.jpg
ADDED
Git LFS Details
|
images/Hat.jpg
ADDED
Git LFS Details
|
images/Hoodie.jpg
ADDED
Git LFS Details
|
images/Longsleeve.jpg
ADDED
Git LFS Details
|
images/Not_sure.jpg
ADDED
Git LFS Details
|
images/Other.jpg
ADDED
Git LFS Details
|
images/Outwear.jpg
ADDED
Git LFS Details
|
images/Pants.jpg
ADDED
Git LFS Details
|
images/Polo.jpg
ADDED
Git LFS Details
|
images/Shirt.jpg
ADDED
Git LFS Details
|
images/Shoes.jpg
ADDED
Git LFS Details
|
images/Shorts.jpg
ADDED
Git LFS Details
|
images/Skip.jpg
ADDED
Git LFS Details
|
images/Skirt.jpg
ADDED
Git LFS Details
|
images/T-Shirt.jpg
ADDED
Git LFS Details
|
images/Top.jpg
ADDED
Git LFS Details
|
images/Undershirt.jpg
ADDED
Git LFS Details
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c6d46d7e8169d0b038d4d9b30e81dee589a6b6c590cab00e358be5df5b91e0e1
|
3 |
+
size 343279344
|
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.1711619624.d46d8aa3b3e9.768.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:daf9acd4af38b1baf1bb8453c61f63a7f6f80e3eadfd661070a6f990efe391db
|
3 |
+
size 5215
|