JuanMa360 commited on
Commit
4bea964
1 Parent(s): 12a1eaa

commit files to HF hub

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

Git LFS Details

  • SHA256: faeb967d47e6df08f97c328a677ef9ccba78cda5964eaf0b83880e2357c0bb4f
  • Pointer size: 131 Bytes
  • Size of remote file: 244 kB
images/Interior ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7cc3d94afabf755a7c41ba2b9ca597f508272fc6903f7939b6145b9cdfd66099
3
+ size 69636
images/bathroom ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e6684ce06429c4fa5919ff962861e017086e1f294e664468857b2cc8608d2e29
3
+ size 10244
images/bedroom ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6263681f9958c9103699840e5ea6b67550bbef9a0989826d0de33754c87d4a6d
3
+ size 43012
images/closets.jpg ADDED

Git LFS Details

  • SHA256: 8f7aea352e4dafa3c481a5ada9fc3d79616544af1cea535c46cc91430294b689
  • Pointer size: 130 Bytes
  • Size of remote file: 24.3 kB
images/dining_room ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d1fe178c2bcde0d0ead687ee26987d1024f82d6fb03a5cc3b3b22e7b85b371c9
3
+ size 69636
images/kitchen.jpeg ADDED

Git LFS Details

  • SHA256: 32cbb2257a8f3634e9cbb579b2a250e36a3dfe95d7321fd22660c5f2122c5311
  • Pointer size: 130 Bytes
  • Size of remote file: 63.5 kB
images/living_room ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ad7fed3eb80e97c5fcfcc0cbfa42684c25d1fcece10c263f9769bf331665c128
3
+ size 161796
images/others.jpg ADDED

Git LFS Details

  • SHA256: aa52fe0238e50f35beaa14d609a1791519d51ba2b37b8c985a836eb5f80cfc54
  • Pointer size: 130 Bytes
  • Size of remote file: 18.6 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:cd2c363fff13deaa26ef96c70ab255ffac2cc493fdf4a275a98468c11404fb61
3
+ size 343287469