commit files to HF hub
Browse files- .gitattributes +9 -0
- README.md +64 -0
- config.json +46 -0
- images/Exterior.JPEG +3 -0
- images/Interior.JPEG +3 -0
- images/bathroom.JPEG +3 -0
- images/bedroom.JPEG +3 -0
- images/closets.JPEG +3 -0
- images/dinning_room.jpeg +3 -0
- images/kitchen.JPEG +3 -0
- images/living_room.JPEG +3 -0
- images/others.JPEG +3 -0
- model.safetensors +3 -0
- preprocessor_config.json +22 -0
.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/dinning_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
|
| 11 |
+
results:
|
| 12 |
+
- task:
|
| 13 |
+
name: Image Classification
|
| 14 |
+
type: image-classification
|
| 15 |
+
metrics:
|
| 16 |
+
- name: Accuracy
|
| 17 |
+
type: accuracy
|
| 18 |
+
value: 0.9646892547607422
|
| 19 |
+
---
|
| 20 |
+
|
| 21 |
+
# living-spaces-classification_scraper
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
House & Apartaments Classification model🤗🖼️
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
## Example Images
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
#### Exterior
|
| 31 |
+
|
| 32 |
+

|
| 33 |
+
|
| 34 |
+
#### Interior
|
| 35 |
+
|
| 36 |
+

|
| 37 |
+
|
| 38 |
+
#### bathroom
|
| 39 |
+
|
| 40 |
+

|
| 41 |
+
|
| 42 |
+
#### bedroom
|
| 43 |
+
|
| 44 |
+

|
| 45 |
+
|
| 46 |
+
#### closets
|
| 47 |
+
|
| 48 |
+

|
| 49 |
+
|
| 50 |
+
#### dinning_room
|
| 51 |
+
|
| 52 |
+

|
| 53 |
+
|
| 54 |
+
#### kitchen
|
| 55 |
+
|
| 56 |
+

|
| 57 |
+
|
| 58 |
+
#### living_room
|
| 59 |
+
|
| 60 |
+

|
| 61 |
+
|
| 62 |
+
#### others
|
| 63 |
+
|
| 64 |
+

|
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": "dinning_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 |
+
"dinning_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
|
images/Interior.JPEG
ADDED
|
|
Git LFS Details
|
images/bathroom.JPEG
ADDED
|
|
Git LFS Details
|
images/bedroom.JPEG
ADDED
|
|
Git LFS Details
|
images/closets.JPEG
ADDED
|
|
Git LFS Details
|
images/dinning_room.jpeg
ADDED
|
Git LFS Details
|
images/kitchen.JPEG
ADDED
|
|
Git LFS Details
|
images/living_room.JPEG
ADDED
|
|
Git LFS Details
|
images/others.JPEG
ADDED
|
|
Git LFS Details
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ed324097bd289572118c56682b19af51cfd349443b5dfcf28893ab70842a3d39
|
| 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 |
+
}
|