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