andupets commited on
Commit
ae8cbb2
1 Parent(s): 4a8ec44

commit files to HF hub

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

Git LFS Details

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

Git LFS Details

  • SHA256: 29f6d92ed6c34afd10f47b56bdae4a879bbdf7b4e372ba141d8d25c2c52c37c3
  • Pointer size: 130 Bytes
  • Size of remote file: 31.5 kB
images/dining_room.jpg ADDED

Git LFS Details

  • SHA256: 4294a3d440c423d12e1467674b09520417e443b87cc689cfb5bc0e4bd753985c
  • Pointer size: 130 Bytes
  • Size of remote file: 27.6 kB
images/house_facade.jpg ADDED

Git LFS Details

  • SHA256: 2c464f595324a78a3c0af6b557b3bf9157047c5328877653d4d46e30bec3aeae
  • Pointer size: 130 Bytes
  • Size of remote file: 40.8 kB
images/kitchen.jpg ADDED

Git LFS Details

  • SHA256: f411eaa054712171d7148c43b57d24b40463aa052181c3dca25be35b99c0b238
  • Pointer size: 130 Bytes
  • Size of remote file: 25.3 kB
images/living_room.jpg ADDED

Git LFS Details

  • SHA256: 784525b32b86cf1126f99062a814ed53a03fe39bc84b230c280a493c8c2dc1ca
  • Pointer size: 130 Bytes
  • Size of remote file: 37.6 kB
images/sao_paulo_apartment_facade.jpg ADDED

Git LFS Details

  • SHA256: a973a4ddc113c60f726f37832d9b839fdecf03e731e823fb7da30f3041cd57e5
  • Pointer size: 130 Bytes
  • Size of remote file: 53.1 kB
preprocessor_config.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_resize": true,
4
+ "feature_extractor_type": "ViTFeatureExtractor",
5
+ "image_mean": [
6
+ 0.5,
7
+ 0.5,
8
+ 0.5
9
+ ],
10
+ "image_std": [
11
+ 0.5,
12
+ 0.5,
13
+ 0.5
14
+ ],
15
+ "resample": 2,
16
+ "size": 224
17
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c4174761f4c477e8e4d6b4713d5c97b665275fc9d0d75b5f8855edea3856cbc4
3
+ size 343279537
runs/events.out.tfevents.1664353892.6c0660a13e3e.68.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cd2a275265e47be20a64f7932ca54e0fb0af01fbb57e394a0fef974065b171f2
3
+ size 1630