commit files to HF hub
Browse files- .gitattributes +30 -0
- README.md +152 -0
- config.json +88 -0
- images/barbecue.jpg +3 -0
- images/bathroom.jpg +3 -0
- images/beauty_salon.jpg +3 -0
- images/bedroom.jpg +3 -0
- images/coworking_room.jpg +3 -0
- images/dining_room.jpg +3 -0
- images/elevator.jpg +3 -0
- images/facade.jpg +3 -0
- images/gate.jpg +3 -0
- images/gourmet_room.jpg +3 -0
- images/gym.jpg +3 -0
- images/home_hallway.jpg +3 -0
- images/house_facade.jpg +3 -0
- images/jacuzzy.jpg +3 -0
- images/kitchen.jpg +3 -0
- images/laundry_area.jpg +3 -0
- images/living_room.jpg +3 -0
- images/locker_room.jpg +3 -0
- images/massage_room.jpg +3 -0
- images/office.jpg +3 -0
- images/party_room.jpg +3 -0
- images/playground.jpg +3 -0
- images/sao_paulo_apartment_facade.jpg +3 -0
- images/sauna.jpg +3 -0
- images/security.jpg +3 -0
- images/service_room.jpg +3 -0
- images/suite.jpg +3 -0
- images/view.jpg +3 -0
- images/wardrobe.jpg +3 -0
- images/yard.jpg +3 -0
- preprocessor_config.json +17 -0
- pytorch_model.bin +3 -0
- runs/events.out.tfevents.1664975260.2eda7a66bc11.65.0 +3 -0
.gitattributes
CHANGED
@@ -30,3 +30,33 @@ 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/barbecue.jpg filter=lfs diff=lfs merge=lfs -text
|
34 |
+
images/bathroom.jpg filter=lfs diff=lfs merge=lfs -text
|
35 |
+
images/beauty_salon.jpg filter=lfs diff=lfs merge=lfs -text
|
36 |
+
images/bedroom.jpg filter=lfs diff=lfs merge=lfs -text
|
37 |
+
images/coworking_room.jpg filter=lfs diff=lfs merge=lfs -text
|
38 |
+
images/dining_room.jpg filter=lfs diff=lfs merge=lfs -text
|
39 |
+
images/elevator.jpg filter=lfs diff=lfs merge=lfs -text
|
40 |
+
images/facade.jpg filter=lfs diff=lfs merge=lfs -text
|
41 |
+
images/gate.jpg filter=lfs diff=lfs merge=lfs -text
|
42 |
+
images/gourmet_room.jpg filter=lfs diff=lfs merge=lfs -text
|
43 |
+
images/gym.jpg filter=lfs diff=lfs merge=lfs -text
|
44 |
+
images/home_hallway.jpg filter=lfs diff=lfs merge=lfs -text
|
45 |
+
images/house_facade.jpg filter=lfs diff=lfs merge=lfs -text
|
46 |
+
images/jacuzzy.jpg filter=lfs diff=lfs merge=lfs -text
|
47 |
+
images/kitchen.jpg filter=lfs diff=lfs merge=lfs -text
|
48 |
+
images/laundry_area.jpg filter=lfs diff=lfs merge=lfs -text
|
49 |
+
images/living_room.jpg filter=lfs diff=lfs merge=lfs -text
|
50 |
+
images/locker_room.jpg filter=lfs diff=lfs merge=lfs -text
|
51 |
+
images/massage_room.jpg filter=lfs diff=lfs merge=lfs -text
|
52 |
+
images/office.jpg filter=lfs diff=lfs merge=lfs -text
|
53 |
+
images/party_room.jpg filter=lfs diff=lfs merge=lfs -text
|
54 |
+
images/playground.jpg filter=lfs diff=lfs merge=lfs -text
|
55 |
+
images/sao_paulo_apartment_facade.jpg filter=lfs diff=lfs merge=lfs -text
|
56 |
+
images/sauna.jpg filter=lfs diff=lfs merge=lfs -text
|
57 |
+
images/security.jpg filter=lfs diff=lfs merge=lfs -text
|
58 |
+
images/service_room.jpg filter=lfs diff=lfs merge=lfs -text
|
59 |
+
images/suite.jpg filter=lfs diff=lfs merge=lfs -text
|
60 |
+
images/view.jpg filter=lfs diff=lfs merge=lfs -text
|
61 |
+
images/wardrobe.jpg filter=lfs diff=lfs merge=lfs -text
|
62 |
+
images/yard.jpg filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,152 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- image-classification
|
4 |
+
- pytorch
|
5 |
+
- huggingpics
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
|
9 |
+
model-index:
|
10 |
+
- name: real-estate-image-classification-30classes
|
11 |
+
results:
|
12 |
+
- task:
|
13 |
+
name: Image Classification
|
14 |
+
type: image-classification
|
15 |
+
metrics:
|
16 |
+
- name: Accuracy
|
17 |
+
type: accuracy
|
18 |
+
value: 0.6666666865348816
|
19 |
+
---
|
20 |
+
|
21 |
+
# real-estate-image-classification-30classes
|
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 |
+
#### barbecue
|
35 |
+
|
36 |
+
![barbecue](images/barbecue.jpg)
|
37 |
+
|
38 |
+
#### bathroom
|
39 |
+
|
40 |
+
![bathroom](images/bathroom.jpg)
|
41 |
+
|
42 |
+
#### beauty salon
|
43 |
+
|
44 |
+
![beauty salon](images/beauty_salon.jpg)
|
45 |
+
|
46 |
+
#### bedroom
|
47 |
+
|
48 |
+
![bedroom](images/bedroom.jpg)
|
49 |
+
|
50 |
+
#### coworking room
|
51 |
+
|
52 |
+
![coworking room](images/coworking_room.jpg)
|
53 |
+
|
54 |
+
#### dining room
|
55 |
+
|
56 |
+
![dining room](images/dining_room.jpg)
|
57 |
+
|
58 |
+
#### elevator
|
59 |
+
|
60 |
+
![elevator](images/elevator.jpg)
|
61 |
+
|
62 |
+
#### facade
|
63 |
+
|
64 |
+
![facade](images/facade.jpg)
|
65 |
+
|
66 |
+
#### gate
|
67 |
+
|
68 |
+
![gate](images/gate.jpg)
|
69 |
+
|
70 |
+
#### gourmet room
|
71 |
+
|
72 |
+
![gourmet room](images/gourmet_room.jpg)
|
73 |
+
|
74 |
+
#### gym
|
75 |
+
|
76 |
+
![gym](images/gym.jpg)
|
77 |
+
|
78 |
+
#### home hallway
|
79 |
+
|
80 |
+
![home hallway](images/home_hallway.jpg)
|
81 |
+
|
82 |
+
#### house facade
|
83 |
+
|
84 |
+
![house facade](images/house_facade.jpg)
|
85 |
+
|
86 |
+
#### jacuzzy
|
87 |
+
|
88 |
+
![jacuzzy](images/jacuzzy.jpg)
|
89 |
+
|
90 |
+
#### kitchen
|
91 |
+
|
92 |
+
![kitchen](images/kitchen.jpg)
|
93 |
+
|
94 |
+
#### laundry area
|
95 |
+
|
96 |
+
![laundry area](images/laundry_area.jpg)
|
97 |
+
|
98 |
+
#### living room
|
99 |
+
|
100 |
+
![living room](images/living_room.jpg)
|
101 |
+
|
102 |
+
#### locker room
|
103 |
+
|
104 |
+
![locker room](images/locker_room.jpg)
|
105 |
+
|
106 |
+
#### massage room
|
107 |
+
|
108 |
+
![massage room](images/massage_room.jpg)
|
109 |
+
|
110 |
+
#### office
|
111 |
+
|
112 |
+
![office](images/office.jpg)
|
113 |
+
|
114 |
+
#### party room
|
115 |
+
|
116 |
+
![party room](images/party_room.jpg)
|
117 |
+
|
118 |
+
#### playground
|
119 |
+
|
120 |
+
![playground](images/playground.jpg)
|
121 |
+
|
122 |
+
#### sao paulo apartment facade
|
123 |
+
|
124 |
+
![sao paulo apartment facade](images/sao_paulo_apartment_facade.jpg)
|
125 |
+
|
126 |
+
#### sauna
|
127 |
+
|
128 |
+
![sauna](images/sauna.jpg)
|
129 |
+
|
130 |
+
#### security
|
131 |
+
|
132 |
+
![security](images/security.jpg)
|
133 |
+
|
134 |
+
#### service room
|
135 |
+
|
136 |
+
![service room](images/service_room.jpg)
|
137 |
+
|
138 |
+
#### suite
|
139 |
+
|
140 |
+
![suite](images/suite.jpg)
|
141 |
+
|
142 |
+
#### view
|
143 |
+
|
144 |
+
![view](images/view.jpg)
|
145 |
+
|
146 |
+
#### wardrobe
|
147 |
+
|
148 |
+
![wardrobe](images/wardrobe.jpg)
|
149 |
+
|
150 |
+
#### yard
|
151 |
+
|
152 |
+
![yard](images/yard.jpg)
|
config.json
ADDED
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "barbecue",
|
13 |
+
"1": "bathroom",
|
14 |
+
"10": "gym",
|
15 |
+
"11": "home hallway",
|
16 |
+
"12": "house facade",
|
17 |
+
"13": "jacuzzy",
|
18 |
+
"14": "kitchen",
|
19 |
+
"15": "laundry area",
|
20 |
+
"16": "living room",
|
21 |
+
"17": "locker room",
|
22 |
+
"18": "massage room",
|
23 |
+
"19": "office",
|
24 |
+
"2": "beauty salon",
|
25 |
+
"20": "party room",
|
26 |
+
"21": "playground",
|
27 |
+
"22": "sao paulo apartment facade",
|
28 |
+
"23": "sauna",
|
29 |
+
"24": "security",
|
30 |
+
"25": "service room",
|
31 |
+
"26": "suite",
|
32 |
+
"27": "view",
|
33 |
+
"28": "wardrobe",
|
34 |
+
"29": "yard",
|
35 |
+
"3": "bedroom",
|
36 |
+
"4": "coworking room",
|
37 |
+
"5": "dining room",
|
38 |
+
"6": "elevator",
|
39 |
+
"7": "facade",
|
40 |
+
"8": "gate",
|
41 |
+
"9": "gourmet room"
|
42 |
+
},
|
43 |
+
"image_size": 224,
|
44 |
+
"initializer_range": 0.02,
|
45 |
+
"intermediate_size": 3072,
|
46 |
+
"label2id": {
|
47 |
+
"barbecue": "0",
|
48 |
+
"bathroom": "1",
|
49 |
+
"beauty salon": "2",
|
50 |
+
"bedroom": "3",
|
51 |
+
"coworking room": "4",
|
52 |
+
"dining room": "5",
|
53 |
+
"elevator": "6",
|
54 |
+
"facade": "7",
|
55 |
+
"gate": "8",
|
56 |
+
"gourmet room": "9",
|
57 |
+
"gym": "10",
|
58 |
+
"home hallway": "11",
|
59 |
+
"house facade": "12",
|
60 |
+
"jacuzzy": "13",
|
61 |
+
"kitchen": "14",
|
62 |
+
"laundry area": "15",
|
63 |
+
"living room": "16",
|
64 |
+
"locker room": "17",
|
65 |
+
"massage room": "18",
|
66 |
+
"office": "19",
|
67 |
+
"party room": "20",
|
68 |
+
"playground": "21",
|
69 |
+
"sao paulo apartment facade": "22",
|
70 |
+
"sauna": "23",
|
71 |
+
"security": "24",
|
72 |
+
"service room": "25",
|
73 |
+
"suite": "26",
|
74 |
+
"view": "27",
|
75 |
+
"wardrobe": "28",
|
76 |
+
"yard": "29"
|
77 |
+
},
|
78 |
+
"layer_norm_eps": 1e-12,
|
79 |
+
"model_type": "vit",
|
80 |
+
"num_attention_heads": 12,
|
81 |
+
"num_channels": 3,
|
82 |
+
"num_hidden_layers": 12,
|
83 |
+
"patch_size": 16,
|
84 |
+
"problem_type": "single_label_classification",
|
85 |
+
"qkv_bias": true,
|
86 |
+
"torch_dtype": "float32",
|
87 |
+
"transformers_version": "4.22.2"
|
88 |
+
}
|
images/barbecue.jpg
ADDED
Git LFS Details
|
images/bathroom.jpg
ADDED
Git LFS Details
|
images/beauty_salon.jpg
ADDED
Git LFS Details
|
images/bedroom.jpg
ADDED
Git LFS Details
|
images/coworking_room.jpg
ADDED
Git LFS Details
|
images/dining_room.jpg
ADDED
Git LFS Details
|
images/elevator.jpg
ADDED
Git LFS Details
|
images/facade.jpg
ADDED
Git LFS Details
|
images/gate.jpg
ADDED
Git LFS Details
|
images/gourmet_room.jpg
ADDED
Git LFS Details
|
images/gym.jpg
ADDED
Git LFS Details
|
images/home_hallway.jpg
ADDED
Git LFS Details
|
images/house_facade.jpg
ADDED
Git LFS Details
|
images/jacuzzy.jpg
ADDED
Git LFS Details
|
images/kitchen.jpg
ADDED
Git LFS Details
|
images/laundry_area.jpg
ADDED
Git LFS Details
|
images/living_room.jpg
ADDED
Git LFS Details
|
images/locker_room.jpg
ADDED
Git LFS Details
|
images/massage_room.jpg
ADDED
Git LFS Details
|
images/office.jpg
ADDED
Git LFS Details
|
images/party_room.jpg
ADDED
Git LFS Details
|
images/playground.jpg
ADDED
Git LFS Details
|
images/sao_paulo_apartment_facade.jpg
ADDED
Git LFS Details
|
images/sauna.jpg
ADDED
Git LFS Details
|
images/security.jpg
ADDED
Git LFS Details
|
images/service_room.jpg
ADDED
Git LFS Details
|
images/suite.jpg
ADDED
Git LFS Details
|
images/view.jpg
ADDED
Git LFS Details
|
images/wardrobe.jpg
ADDED
Git LFS Details
|
images/yard.jpg
ADDED
Git LFS Details
|
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:b33e12fd39c315fbdb02e7c469eb53d3817732e182c0740c711c32f49bab13bc
|
3 |
+
size 343350257
|
runs/events.out.tfevents.1664975260.2eda7a66bc11.65.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:690f62aa06b6a782dc1e2a35fb18eab208825a17adfa6a96f73df9616d7a415e
|
3 |
+
size 4330
|