Upload SegformerForSemanticSegmentation
Browse files- README.md +199 -0
- config.json +210 -0
- model.safetensors +3 -0
README.md
ADDED
@@ -0,0 +1,199 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
tags: []
|
4 |
+
---
|
5 |
+
|
6 |
+
# Model Card for Model ID
|
7 |
+
|
8 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
9 |
+
|
10 |
+
|
11 |
+
|
12 |
+
## Model Details
|
13 |
+
|
14 |
+
### Model Description
|
15 |
+
|
16 |
+
<!-- Provide a longer summary of what this model is. -->
|
17 |
+
|
18 |
+
This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
|
19 |
+
|
20 |
+
- **Developed by:** [More Information Needed]
|
21 |
+
- **Funded by [optional]:** [More Information Needed]
|
22 |
+
- **Shared by [optional]:** [More Information Needed]
|
23 |
+
- **Model type:** [More Information Needed]
|
24 |
+
- **Language(s) (NLP):** [More Information Needed]
|
25 |
+
- **License:** [More Information Needed]
|
26 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
27 |
+
|
28 |
+
### Model Sources [optional]
|
29 |
+
|
30 |
+
<!-- Provide the basic links for the model. -->
|
31 |
+
|
32 |
+
- **Repository:** [More Information Needed]
|
33 |
+
- **Paper [optional]:** [More Information Needed]
|
34 |
+
- **Demo [optional]:** [More Information Needed]
|
35 |
+
|
36 |
+
## Uses
|
37 |
+
|
38 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
39 |
+
|
40 |
+
### Direct Use
|
41 |
+
|
42 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
43 |
+
|
44 |
+
[More Information Needed]
|
45 |
+
|
46 |
+
### Downstream Use [optional]
|
47 |
+
|
48 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
49 |
+
|
50 |
+
[More Information Needed]
|
51 |
+
|
52 |
+
### Out-of-Scope Use
|
53 |
+
|
54 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
55 |
+
|
56 |
+
[More Information Needed]
|
57 |
+
|
58 |
+
## Bias, Risks, and Limitations
|
59 |
+
|
60 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
61 |
+
|
62 |
+
[More Information Needed]
|
63 |
+
|
64 |
+
### Recommendations
|
65 |
+
|
66 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
67 |
+
|
68 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
69 |
+
|
70 |
+
## How to Get Started with the Model
|
71 |
+
|
72 |
+
Use the code below to get started with the model.
|
73 |
+
|
74 |
+
[More Information Needed]
|
75 |
+
|
76 |
+
## Training Details
|
77 |
+
|
78 |
+
### Training Data
|
79 |
+
|
80 |
+
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
81 |
+
|
82 |
+
[More Information Needed]
|
83 |
+
|
84 |
+
### Training Procedure
|
85 |
+
|
86 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
87 |
+
|
88 |
+
#### Preprocessing [optional]
|
89 |
+
|
90 |
+
[More Information Needed]
|
91 |
+
|
92 |
+
|
93 |
+
#### Training Hyperparameters
|
94 |
+
|
95 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
96 |
+
|
97 |
+
#### Speeds, Sizes, Times [optional]
|
98 |
+
|
99 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
100 |
+
|
101 |
+
[More Information Needed]
|
102 |
+
|
103 |
+
## Evaluation
|
104 |
+
|
105 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
106 |
+
|
107 |
+
### Testing Data, Factors & Metrics
|
108 |
+
|
109 |
+
#### Testing Data
|
110 |
+
|
111 |
+
<!-- This should link to a Dataset Card if possible. -->
|
112 |
+
|
113 |
+
[More Information Needed]
|
114 |
+
|
115 |
+
#### Factors
|
116 |
+
|
117 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
118 |
+
|
119 |
+
[More Information Needed]
|
120 |
+
|
121 |
+
#### Metrics
|
122 |
+
|
123 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
124 |
+
|
125 |
+
[More Information Needed]
|
126 |
+
|
127 |
+
### Results
|
128 |
+
|
129 |
+
[More Information Needed]
|
130 |
+
|
131 |
+
#### Summary
|
132 |
+
|
133 |
+
|
134 |
+
|
135 |
+
## Model Examination [optional]
|
136 |
+
|
137 |
+
<!-- Relevant interpretability work for the model goes here -->
|
138 |
+
|
139 |
+
[More Information Needed]
|
140 |
+
|
141 |
+
## Environmental Impact
|
142 |
+
|
143 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
144 |
+
|
145 |
+
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
146 |
+
|
147 |
+
- **Hardware Type:** [More Information Needed]
|
148 |
+
- **Hours used:** [More Information Needed]
|
149 |
+
- **Cloud Provider:** [More Information Needed]
|
150 |
+
- **Compute Region:** [More Information Needed]
|
151 |
+
- **Carbon Emitted:** [More Information Needed]
|
152 |
+
|
153 |
+
## Technical Specifications [optional]
|
154 |
+
|
155 |
+
### Model Architecture and Objective
|
156 |
+
|
157 |
+
[More Information Needed]
|
158 |
+
|
159 |
+
### Compute Infrastructure
|
160 |
+
|
161 |
+
[More Information Needed]
|
162 |
+
|
163 |
+
#### Hardware
|
164 |
+
|
165 |
+
[More Information Needed]
|
166 |
+
|
167 |
+
#### Software
|
168 |
+
|
169 |
+
[More Information Needed]
|
170 |
+
|
171 |
+
## Citation [optional]
|
172 |
+
|
173 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
174 |
+
|
175 |
+
**BibTeX:**
|
176 |
+
|
177 |
+
[More Information Needed]
|
178 |
+
|
179 |
+
**APA:**
|
180 |
+
|
181 |
+
[More Information Needed]
|
182 |
+
|
183 |
+
## Glossary [optional]
|
184 |
+
|
185 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
186 |
+
|
187 |
+
[More Information Needed]
|
188 |
+
|
189 |
+
## More Information [optional]
|
190 |
+
|
191 |
+
[More Information Needed]
|
192 |
+
|
193 |
+
## Model Card Authors [optional]
|
194 |
+
|
195 |
+
[More Information Needed]
|
196 |
+
|
197 |
+
## Model Card Contact
|
198 |
+
|
199 |
+
[More Information Needed]
|
config.json
ADDED
@@ -0,0 +1,210 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "Patnev71/floorplanv6",
|
3 |
+
"architectures": [
|
4 |
+
"SegformerForSemanticSegmentation"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"classifier_dropout_prob": 0.1,
|
8 |
+
"decoder_hidden_size": 256,
|
9 |
+
"depths": [
|
10 |
+
2,
|
11 |
+
2,
|
12 |
+
2,
|
13 |
+
2
|
14 |
+
],
|
15 |
+
"downsampling_rates": [
|
16 |
+
1,
|
17 |
+
4,
|
18 |
+
8,
|
19 |
+
16
|
20 |
+
],
|
21 |
+
"drop_path_rate": 0.1,
|
22 |
+
"hidden_act": "gelu",
|
23 |
+
"hidden_dropout_prob": 0.0,
|
24 |
+
"hidden_sizes": [
|
25 |
+
32,
|
26 |
+
64,
|
27 |
+
160,
|
28 |
+
256
|
29 |
+
],
|
30 |
+
"id2label": {
|
31 |
+
"0": "background",
|
32 |
+
"1": "Space Outdoor",
|
33 |
+
"2": "Space Room",
|
34 |
+
"3": "Space Kitchen",
|
35 |
+
"4": "Space Entry Lobby",
|
36 |
+
"5": "Space Bath",
|
37 |
+
"6": "Space Utility Laundry",
|
38 |
+
"7": "Space DraughtLobby",
|
39 |
+
"8": "Space LivingRoom",
|
40 |
+
"9": "Space Bedroom",
|
41 |
+
"10": "Space Undefined",
|
42 |
+
"11": "Space Closet WalkIn",
|
43 |
+
"12": "Space Bath Shower",
|
44 |
+
"13": "Space Outdoor Terrace",
|
45 |
+
"14": "Space Outdoor Porch",
|
46 |
+
"15": "Space Storage",
|
47 |
+
"16": "Space UserDefined",
|
48 |
+
"17": "Space Outdoor Balcony",
|
49 |
+
"18": "Space Outdoor CoveredArea",
|
50 |
+
"19": "Space Dining",
|
51 |
+
"20": "Space Entry",
|
52 |
+
"21": "Space Kitchen Kitchenette",
|
53 |
+
"22": "Space Library",
|
54 |
+
"23": "Space Hall",
|
55 |
+
"24": "Space DressingRoom",
|
56 |
+
"25": "Space Garage",
|
57 |
+
"26": "Space Alcove",
|
58 |
+
"27": "Space Office",
|
59 |
+
"28": "Space Outdoor Garden",
|
60 |
+
"29": "Space Kitchen Open",
|
61 |
+
"30": "Space Storage Cold",
|
62 |
+
"31": "Space TechnicalRoom Boiler",
|
63 |
+
"32": "Space Room Cold",
|
64 |
+
"33": "Space RecreationRoom",
|
65 |
+
"34": "Space Den Fireplace",
|
66 |
+
"35": "Space Attic",
|
67 |
+
"36": "Space CarPort",
|
68 |
+
"37": "Space TechnicalRoom",
|
69 |
+
"38": "Space Outdoor Balcony Glazed",
|
70 |
+
"39": "Space Outdoor Veranda",
|
71 |
+
"40": "Space Outdoor Patio Glazed",
|
72 |
+
"41": "Space Sauna",
|
73 |
+
"42": "Space Utility Drying",
|
74 |
+
"43": "Space Kitchen Scullery",
|
75 |
+
"44": "Space Outdoor Terrace Covered",
|
76 |
+
"45": "Space Outdoor Balcony Covered",
|
77 |
+
"46": "Space Basement",
|
78 |
+
"47": "Space Elevated",
|
79 |
+
"48": "Space Hall Corridor",
|
80 |
+
"49": "Space Storage Oil",
|
81 |
+
"50": "Space Outdoor Patio",
|
82 |
+
"51": "Space Outdoor Veranda Glazed",
|
83 |
+
"52": "Space Outdoor Terrace Roof",
|
84 |
+
"53": "Space Outdoor Pergola",
|
85 |
+
"54": "Space RetailSpace",
|
86 |
+
"55": "Space SwimmingPool",
|
87 |
+
"56": "Space Storage Shed",
|
88 |
+
"57": "Space Storage Fuel",
|
89 |
+
"58": "Space OpenToBelow",
|
90 |
+
"59": "Space Outdoor Terrace Covered Open",
|
91 |
+
"60": "Space Outdoor Kitchen",
|
92 |
+
"61": "Space Room HighCeiling",
|
93 |
+
"62": "Space Garbage",
|
94 |
+
"63": "Space Storage Wood",
|
95 |
+
"64": "Space Library Archive",
|
96 |
+
"65": "Space Bedroom Guest",
|
97 |
+
"66": "Space ExerciseRoom Gym",
|
98 |
+
"67": "Space Elevator"
|
99 |
+
},
|
100 |
+
"image_size": 224,
|
101 |
+
"initializer_range": 0.02,
|
102 |
+
"label2id": {
|
103 |
+
"Space Alcove": 26,
|
104 |
+
"Space Attic": 35,
|
105 |
+
"Space Basement": 46,
|
106 |
+
"Space Bath": 5,
|
107 |
+
"Space Bath Shower": 12,
|
108 |
+
"Space Bedroom": 9,
|
109 |
+
"Space Bedroom Guest": 65,
|
110 |
+
"Space CarPort": 36,
|
111 |
+
"Space Closet WalkIn": 11,
|
112 |
+
"Space Den Fireplace": 34,
|
113 |
+
"Space Dining": 19,
|
114 |
+
"Space DraughtLobby": 7,
|
115 |
+
"Space DressingRoom": 24,
|
116 |
+
"Space Elevated": 47,
|
117 |
+
"Space Elevator": 67,
|
118 |
+
"Space Entry": 20,
|
119 |
+
"Space Entry Lobby": 4,
|
120 |
+
"Space ExerciseRoom Gym": 66,
|
121 |
+
"Space Garage": 25,
|
122 |
+
"Space Garbage": 62,
|
123 |
+
"Space Hall": 23,
|
124 |
+
"Space Hall Corridor": 48,
|
125 |
+
"Space Kitchen": 3,
|
126 |
+
"Space Kitchen Kitchenette": 21,
|
127 |
+
"Space Kitchen Open": 29,
|
128 |
+
"Space Kitchen Scullery": 43,
|
129 |
+
"Space Library": 22,
|
130 |
+
"Space Library Archive": 64,
|
131 |
+
"Space LivingRoom": 8,
|
132 |
+
"Space Office": 27,
|
133 |
+
"Space OpenToBelow": 58,
|
134 |
+
"Space Outdoor": 1,
|
135 |
+
"Space Outdoor Balcony": 17,
|
136 |
+
"Space Outdoor Balcony Covered": 45,
|
137 |
+
"Space Outdoor Balcony Glazed": 38,
|
138 |
+
"Space Outdoor CoveredArea": 18,
|
139 |
+
"Space Outdoor Garden": 28,
|
140 |
+
"Space Outdoor Kitchen": 60,
|
141 |
+
"Space Outdoor Patio": 50,
|
142 |
+
"Space Outdoor Patio Glazed": 40,
|
143 |
+
"Space Outdoor Pergola": 53,
|
144 |
+
"Space Outdoor Porch": 14,
|
145 |
+
"Space Outdoor Terrace": 13,
|
146 |
+
"Space Outdoor Terrace Covered": 44,
|
147 |
+
"Space Outdoor Terrace Covered Open": 59,
|
148 |
+
"Space Outdoor Terrace Roof": 52,
|
149 |
+
"Space Outdoor Veranda": 39,
|
150 |
+
"Space Outdoor Veranda Glazed": 51,
|
151 |
+
"Space RecreationRoom": 33,
|
152 |
+
"Space RetailSpace": 54,
|
153 |
+
"Space Room": 2,
|
154 |
+
"Space Room Cold": 32,
|
155 |
+
"Space Room HighCeiling": 61,
|
156 |
+
"Space Sauna": 41,
|
157 |
+
"Space Storage": 15,
|
158 |
+
"Space Storage Cold": 30,
|
159 |
+
"Space Storage Fuel": 57,
|
160 |
+
"Space Storage Oil": 49,
|
161 |
+
"Space Storage Shed": 56,
|
162 |
+
"Space Storage Wood": 63,
|
163 |
+
"Space SwimmingPool": 55,
|
164 |
+
"Space TechnicalRoom": 37,
|
165 |
+
"Space TechnicalRoom Boiler": 31,
|
166 |
+
"Space Undefined": 10,
|
167 |
+
"Space UserDefined": 16,
|
168 |
+
"Space Utility Drying": 42,
|
169 |
+
"Space Utility Laundry": 6,
|
170 |
+
"background": 0
|
171 |
+
},
|
172 |
+
"layer_norm_eps": 1e-06,
|
173 |
+
"mlp_ratios": [
|
174 |
+
4,
|
175 |
+
4,
|
176 |
+
4,
|
177 |
+
4
|
178 |
+
],
|
179 |
+
"model_type": "segformer",
|
180 |
+
"num_attention_heads": [
|
181 |
+
1,
|
182 |
+
2,
|
183 |
+
5,
|
184 |
+
8
|
185 |
+
],
|
186 |
+
"num_channels": 3,
|
187 |
+
"num_encoder_blocks": 4,
|
188 |
+
"patch_sizes": [
|
189 |
+
7,
|
190 |
+
3,
|
191 |
+
3,
|
192 |
+
3
|
193 |
+
],
|
194 |
+
"reshape_last_stage": true,
|
195 |
+
"semantic_loss_ignore_index": 255,
|
196 |
+
"sr_ratios": [
|
197 |
+
8,
|
198 |
+
4,
|
199 |
+
2,
|
200 |
+
1
|
201 |
+
],
|
202 |
+
"strides": [
|
203 |
+
4,
|
204 |
+
2,
|
205 |
+
2,
|
206 |
+
2
|
207 |
+
],
|
208 |
+
"torch_dtype": "float32",
|
209 |
+
"transformers_version": "4.47.1"
|
210 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0fa7ad8987654c3561f745b44e8e4d1a52b9303391dc32d794ea56a0fa4a6026
|
3 |
+
size 14952640
|