Commit From AutoTrain
Browse files- .gitattributes +3 -0
- README.md +37 -0
- config.json +142 -0
- preprocessor_config.json +23 -0
- pytorch_model.bin +3 -0
.gitattributes
CHANGED
@@ -32,3 +32,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
32 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
33 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
32 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
33 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
35 |
+
*.bin.* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
*.tar.gz filter=lfs diff=lfs merge=lfs -text
|
37 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- autotrain
|
4 |
+
- vision
|
5 |
+
- image-classification
|
6 |
+
datasets:
|
7 |
+
- lablancas/autotrain-data-multifamily
|
8 |
+
widget:
|
9 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/tiger.jpg
|
10 |
+
example_title: Tiger
|
11 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/teapot.jpg
|
12 |
+
example_title: Teapot
|
13 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/palace.jpg
|
14 |
+
example_title: Palace
|
15 |
+
co2_eq_emissions:
|
16 |
+
emissions: 4.633385512099204
|
17 |
+
---
|
18 |
+
|
19 |
+
# Model Trained Using AutoTrain
|
20 |
+
|
21 |
+
- Problem type: Multi-class Classification
|
22 |
+
- Model ID: 3716799077
|
23 |
+
- CO2 Emissions (in grams): 4.6334
|
24 |
+
|
25 |
+
## Validation Metrics
|
26 |
+
|
27 |
+
- Loss: 0.777
|
28 |
+
- Accuracy: 0.762
|
29 |
+
- Macro F1: 0.740
|
30 |
+
- Micro F1: 0.762
|
31 |
+
- Weighted F1: 0.742
|
32 |
+
- Macro Precision: 0.754
|
33 |
+
- Micro Precision: 0.762
|
34 |
+
- Weighted Precision: 0.754
|
35 |
+
- Macro Recall: 0.758
|
36 |
+
- Micro Recall: 0.762
|
37 |
+
- Weighted Recall: 0.762
|
config.json
ADDED
@@ -0,0 +1,142 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "AutoTrain",
|
3 |
+
"architectures": [
|
4 |
+
"SwinForImageClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"depths": [
|
8 |
+
2,
|
9 |
+
2,
|
10 |
+
18,
|
11 |
+
2
|
12 |
+
],
|
13 |
+
"drop_path_rate": 0.1,
|
14 |
+
"embed_dim": 128,
|
15 |
+
"encoder_stride": 32,
|
16 |
+
"hidden_act": "gelu",
|
17 |
+
"hidden_dropout_prob": 0.0,
|
18 |
+
"hidden_size": 1024,
|
19 |
+
"id2label": {
|
20 |
+
"0": "Balcony-Patio",
|
21 |
+
"1": "Bathroom",
|
22 |
+
"10": "Construction",
|
23 |
+
"11": "Dining Room",
|
24 |
+
"12": "Dog Park",
|
25 |
+
"13": "Fire Pit",
|
26 |
+
"14": "Fitness Center",
|
27 |
+
"15": "Floorplan",
|
28 |
+
"16": "Fountain",
|
29 |
+
"17": "Green Space",
|
30 |
+
"18": "Grilling Area",
|
31 |
+
"19": "Hallway",
|
32 |
+
"2": "Bedroom",
|
33 |
+
"20": "Headshot",
|
34 |
+
"21": "Home Office",
|
35 |
+
"22": "Hot Tub",
|
36 |
+
"23": "Kitchen",
|
37 |
+
"24": "Laundry Facility",
|
38 |
+
"25": "Laundry Washer-Dryer",
|
39 |
+
"26": "Leasing Office",
|
40 |
+
"27": "Living Room",
|
41 |
+
"28": "Living Room Fireplace",
|
42 |
+
"29": "Logo",
|
43 |
+
"3": "Bike",
|
44 |
+
"30": "Lounge Area",
|
45 |
+
"31": "Mail Box",
|
46 |
+
"32": "Monument Sign",
|
47 |
+
"33": "Neighborhood",
|
48 |
+
"34": "Packages",
|
49 |
+
"35": "Parking",
|
50 |
+
"36": "Pet Washing",
|
51 |
+
"37": "Picnic Area",
|
52 |
+
"38": "Play Park",
|
53 |
+
"39": "Pool",
|
54 |
+
"4": "Building",
|
55 |
+
"40": "Pool Cabanas",
|
56 |
+
"41": "Pool Table",
|
57 |
+
"42": "Private Garage",
|
58 |
+
"43": "Site-plan",
|
59 |
+
"44": "Stock Photo",
|
60 |
+
"45": "Tennis Court",
|
61 |
+
"46": "View-Aerial",
|
62 |
+
"47": "room",
|
63 |
+
"5": "Business Center",
|
64 |
+
"6": "Business Center Conference Room",
|
65 |
+
"7": "Closet",
|
66 |
+
"8": "Clubhouse",
|
67 |
+
"9": "Clubhouse Dining Room"
|
68 |
+
},
|
69 |
+
"image_size": 224,
|
70 |
+
"initializer_range": 0.02,
|
71 |
+
"label2id": {
|
72 |
+
"Balcony-Patio": "0",
|
73 |
+
"Bathroom": "1",
|
74 |
+
"Bedroom": "2",
|
75 |
+
"Bike": "3",
|
76 |
+
"Building": "4",
|
77 |
+
"Business Center": "5",
|
78 |
+
"Business Center Conference Room": "6",
|
79 |
+
"Closet": "7",
|
80 |
+
"Clubhouse": "8",
|
81 |
+
"Clubhouse Dining Room": "9",
|
82 |
+
"Construction": "10",
|
83 |
+
"Dining Room": "11",
|
84 |
+
"Dog Park": "12",
|
85 |
+
"Fire Pit": "13",
|
86 |
+
"Fitness Center": "14",
|
87 |
+
"Floorplan": "15",
|
88 |
+
"Fountain": "16",
|
89 |
+
"Green Space": "17",
|
90 |
+
"Grilling Area": "18",
|
91 |
+
"Hallway": "19",
|
92 |
+
"Headshot": "20",
|
93 |
+
"Home Office": "21",
|
94 |
+
"Hot Tub": "22",
|
95 |
+
"Kitchen": "23",
|
96 |
+
"Laundry Facility": "24",
|
97 |
+
"Laundry Washer-Dryer": "25",
|
98 |
+
"Leasing Office": "26",
|
99 |
+
"Living Room": "27",
|
100 |
+
"Living Room Fireplace": "28",
|
101 |
+
"Logo": "29",
|
102 |
+
"Lounge Area": "30",
|
103 |
+
"Mail Box": "31",
|
104 |
+
"Monument Sign": "32",
|
105 |
+
"Neighborhood": "33",
|
106 |
+
"Packages": "34",
|
107 |
+
"Parking": "35",
|
108 |
+
"Pet Washing": "36",
|
109 |
+
"Picnic Area": "37",
|
110 |
+
"Play Park": "38",
|
111 |
+
"Pool": "39",
|
112 |
+
"Pool Cabanas": "40",
|
113 |
+
"Pool Table": "41",
|
114 |
+
"Private Garage": "42",
|
115 |
+
"Site-plan": "43",
|
116 |
+
"Stock Photo": "44",
|
117 |
+
"Tennis Court": "45",
|
118 |
+
"View-Aerial": "46",
|
119 |
+
"room": "47"
|
120 |
+
},
|
121 |
+
"layer_norm_eps": 1e-05,
|
122 |
+
"max_length": 128,
|
123 |
+
"mlp_ratio": 4.0,
|
124 |
+
"model_type": "swin",
|
125 |
+
"num_channels": 3,
|
126 |
+
"num_heads": [
|
127 |
+
4,
|
128 |
+
8,
|
129 |
+
16,
|
130 |
+
32
|
131 |
+
],
|
132 |
+
"num_layers": 4,
|
133 |
+
"padding": "max_length",
|
134 |
+
"patch_size": 4,
|
135 |
+
"path_norm": true,
|
136 |
+
"problem_type": "single_label_classification",
|
137 |
+
"qkv_bias": true,
|
138 |
+
"torch_dtype": "float32",
|
139 |
+
"transformers_version": "4.25.1",
|
140 |
+
"use_absolute_embeddings": false,
|
141 |
+
"window_size": 7
|
142 |
+
}
|
preprocessor_config.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"do_rescale": true,
|
4 |
+
"do_resize": true,
|
5 |
+
"feature_extractor_type": "ViTFeatureExtractor",
|
6 |
+
"image_mean": [
|
7 |
+
0.485,
|
8 |
+
0.456,
|
9 |
+
0.406
|
10 |
+
],
|
11 |
+
"image_processor_type": "ViTImageProcessor",
|
12 |
+
"image_std": [
|
13 |
+
0.229,
|
14 |
+
0.224,
|
15 |
+
0.225
|
16 |
+
],
|
17 |
+
"resample": 3,
|
18 |
+
"rescale_factor": 0.00392156862745098,
|
19 |
+
"size": {
|
20 |
+
"height": 224,
|
21 |
+
"width": 224
|
22 |
+
}
|
23 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ffb818d8f4f92d2c00abb7b6e95e529f0530537e47f6ea0c63bfc97fada72ab9
|
3 |
+
size 347788369
|