vasken commited on
Commit
24076b3
1 Parent(s): a27058d

commit files to HF hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,11 @@ 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/bathroom.jpg filter=lfs diff=lfs merge=lfs -text
37
+ images/bedroom.jpg filter=lfs diff=lfs merge=lfs -text
38
+ images/dining_room.jpg filter=lfs diff=lfs merge=lfs -text
39
+ images/foyer.jpg filter=lfs diff=lfs merge=lfs -text
40
+ images/home_office.jpg filter=lfs diff=lfs merge=lfs -text
41
+ images/kitchen.jpg filter=lfs diff=lfs merge=lfs -text
42
+ images/laundry_room.jpg filter=lfs diff=lfs merge=lfs -text
43
+ images/living_room.jpg filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - image-classification
4
+ - pytorch
5
+ - huggingpics
6
+ metrics:
7
+ - accuracy
8
+
9
+ model-index:
10
+ - name: house_rooms
11
+ results:
12
+ - task:
13
+ name: Image Classification
14
+ type: image-classification
15
+ metrics:
16
+ - name: Accuracy
17
+ type: accuracy
18
+ value: 0.7166666388511658
19
+ ---
20
+
21
+ # house_rooms
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
+ #### bathroom
35
+
36
+ ![bathroom](images/bathroom.jpg)
37
+
38
+ #### bedroom
39
+
40
+ ![bedroom](images/bedroom.jpg)
41
+
42
+ #### dining room
43
+
44
+ ![dining room](images/dining_room.jpg)
45
+
46
+ #### foyer
47
+
48
+ ![foyer](images/foyer.jpg)
49
+
50
+ #### home office
51
+
52
+ ![home office](images/home_office.jpg)
53
+
54
+ #### kitchen
55
+
56
+ ![kitchen](images/kitchen.jpg)
57
+
58
+ #### laundry room
59
+
60
+ ![laundry room](images/laundry_room.jpg)
61
+
62
+ #### living room
63
+
64
+ ![living room](images/living_room.jpg)
config.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "bathroom",
13
+ "1": "bedroom",
14
+ "2": "dining room",
15
+ "3": "foyer",
16
+ "4": "home office",
17
+ "5": "kitchen",
18
+ "6": "laundry room",
19
+ "7": "living room"
20
+ },
21
+ "image_size": 224,
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 3072,
24
+ "label2id": {
25
+ "bathroom": "0",
26
+ "bedroom": "1",
27
+ "dining room": "2",
28
+ "foyer": "3",
29
+ "home office": "4",
30
+ "kitchen": "5",
31
+ "laundry room": "6",
32
+ "living room": "7"
33
+ },
34
+ "layer_norm_eps": 1e-12,
35
+ "model_type": "vit",
36
+ "num_attention_heads": 12,
37
+ "num_channels": 3,
38
+ "num_hidden_layers": 12,
39
+ "patch_size": 16,
40
+ "problem_type": "single_label_classification",
41
+ "qkv_bias": true,
42
+ "torch_dtype": "float32",
43
+ "transformers_version": "4.31.0"
44
+ }
images/bathroom.jpg ADDED

Git LFS Details

  • SHA256: f4381dd9b67e30b930a5d3652d2596fcc3ba6ca7741ec4f63a7d9e44125f8213
  • Pointer size: 130 Bytes
  • Size of remote file: 31.1 kB
images/bedroom.jpg ADDED

Git LFS Details

  • SHA256: 149268a20a7868e00ed0ce2f475ffaf5b2c63a3e9d2bfa7ea90c02020d243028
  • Pointer size: 130 Bytes
  • Size of remote file: 27.6 kB
images/dining_room.jpg ADDED

Git LFS Details

  • SHA256: fd51832fc757f1f984f209515725939ffbd3de7e0214eeb41235238c85a3d28c
  • Pointer size: 130 Bytes
  • Size of remote file: 28.4 kB
images/foyer.jpg ADDED

Git LFS Details

  • SHA256: 9158de5b6138d0961869dbe2c431abd69df241ba68af5d71952323d37d127224
  • Pointer size: 130 Bytes
  • Size of remote file: 48.1 kB
images/home_office.jpg ADDED

Git LFS Details

  • SHA256: d2306f2abd1f29c50e87519ca480eab275783bc615436163f8c51e864bfed50e
  • Pointer size: 130 Bytes
  • Size of remote file: 21.2 kB
images/kitchen.jpg ADDED

Git LFS Details

  • SHA256: d1b7fa4ed5fe8143990dbd1ff830568530e76cbd5991fc3467ac595df794539f
  • Pointer size: 130 Bytes
  • Size of remote file: 38 kB
images/laundry_room.jpg ADDED

Git LFS Details

  • SHA256: 4f31ae94bad5047a342ac5a98541063883a8af159654465e040f1068495e2265
  • Pointer size: 130 Bytes
  • Size of remote file: 28.5 kB
images/living_room.jpg ADDED

Git LFS Details

  • SHA256: fbd0dc279da585297b909a9621400056fe2299511cec7d10645741a569a669a1
  • Pointer size: 130 Bytes
  • Size of remote file: 32.7 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": "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
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ab1d0cb4ba6a9da3ed9cae7accc2b8ebd76a23bd83113c895db1e2673b2ac731
3
+ size 343284397
runs/events.out.tfevents.1692029403.2e9b8429777b.317.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d822870401808f6846ed339b481425c9b21da7ae2d6d982c338a70dbf62f6f23
3
+ size 1864