commit files to HF hub
Browse files- .gitattributes +9 -0
- README.md +68 -0
- config.json +46 -0
- images/Apartment.jpg +3 -0
- images/Bathroom.jpg +3 -0
- images/Bedroom.jpg +3 -0
- images/Closet.jpg +3 -0
- images/House.jpg +3 -0
- images/Kitchen.jpg +3 -0
- images/Living_room.jpg +3 -0
- images/Office_room.jpg +3 -0
- images/Study_room.jpg +3 -0
- model.safetensors +3 -0
- preprocessor_config.json +36 -0
- runs/events.out.tfevents.1718879942.54f551476367.309.0 +3 -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/Apartment.jpg filter=lfs diff=lfs merge=lfs -text
|
37 |
+
images/Bathroom.jpg filter=lfs diff=lfs merge=lfs -text
|
38 |
+
images/Bedroom.jpg filter=lfs diff=lfs merge=lfs -text
|
39 |
+
images/Closet.jpg filter=lfs diff=lfs merge=lfs -text
|
40 |
+
images/House.jpg filter=lfs diff=lfs merge=lfs -text
|
41 |
+
images/Kitchen.jpg filter=lfs diff=lfs merge=lfs -text
|
42 |
+
images/Living_room.jpg filter=lfs diff=lfs merge=lfs -text
|
43 |
+
images/Office_room.jpg filter=lfs diff=lfs merge=lfs -text
|
44 |
+
images/Study_room.jpg filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- image-classification
|
4 |
+
- pytorch
|
5 |
+
- huggingpics
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
|
9 |
+
model-index:
|
10 |
+
- name: GPTers_11th_Real_Estate_Classifier
|
11 |
+
results:
|
12 |
+
- task:
|
13 |
+
name: Image Classification
|
14 |
+
type: image-classification
|
15 |
+
metrics:
|
16 |
+
- name: Accuracy
|
17 |
+
type: accuracy
|
18 |
+
value: 0.7029703259468079
|
19 |
+
---
|
20 |
+
|
21 |
+
# GPTers_11th_Real_Estate_Classifier
|
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 |
+
#### Apartment
|
35 |
+
|
36 |
+
![Apartment](images/Apartment.jpg)
|
37 |
+
|
38 |
+
#### Bathroom
|
39 |
+
|
40 |
+
![Bathroom](images/Bathroom.jpg)
|
41 |
+
|
42 |
+
#### Bedroom
|
43 |
+
|
44 |
+
![Bedroom](images/Bedroom.jpg)
|
45 |
+
|
46 |
+
#### Closet
|
47 |
+
|
48 |
+
![Closet](images/Closet.jpg)
|
49 |
+
|
50 |
+
#### House
|
51 |
+
|
52 |
+
![House](images/House.jpg)
|
53 |
+
|
54 |
+
#### Kitchen
|
55 |
+
|
56 |
+
![Kitchen](images/Kitchen.jpg)
|
57 |
+
|
58 |
+
#### Living room
|
59 |
+
|
60 |
+
![Living room](images/Living_room.jpg)
|
61 |
+
|
62 |
+
#### Office room
|
63 |
+
|
64 |
+
![Office room](images/Office_room.jpg)
|
65 |
+
|
66 |
+
#### Study room
|
67 |
+
|
68 |
+
![Study room](images/Study_room.jpg)
|
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": "Apartment",
|
13 |
+
"1": "Bathroom",
|
14 |
+
"2": "Bedroom",
|
15 |
+
"3": "Closet",
|
16 |
+
"4": "House",
|
17 |
+
"5": "Kitchen",
|
18 |
+
"6": "Living room",
|
19 |
+
"7": "Office room",
|
20 |
+
"8": "Study room"
|
21 |
+
},
|
22 |
+
"image_size": 224,
|
23 |
+
"initializer_range": 0.02,
|
24 |
+
"intermediate_size": 3072,
|
25 |
+
"label2id": {
|
26 |
+
"Apartment": "0",
|
27 |
+
"Bathroom": "1",
|
28 |
+
"Bedroom": "2",
|
29 |
+
"Closet": "3",
|
30 |
+
"House": "4",
|
31 |
+
"Kitchen": "5",
|
32 |
+
"Living room": "6",
|
33 |
+
"Office room": "7",
|
34 |
+
"Study room": "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.41.2"
|
46 |
+
}
|
images/Apartment.jpg
ADDED
Git LFS Details
|
images/Bathroom.jpg
ADDED
Git LFS Details
|
images/Bedroom.jpg
ADDED
Git LFS Details
|
images/Closet.jpg
ADDED
Git LFS Details
|
images/House.jpg
ADDED
Git LFS Details
|
images/Kitchen.jpg
ADDED
Git LFS Details
|
images/Living_room.jpg
ADDED
Git LFS Details
|
images/Office_room.jpg
ADDED
Git LFS Details
|
images/Study_room.jpg
ADDED
Git LFS Details
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:920ced662e3ad4da5b75defd2e1c6fae5b7ae6817863254fa9d1beab0da9241d
|
3 |
+
size 343245508
|
preprocessor_config.json
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_valid_processor_keys": [
|
3 |
+
"images",
|
4 |
+
"do_resize",
|
5 |
+
"size",
|
6 |
+
"resample",
|
7 |
+
"do_rescale",
|
8 |
+
"rescale_factor",
|
9 |
+
"do_normalize",
|
10 |
+
"image_mean",
|
11 |
+
"image_std",
|
12 |
+
"return_tensors",
|
13 |
+
"data_format",
|
14 |
+
"input_data_format"
|
15 |
+
],
|
16 |
+
"do_normalize": true,
|
17 |
+
"do_rescale": true,
|
18 |
+
"do_resize": true,
|
19 |
+
"image_mean": [
|
20 |
+
0.5,
|
21 |
+
0.5,
|
22 |
+
0.5
|
23 |
+
],
|
24 |
+
"image_processor_type": "ViTFeatureExtractor",
|
25 |
+
"image_std": [
|
26 |
+
0.5,
|
27 |
+
0.5,
|
28 |
+
0.5
|
29 |
+
],
|
30 |
+
"resample": 2,
|
31 |
+
"rescale_factor": 0.00392156862745098,
|
32 |
+
"size": {
|
33 |
+
"height": 224,
|
34 |
+
"width": 224
|
35 |
+
}
|
36 |
+
}
|
runs/events.out.tfevents.1718879942.54f551476367.309.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5fc01d108fdcee1f65bdb9ac47f2ae84eaf68c36f952db7a42c390e088189b81
|
3 |
+
size 1960
|