chris32 commited on
Commit
f5eaf8e
1 Parent(s): 5ae5fb4

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.JPEG filter=lfs diff=lfs merge=lfs -text
38
+ images/bathroom.JPEG filter=lfs diff=lfs merge=lfs -text
39
+ images/bedroom.JPEG filter=lfs diff=lfs merge=lfs -text
40
+ images/closets.JPEG filter=lfs diff=lfs merge=lfs -text
41
+ images/dining_room.jpeg filter=lfs diff=lfs merge=lfs -text
42
+ images/kitchen.JPEG filter=lfs diff=lfs merge=lfs -text
43
+ images/living_room.JPEG filter=lfs diff=lfs merge=lfs -text
44
+ images/others.JPEG 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_2
11
+ results:
12
+ - task:
13
+ name: Image Classification
14
+ type: image-classification
15
+ metrics:
16
+ - name: Accuracy
17
+ type: accuracy
18
+ value: 0.9435028433799744
19
+ ---
20
+
21
+ # living-spaces-classification_scraper_2
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.JPEG)
37
+
38
+ #### bathroom
39
+
40
+ ![bathroom](images/bathroom.JPEG)
41
+
42
+ #### bedroom
43
+
44
+ ![bedroom](images/bedroom.JPEG)
45
+
46
+ #### closets
47
+
48
+ ![closets](images/closets.JPEG)
49
+
50
+ #### dining_room
51
+
52
+ ![dining_room](images/dining_room.jpeg)
53
+
54
+ #### kitchen
55
+
56
+ ![kitchen](images/kitchen.JPEG)
57
+
58
+ #### living_room
59
+
60
+ ![living_room](images/living_room.JPEG)
61
+
62
+ #### others
63
+
64
+ ![others](images/others.JPEG)
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.JPEG ADDED

Git LFS Details

  • SHA256: ed37a90efef726b27bb15f1df38614cad36fd75779471138f151b064d5a797d6
  • Pointer size: 131 Bytes
  • Size of remote file: 271 kB
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.JPEG ADDED

Git LFS Details

  • SHA256: 9dd2b56c2bca25506899f06a30ae8a218035d66618e23909e757430a3e034dcf
  • Pointer size: 130 Bytes
  • Size of remote file: 85.2 kB
images/closets.JPEG ADDED

Git LFS Details

  • SHA256: 0247b360492e7dc4a038f54cf13f6d30acf8483651ce0fd9a308b2fa9a64957d
  • Pointer size: 130 Bytes
  • Size of remote file: 67.5 kB
images/dining_room.jpeg ADDED

Git LFS Details

  • SHA256: 4138671ba6bf12bc5c93e45e2c881e6033c9bae4e8a6e5091140ee92bfa7fd87
  • Pointer size: 131 Bytes
  • Size of remote file: 238 kB
images/kitchen.JPEG ADDED

Git LFS Details

  • SHA256: ae3f259168e1c3b0930e320a9f5f1db42043f2e6d4c96cacddd29013632d46b1
  • Pointer size: 130 Bytes
  • Size of remote file: 76.8 kB
images/living_room.JPEG ADDED

Git LFS Details

  • SHA256: 7263d59acdde2fadfe9f958ec82ed03681dbc8327ca871106f0cf0a564b52c92
  • Pointer size: 131 Bytes
  • Size of remote file: 190 kB
images/others.JPEG ADDED

Git LFS Details

  • SHA256: 0617b83febdc860d2567e04f81c24b96ca33e7da11f4ba997c489503eb8c9fce
  • Pointer size: 131 Bytes
  • Size of remote file: 173 kB
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:72586196d6a9b017ddbe621e835e8308bc1e2dc7d05985a5a9d355b68c607f15
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
+ }