faisalabidi
commited on
Commit
·
23a4f65
1
Parent(s):
d6e1ade
commit files to HF hub
Browse files- .gitattributes +7 -0
- README.md +60 -0
- config.json +42 -0
- images/hyatt_drinks.jpg +3 -0
- images/hyatt_fitness.jpg +3 -0
- images/hyatt_food.jpg +3 -0
- images/hyatt_guestroom.jpg +3 -0
- images/hyatt_pool.jpg +3 -0
- images/hyatt_restaurant.jpg +3 -0
- images/hyatt_suite_living_room.jpg +3 -0
- preprocessor_config.json +22 -0
- pytorch_model.bin +3 -0
- runs/events.out.tfevents.1671150205.f842c3e135d5 +3 -0
.gitattributes
CHANGED
@@ -32,3 +32,10 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
32 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
33 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
33 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
35 |
+
images/hyatt_drinks.jpg filter=lfs diff=lfs merge=lfs -text
|
36 |
+
images/hyatt_fitness.jpg filter=lfs diff=lfs merge=lfs -text
|
37 |
+
images/hyatt_food.jpg filter=lfs diff=lfs merge=lfs -text
|
38 |
+
images/hyatt_guestroom.jpg filter=lfs diff=lfs merge=lfs -text
|
39 |
+
images/hyatt_pool.jpg filter=lfs diff=lfs merge=lfs -text
|
40 |
+
images/hyatt_restaurant.jpg filter=lfs diff=lfs merge=lfs -text
|
41 |
+
images/hyatt_suite_living_room.jpg filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.1702127605676651
|
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 |
+
#### hyatt drinks
|
35 |
+
|
36 |
+
![hyatt drinks](images/hyatt_drinks.jpg)
|
37 |
+
|
38 |
+
#### hyatt fitness
|
39 |
+
|
40 |
+
![hyatt fitness](images/hyatt_fitness.jpg)
|
41 |
+
|
42 |
+
#### hyatt food
|
43 |
+
|
44 |
+
![hyatt food](images/hyatt_food.jpg)
|
45 |
+
|
46 |
+
#### hyatt guestroom
|
47 |
+
|
48 |
+
![hyatt guestroom](images/hyatt_guestroom.jpg)
|
49 |
+
|
50 |
+
#### hyatt pool
|
51 |
+
|
52 |
+
![hyatt pool](images/hyatt_pool.jpg)
|
53 |
+
|
54 |
+
#### hyatt restaurant
|
55 |
+
|
56 |
+
![hyatt restaurant](images/hyatt_restaurant.jpg)
|
57 |
+
|
58 |
+
#### hyatt suite living room
|
59 |
+
|
60 |
+
![hyatt suite living room](images/hyatt_suite_living_room.jpg)
|
config.json
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "hyatt drinks",
|
13 |
+
"1": "hyatt fitness",
|
14 |
+
"2": "hyatt food",
|
15 |
+
"3": "hyatt guestroom",
|
16 |
+
"4": "hyatt pool",
|
17 |
+
"5": "hyatt restaurant",
|
18 |
+
"6": "hyatt suite living room"
|
19 |
+
},
|
20 |
+
"image_size": 224,
|
21 |
+
"initializer_range": 0.02,
|
22 |
+
"intermediate_size": 3072,
|
23 |
+
"label2id": {
|
24 |
+
"hyatt drinks": "0",
|
25 |
+
"hyatt fitness": "1",
|
26 |
+
"hyatt food": "2",
|
27 |
+
"hyatt guestroom": "3",
|
28 |
+
"hyatt pool": "4",
|
29 |
+
"hyatt restaurant": "5",
|
30 |
+
"hyatt suite living room": "6"
|
31 |
+
},
|
32 |
+
"layer_norm_eps": 1e-12,
|
33 |
+
"model_type": "vit",
|
34 |
+
"num_attention_heads": 12,
|
35 |
+
"num_channels": 3,
|
36 |
+
"num_hidden_layers": 12,
|
37 |
+
"patch_size": 16,
|
38 |
+
"problem_type": "single_label_classification",
|
39 |
+
"qkv_bias": true,
|
40 |
+
"torch_dtype": "float32",
|
41 |
+
"transformers_version": "4.25.1"
|
42 |
+
}
|
images/hyatt_drinks.jpg
ADDED
Git LFS Details
|
images/hyatt_fitness.jpg
ADDED
Git LFS Details
|
images/hyatt_food.jpg
ADDED
Git LFS Details
|
images/hyatt_guestroom.jpg
ADDED
Git LFS Details
|
images/hyatt_pool.jpg
ADDED
Git LFS Details
|
images/hyatt_restaurant.jpg
ADDED
Git LFS Details
|
images/hyatt_suite_living_room.jpg
ADDED
Git LFS Details
|
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": "ViTImageProcessor",
|
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 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8195a253c184b1c9af2de42f8365f8abdb1de1be7d377c7c56ffc4a3308e7ac6
|
3 |
+
size 343281325
|
runs/events.out.tfevents.1671150205.f842c3e135d5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:62acf798e11a8c71c0b947f508b8114ba7ae86cf4ea0d74d5f1dc1d599f09161
|
3 |
+
size 1066
|