faisalabidi commited on
Commit
cbfa998
1 Parent(s): 2a705a8

commit files to HF hub

Browse files
.gitattributes CHANGED
@@ -32,3 +32,9 @@ 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_beach.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_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
README.md ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - image-classification
4
+ - pytorch
5
+ - huggingpics
6
+ metrics:
7
+ - accuracy
8
+
9
+ 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.6739130616188049
19
+ ---
20
+
21
+ # hotel-image-classifier
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 beach
35
+
36
+ ![hyatt beach](images/hyatt_beach.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 pool
47
+
48
+ ![hyatt pool](images/hyatt_pool.jpg)
49
+
50
+ #### hyatt restaurants
51
+
52
+ ![hyatt restaurants](images/hyatt_restaurants.jpg)
53
+
54
+ #### hyatt suites
55
+
56
+ ![hyatt suites](images/hyatt_suites.jpg)
config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 beach",
13
+ "1": "hyatt fitness",
14
+ "2": "hyatt food",
15
+ "3": "hyatt pool",
16
+ "4": "hyatt restaurants",
17
+ "5": "hyatt suites"
18
+ },
19
+ "image_size": 224,
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 3072,
22
+ "label2id": {
23
+ "hyatt beach": "0",
24
+ "hyatt fitness": "1",
25
+ "hyatt food": "2",
26
+ "hyatt pool": "3",
27
+ "hyatt restaurants": "4",
28
+ "hyatt suites": "5"
29
+ },
30
+ "layer_norm_eps": 1e-12,
31
+ "model_type": "vit",
32
+ "num_attention_heads": 12,
33
+ "num_channels": 3,
34
+ "num_hidden_layers": 12,
35
+ "patch_size": 16,
36
+ "problem_type": "single_label_classification",
37
+ "qkv_bias": true,
38
+ "torch_dtype": "float32",
39
+ "transformers_version": "4.25.1"
40
+ }
images/hyatt_beach.jpg ADDED

Git LFS Details

  • SHA256: b6aba3e05770069753b1fd6d371ef0b312865638ff1c75313c53af4f7afa5917
  • Pointer size: 131 Bytes
  • Size of remote file: 900 kB
images/hyatt_fitness.jpg ADDED

Git LFS Details

  • SHA256: 6cc9c409df5ffdbb3413e35cb3fefb0e0ab869bd3732cc603e27c7e340b18cf0
  • Pointer size: 130 Bytes
  • Size of remote file: 73.1 kB
images/hyatt_food.jpg ADDED

Git LFS Details

  • SHA256: 524edf4b2b6f069dbba4e9d8c2247d93c629814a6afa458c0636d0106a9dcdb6
  • Pointer size: 131 Bytes
  • Size of remote file: 563 kB
images/hyatt_pool.jpg ADDED

Git LFS Details

  • SHA256: 3bb7c853d3dab51596d9bdc9d8b929383afc16f57b2edfd9962d500c3434b736
  • Pointer size: 131 Bytes
  • Size of remote file: 530 kB
images/hyatt_restaurants.jpg ADDED

Git LFS Details

  • SHA256: 524edf4b2b6f069dbba4e9d8c2247d93c629814a6afa458c0636d0106a9dcdb6
  • Pointer size: 131 Bytes
  • Size of remote file: 563 kB
images/hyatt_suites.jpg ADDED

Git LFS Details

  • SHA256: a5ea0e777ecfb574717dbba7f772933d3c4b98e3f2fdbc7345322dfcda17a533
  • Pointer size: 130 Bytes
  • Size of remote file: 14 kB
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:3535d8f121f437872ff345ff953092dcddb832c3671e879aa2768ad432fcb234
3
+ size 343278253
runs/events.out.tfevents.1672009310.24fd190f97b1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d1bddb11a70d5a22493792ce5e6d7e773ff77d58d90fb62d7ff59d7eba2d4bae
3
+ size 1893