commit files to HF hub
Browse files- .gitattributes +7 -0
- README.md +60 -0
- config.json +42 -0
- images/bathroom.jpg +3 -0
- images/bedroom.jpg +3 -0
- images/dining_room.jpg +3 -0
- images/house_facade.jpg +3 -0
- images/kitchen.jpg +3 -0
- images/living_room.jpg +3 -0
- images/sao_paulo_apartment_facade.jpg +3 -0
- preprocessor_config.json +17 -0
- pytorch_model.bin +3 -0
- runs/events.out.tfevents.1664353892.6c0660a13e3e.68.0 +3 -0
.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
|
images/bedroom.jpg
ADDED
Git LFS Details
|
images/dining_room.jpg
ADDED
Git LFS Details
|
images/house_facade.jpg
ADDED
Git LFS Details
|
images/kitchen.jpg
ADDED
Git LFS Details
|
images/living_room.jpg
ADDED
Git LFS Details
|
images/sao_paulo_apartment_facade.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: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
|