faisalabidi
commited on
Commit
•
2088689
1
Parent(s):
c25c81d
commit files to HF hub
Browse files- .gitattributes +10 -0
- README.md +23 -19
- config.json +20 -18
- images/bathroom.jpeg +3 -0
- images/beach.jpg +3 -0
- images/fitness.jpg +3 -0
- images/food.jpg +3 -0
- images/lobby.jpg +3 -0
- images/meetings.jpg +3 -0
- images/pool.jpg +3 -0
- images/restaurants.jpg +3 -0
- images/room.jpg +3 -0
- images/suite.jpg +3 -0
- pytorch_model.bin +2 -2
- runs/events.out.tfevents.1672101495.c5a8d66aacb4 +3 -0
.gitattributes
CHANGED
@@ -47,3 +47,13 @@ images/hotel_pool.jpg filter=lfs diff=lfs merge=lfs -text
|
|
47 |
images/hotel_restaurants.jpg filter=lfs diff=lfs merge=lfs -text
|
48 |
images/hotel_room.jpg filter=lfs diff=lfs merge=lfs -text
|
49 |
images/hotel_suite.jpg filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
images/hotel_restaurants.jpg filter=lfs diff=lfs merge=lfs -text
|
48 |
images/hotel_room.jpg filter=lfs diff=lfs merge=lfs -text
|
49 |
images/hotel_suite.jpg filter=lfs diff=lfs merge=lfs -text
|
50 |
+
images/bathroom.jpeg filter=lfs diff=lfs merge=lfs -text
|
51 |
+
images/beach.jpg filter=lfs diff=lfs merge=lfs -text
|
52 |
+
images/fitness.jpg filter=lfs diff=lfs merge=lfs -text
|
53 |
+
images/food.jpg filter=lfs diff=lfs merge=lfs -text
|
54 |
+
images/lobby.jpg filter=lfs diff=lfs merge=lfs -text
|
55 |
+
images/meetings.jpg filter=lfs diff=lfs merge=lfs -text
|
56 |
+
images/pool.jpg filter=lfs diff=lfs merge=lfs -text
|
57 |
+
images/restaurants.jpg filter=lfs diff=lfs merge=lfs -text
|
58 |
+
images/room.jpg filter=lfs diff=lfs merge=lfs -text
|
59 |
+
images/suite.jpg filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
@@ -15,7 +15,7 @@ model-index:
|
|
15 |
metrics:
|
16 |
- name: Accuracy
|
17 |
type: accuracy
|
18 |
-
value: 0.
|
19 |
---
|
20 |
|
21 |
# hotel-image-classifier
|
@@ -27,38 +27,42 @@ Hotel Cateogry Transformer..
|
|
27 |
## Example Images
|
28 |
|
29 |
|
30 |
-
####
|
31 |
|
32 |
-
![
|
33 |
|
34 |
-
####
|
35 |
|
36 |
-
![
|
37 |
|
38 |
-
####
|
39 |
|
40 |
-
![
|
41 |
|
42 |
-
####
|
43 |
|
44 |
-
![
|
45 |
|
46 |
-
####
|
47 |
|
48 |
-
![
|
49 |
|
50 |
-
####
|
51 |
|
52 |
-
![
|
53 |
|
54 |
-
####
|
55 |
|
56 |
-
![
|
57 |
|
58 |
-
####
|
59 |
|
60 |
-
![
|
61 |
|
62 |
-
####
|
63 |
|
64 |
-
![
|
|
|
|
|
|
|
|
|
|
15 |
metrics:
|
16 |
- name: Accuracy
|
17 |
type: accuracy
|
18 |
+
value: 0.8064516186714172
|
19 |
---
|
20 |
|
21 |
# hotel-image-classifier
|
|
|
27 |
## Example Images
|
28 |
|
29 |
|
30 |
+
#### bathroom
|
31 |
|
32 |
+
![bathroom](images/bathroom.jpeg)
|
33 |
|
34 |
+
#### beach
|
35 |
|
36 |
+
![beach](images/beach.jpg)
|
37 |
|
38 |
+
#### fitness
|
39 |
|
40 |
+
![fitness](images/fitness.jpg)
|
41 |
|
42 |
+
#### food
|
43 |
|
44 |
+
![food](images/food.jpg)
|
45 |
|
46 |
+
#### lobby
|
47 |
|
48 |
+
![lobby](images/lobby.jpg)
|
49 |
|
50 |
+
#### meetings
|
51 |
|
52 |
+
![meetings](images/meetings.jpg)
|
53 |
|
54 |
+
#### pool
|
55 |
|
56 |
+
![pool](images/pool.jpg)
|
57 |
|
58 |
+
#### restaurants
|
59 |
|
60 |
+
![restaurants](images/restaurants.jpg)
|
61 |
|
62 |
+
#### room
|
63 |
|
64 |
+
![room](images/room.jpg)
|
65 |
+
|
66 |
+
#### suite
|
67 |
+
|
68 |
+
![suite](images/suite.jpg)
|
config.json
CHANGED
@@ -9,29 +9,31 @@
|
|
9 |
"hidden_dropout_prob": 0.0,
|
10 |
"hidden_size": 768,
|
11 |
"id2label": {
|
12 |
-
"0": "
|
13 |
-
"1": "
|
14 |
-
"2": "
|
15 |
-
"3": "
|
16 |
-
"4": "
|
17 |
-
"5": "
|
18 |
-
"6": "
|
19 |
-
"7": "
|
20 |
-
"8": "
|
|
|
21 |
},
|
22 |
"image_size": 224,
|
23 |
"initializer_range": 0.02,
|
24 |
"intermediate_size": 3072,
|
25 |
"label2id": {
|
26 |
-
"
|
27 |
-
"
|
28 |
-
"
|
29 |
-
"
|
30 |
-
"
|
31 |
-
"
|
32 |
-
"
|
33 |
-
"
|
34 |
-
"
|
|
|
35 |
},
|
36 |
"layer_norm_eps": 1e-12,
|
37 |
"model_type": "vit",
|
|
|
9 |
"hidden_dropout_prob": 0.0,
|
10 |
"hidden_size": 768,
|
11 |
"id2label": {
|
12 |
+
"0": "bathroom",
|
13 |
+
"1": "beach",
|
14 |
+
"2": "fitness",
|
15 |
+
"3": "food",
|
16 |
+
"4": "lobby",
|
17 |
+
"5": "meetings",
|
18 |
+
"6": "pool",
|
19 |
+
"7": "restaurants",
|
20 |
+
"8": "room",
|
21 |
+
"9": "suite"
|
22 |
},
|
23 |
"image_size": 224,
|
24 |
"initializer_range": 0.02,
|
25 |
"intermediate_size": 3072,
|
26 |
"label2id": {
|
27 |
+
"bathroom": "0",
|
28 |
+
"beach": "1",
|
29 |
+
"fitness": "2",
|
30 |
+
"food": "3",
|
31 |
+
"lobby": "4",
|
32 |
+
"meetings": "5",
|
33 |
+
"pool": "6",
|
34 |
+
"restaurants": "7",
|
35 |
+
"room": "8",
|
36 |
+
"suite": "9"
|
37 |
},
|
38 |
"layer_norm_eps": 1e-12,
|
39 |
"model_type": "vit",
|
images/bathroom.jpeg
ADDED
Git LFS Details
|
images/beach.jpg
ADDED
Git LFS Details
|
images/fitness.jpg
ADDED
Git LFS Details
|
images/food.jpg
ADDED
Git LFS Details
|
images/lobby.jpg
ADDED
Git LFS Details
|
images/meetings.jpg
ADDED
Git LFS Details
|
images/pool.jpg
ADDED
Git LFS Details
|
images/restaurants.jpg
ADDED
Git LFS Details
|
images/room.jpg
ADDED
Git LFS Details
|
images/suite.jpg
ADDED
Git LFS Details
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5fea2c574cd88858f62435f3fd736cdc011c75b4602034067fdcc4c12024ade4
|
3 |
+
size 343290541
|
runs/events.out.tfevents.1672101495.c5a8d66aacb4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d188d960dff4465d242e30accf20bb78df28b053da8c815d98ab9581852a072b
|
3 |
+
size 2364
|