chris32 commited on
Commit
9a502f2
1 Parent(s): 4db4a5e

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 filter=lfs diff=lfs merge=lfs -text
37
+ images/Interior.JPEG filter=lfs diff=lfs merge=lfs -text
38
+ images/bathroom.JPEG filter=lfs diff=lfs merge=lfs -text
39
+ images/bedroom filter=lfs diff=lfs merge=lfs -text
40
+ images/closets.JPEG 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 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: living-spaces-classification_scraper_balanced
11
+ results:
12
+ - task:
13
+ name: Image Classification
14
+ type: image-classification
15
+ metrics:
16
+ - name: Accuracy
17
+ type: accuracy
18
+ value: 0.9684106707572937
19
+ ---
20
+
21
+ # living-spaces-classification_scraper_balanced
22
+
23
+
24
+ House & Apartaments Classification model🤗🖼️
25
+
26
+
27
+ ## Example Images
28
+
29
+
30
+ #### Exterior
31
+
32
+ ![Exterior](images/Exterior)
33
+
34
+ #### Interior
35
+
36
+ ![Interior](images/Interior.JPEG)
37
+
38
+ #### bathroom
39
+
40
+ ![bathroom](images/bathroom.JPEG)
41
+
42
+ #### bedroom
43
+
44
+ ![bedroom](images/bedroom)
45
+
46
+ #### closets
47
+
48
+ ![closets](images/closets.JPEG)
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)
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.35.2"
46
+ }
images/Exterior ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d65165279105ca6773180500688df4bdc69a2c7b771752f0a46ef120b7fd8ec3
3
+ size 6148
images/Interior.JPEG ADDED

Git LFS Details

  • SHA256: 5fad39511f6c0eba734628b6cbce05f8e076d336f7973cb01f943258667aca8e
  • Pointer size: 131 Bytes
  • Size of remote file: 118 kB
images/bathroom.JPEG ADDED

Git LFS Details

  • SHA256: dd066b7f6d3d7b6dd58359678eb9c67663ccfe7dd34b061436824b53dcfc1156
  • Pointer size: 130 Bytes
  • Size of remote file: 36.1 kB
images/bedroom ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d65165279105ca6773180500688df4bdc69a2c7b771752f0a46ef120b7fd8ec3
3
+ size 6148
images/closets.JPEG ADDED

Git LFS Details

  • SHA256: 0247b360492e7dc4a038f54cf13f6d30acf8483651ce0fd9a308b2fa9a64957d
  • Pointer size: 130 Bytes
  • Size of remote file: 67.5 kB
images/dining_room ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d65165279105ca6773180500688df4bdc69a2c7b771752f0a46ef120b7fd8ec3
3
+ size 6148
images/kitchen.JPEG ADDED

Git LFS Details

  • SHA256: ae3f259168e1c3b0930e320a9f5f1db42043f2e6d4c96cacddd29013632d46b1
  • Pointer size: 130 Bytes
  • Size of remote file: 76.8 kB
images/living_room ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d65165279105ca6773180500688df4bdc69a2c7b771752f0a46ef120b7fd8ec3
3
+ size 6148
images/others ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d65165279105ca6773180500688df4bdc69a2c7b771752f0a46ef120b7fd8ec3
3
+ size 6148
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70515ce3b0c76a1c65b9e13a7e82f953b46617eb01f9be615943a8e27f6b5be7
3
+ size 343245508
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
+ }