chris32 commited on
Commit
353d880
1 Parent(s): a6e39fc

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 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 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_clean
11
+ results:
12
+ - task:
13
+ name: Image Classification
14
+ type: image-classification
15
+ metrics:
16
+ - name: Accuracy
17
+ type: accuracy
18
+ value: 0.9680511355400085
19
+ ---
20
+
21
+ # living-spaces-classification_scraper_clean
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)
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)
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 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d65165279105ca6773180500688df4bdc69a2c7b771752f0a46ef120b7fd8ec3
3
+ size 6148
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 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d65165279105ca6773180500688df4bdc69a2c7b771752f0a46ef120b7fd8ec3
3
+ size 6148
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:7d4e2fc65ab1be19364bb753369d3b72bb66501a93d5434f6579f3690da0ef4b
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
+ }