Spaces:
Runtime error
Runtime error
patch: fix yaml congif
Browse files
model_weights/buildings_poc_cfg.yml
CHANGED
@@ -2,7 +2,7 @@ CUDNN_BENCHMARK: false
|
|
2 |
DATALOADER:
|
3 |
ASPECT_RATIO_GROUPING: true
|
4 |
FILTER_EMPTY_ANNOTATIONS: true
|
5 |
-
NUM_WORKERS:
|
6 |
REPEAT_THRESHOLD: 0.0
|
7 |
SAMPLER_TRAIN: TrainingSampler
|
8 |
DATASETS:
|
@@ -10,8 +10,10 @@ DATASETS:
|
|
10 |
PRECOMPUTED_PROPOSAL_TOPK_TRAIN: 2000
|
11 |
PROPOSAL_FILES_TEST: []
|
12 |
PROPOSAL_FILES_TRAIN: []
|
13 |
-
TEST:
|
14 |
-
|
|
|
|
|
15 |
GLOBAL:
|
16 |
HACK: 1.0
|
17 |
INPUT:
|
@@ -27,6 +29,11 @@ INPUT:
|
|
27 |
MAX_SIZE_TRAIN: 1333
|
28 |
MIN_SIZE_TEST: 800
|
29 |
MIN_SIZE_TRAIN:
|
|
|
|
|
|
|
|
|
|
|
30 |
- 800
|
31 |
MIN_SIZE_TRAIN_SAMPLING: choice
|
32 |
RANDOM_FLIP: horizontal
|
@@ -44,22 +51,26 @@ MODEL:
|
|
44 |
OFFSET: 0.0
|
45 |
SIZES:
|
46 |
- - 32
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
BACKBONE:
|
52 |
FREEZE_AT: 2
|
53 |
-
NAME:
|
54 |
-
DEVICE:
|
55 |
FPN:
|
56 |
FUSE_TYPE: sum
|
57 |
-
IN_FEATURES:
|
|
|
|
|
|
|
|
|
58 |
NORM: ''
|
59 |
OUT_CHANNELS: 256
|
60 |
KEYPOINT_ON: false
|
61 |
LOAD_PROPOSALS: false
|
62 |
-
MASK_ON:
|
63 |
META_ARCHITECTURE: GeneralizedRCNN
|
64 |
PANOPTIC_FPN:
|
65 |
COMBINE:
|
@@ -87,11 +98,14 @@ MODEL:
|
|
87 |
- false
|
88 |
- false
|
89 |
- false
|
90 |
-
DEPTH:
|
91 |
NORM: FrozenBN
|
92 |
NUM_GROUPS: 1
|
93 |
OUT_FEATURES:
|
|
|
|
|
94 |
- res4
|
|
|
95 |
RES2_OUT_CHANNELS: 256
|
96 |
RES5_DILATION: 1
|
97 |
STEM_OUT_CHANNELS: 64
|
@@ -155,11 +169,11 @@ MODEL:
|
|
155 |
FC_DIM: 1024
|
156 |
FED_LOSS_FREQ_WEIGHT_POWER: 0.5
|
157 |
FED_LOSS_NUM_CLASSES: 50
|
158 |
-
NAME:
|
159 |
NORM: ''
|
160 |
NUM_CONV: 0
|
161 |
-
NUM_FC:
|
162 |
-
POOLER_RESOLUTION:
|
163 |
POOLER_SAMPLING_RATIO: 0
|
164 |
POOLER_TYPE: ROIAlignV2
|
165 |
SMOOTH_L1_BETA: 0.0
|
@@ -169,18 +183,21 @@ MODEL:
|
|
169 |
ROI_HEADS:
|
170 |
BATCH_SIZE_PER_IMAGE: 512
|
171 |
IN_FEATURES:
|
172 |
-
-
|
|
|
|
|
|
|
173 |
IOU_LABELS:
|
174 |
- 0
|
175 |
- 1
|
176 |
IOU_THRESHOLDS:
|
177 |
- 0.5
|
178 |
-
NAME:
|
179 |
NMS_THRESH_TEST: 0.5
|
180 |
-
NUM_CLASSES:
|
181 |
POSITIVE_FRACTION: 0.25
|
182 |
PROPOSAL_APPEND_GT: true
|
183 |
-
SCORE_THRESH_TEST: 0.
|
184 |
ROI_KEYPOINT_HEAD:
|
185 |
CONV_DIMS:
|
186 |
- 512
|
@@ -204,7 +221,7 @@ MODEL:
|
|
204 |
CONV_DIM: 256
|
205 |
NAME: MaskRCNNConvUpsampleHead
|
206 |
NORM: ''
|
207 |
-
NUM_CONV:
|
208 |
POOLER_RESOLUTION: 14
|
209 |
POOLER_SAMPLING_RATIO: 0
|
210 |
POOLER_TYPE: ROIAlignV2
|
@@ -218,7 +235,11 @@ MODEL:
|
|
218 |
- -1
|
219 |
HEAD_NAME: StandardRPNHead
|
220 |
IN_FEATURES:
|
221 |
-
-
|
|
|
|
|
|
|
|
|
222 |
IOU_LABELS:
|
223 |
- 0
|
224 |
- -1
|
@@ -230,9 +251,9 @@ MODEL:
|
|
230 |
NMS_THRESH: 0.7
|
231 |
POSITIVE_FRACTION: 0.5
|
232 |
POST_NMS_TOPK_TEST: 1000
|
233 |
-
POST_NMS_TOPK_TRAIN:
|
234 |
-
PRE_NMS_TOPK_TEST:
|
235 |
-
PRE_NMS_TOPK_TRAIN:
|
236 |
SMOOTH_L1_BETA: 0.0
|
237 |
SEM_SEG_HEAD:
|
238 |
COMMON_STRIDE: 4
|
@@ -247,13 +268,13 @@ MODEL:
|
|
247 |
NAME: SemSegFPNHead
|
248 |
NORM: GN
|
249 |
NUM_CLASSES: 54
|
250 |
-
WEIGHTS:
|
251 |
OUTPUT_DIR: ./output
|
252 |
SEED: -1
|
253 |
SOLVER:
|
254 |
AMP:
|
255 |
ENABLED: false
|
256 |
-
BASE_LR: 0.
|
257 |
BASE_LR_END: 0.0
|
258 |
BIAS_LR_FACTOR: 1.0
|
259 |
CHECKPOINT_PERIOD: 5000
|
@@ -263,16 +284,15 @@ SOLVER:
|
|
263 |
ENABLED: false
|
264 |
NORM_TYPE: 2.0
|
265 |
GAMMA: 0.1
|
266 |
-
IMS_PER_BATCH:
|
267 |
LR_SCHEDULER_NAME: WarmupMultiStepLR
|
268 |
-
MAX_ITER:
|
269 |
MOMENTUM: 0.9
|
270 |
NESTEROV: false
|
271 |
NUM_DECAYS: 3
|
272 |
REFERENCE_WORLD_SIZE: 0
|
273 |
RESCALE_INTERVAL: false
|
274 |
-
STEPS:
|
275 |
-
- 30000
|
276 |
WARMUP_FACTOR: 0.001
|
277 |
WARMUP_ITERS: 1000
|
278 |
WARMUP_METHOD: linear
|
@@ -302,4 +322,4 @@ TEST:
|
|
302 |
ENABLED: false
|
303 |
NUM_ITER: 200
|
304 |
VERSION: 2
|
305 |
-
VIS_PERIOD: 0
|
|
|
2 |
DATALOADER:
|
3 |
ASPECT_RATIO_GROUPING: true
|
4 |
FILTER_EMPTY_ANNOTATIONS: true
|
5 |
+
NUM_WORKERS: 2
|
6 |
REPEAT_THRESHOLD: 0.0
|
7 |
SAMPLER_TRAIN: TrainingSampler
|
8 |
DATASETS:
|
|
|
10 |
PRECOMPUTED_PROPOSAL_TOPK_TRAIN: 2000
|
11 |
PROPOSAL_FILES_TEST: []
|
12 |
PROPOSAL_FILES_TRAIN: []
|
13 |
+
TEST:
|
14 |
+
- urban-small_test
|
15 |
+
TRAIN:
|
16 |
+
- urban-small_train
|
17 |
GLOBAL:
|
18 |
HACK: 1.0
|
19 |
INPUT:
|
|
|
29 |
MAX_SIZE_TRAIN: 1333
|
30 |
MIN_SIZE_TEST: 800
|
31 |
MIN_SIZE_TRAIN:
|
32 |
+
- 640
|
33 |
+
- 672
|
34 |
+
- 704
|
35 |
+
- 736
|
36 |
+
- 768
|
37 |
- 800
|
38 |
MIN_SIZE_TRAIN_SAMPLING: choice
|
39 |
RANDOM_FLIP: horizontal
|
|
|
51 |
OFFSET: 0.0
|
52 |
SIZES:
|
53 |
- - 32
|
54 |
+
- - 64
|
55 |
+
- - 128
|
56 |
+
- - 256
|
57 |
+
- - 512
|
58 |
BACKBONE:
|
59 |
FREEZE_AT: 2
|
60 |
+
NAME: build_resnet_fpn_backbone
|
61 |
+
DEVICE: cuda
|
62 |
FPN:
|
63 |
FUSE_TYPE: sum
|
64 |
+
IN_FEATURES:
|
65 |
+
- res2
|
66 |
+
- res3
|
67 |
+
- res4
|
68 |
+
- res5
|
69 |
NORM: ''
|
70 |
OUT_CHANNELS: 256
|
71 |
KEYPOINT_ON: false
|
72 |
LOAD_PROPOSALS: false
|
73 |
+
MASK_ON: true
|
74 |
META_ARCHITECTURE: GeneralizedRCNN
|
75 |
PANOPTIC_FPN:
|
76 |
COMBINE:
|
|
|
98 |
- false
|
99 |
- false
|
100 |
- false
|
101 |
+
DEPTH: 101
|
102 |
NORM: FrozenBN
|
103 |
NUM_GROUPS: 1
|
104 |
OUT_FEATURES:
|
105 |
+
- res2
|
106 |
+
- res3
|
107 |
- res4
|
108 |
+
- res5
|
109 |
RES2_OUT_CHANNELS: 256
|
110 |
RES5_DILATION: 1
|
111 |
STEM_OUT_CHANNELS: 64
|
|
|
169 |
FC_DIM: 1024
|
170 |
FED_LOSS_FREQ_WEIGHT_POWER: 0.5
|
171 |
FED_LOSS_NUM_CLASSES: 50
|
172 |
+
NAME: FastRCNNConvFCHead
|
173 |
NORM: ''
|
174 |
NUM_CONV: 0
|
175 |
+
NUM_FC: 2
|
176 |
+
POOLER_RESOLUTION: 7
|
177 |
POOLER_SAMPLING_RATIO: 0
|
178 |
POOLER_TYPE: ROIAlignV2
|
179 |
SMOOTH_L1_BETA: 0.0
|
|
|
183 |
ROI_HEADS:
|
184 |
BATCH_SIZE_PER_IMAGE: 512
|
185 |
IN_FEATURES:
|
186 |
+
- p2
|
187 |
+
- p3
|
188 |
+
- p4
|
189 |
+
- p5
|
190 |
IOU_LABELS:
|
191 |
- 0
|
192 |
- 1
|
193 |
IOU_THRESHOLDS:
|
194 |
- 0.5
|
195 |
+
NAME: StandardROIHeads
|
196 |
NMS_THRESH_TEST: 0.5
|
197 |
+
NUM_CLASSES: 8
|
198 |
POSITIVE_FRACTION: 0.25
|
199 |
PROPOSAL_APPEND_GT: true
|
200 |
+
SCORE_THRESH_TEST: 0.25
|
201 |
ROI_KEYPOINT_HEAD:
|
202 |
CONV_DIMS:
|
203 |
- 512
|
|
|
221 |
CONV_DIM: 256
|
222 |
NAME: MaskRCNNConvUpsampleHead
|
223 |
NORM: ''
|
224 |
+
NUM_CONV: 4
|
225 |
POOLER_RESOLUTION: 14
|
226 |
POOLER_SAMPLING_RATIO: 0
|
227 |
POOLER_TYPE: ROIAlignV2
|
|
|
235 |
- -1
|
236 |
HEAD_NAME: StandardRPNHead
|
237 |
IN_FEATURES:
|
238 |
+
- p2
|
239 |
+
- p3
|
240 |
+
- p4
|
241 |
+
- p5
|
242 |
+
- p6
|
243 |
IOU_LABELS:
|
244 |
- 0
|
245 |
- -1
|
|
|
251 |
NMS_THRESH: 0.7
|
252 |
POSITIVE_FRACTION: 0.5
|
253 |
POST_NMS_TOPK_TEST: 1000
|
254 |
+
POST_NMS_TOPK_TRAIN: 1000
|
255 |
+
PRE_NMS_TOPK_TEST: 1000
|
256 |
+
PRE_NMS_TOPK_TRAIN: 2000
|
257 |
SMOOTH_L1_BETA: 0.0
|
258 |
SEM_SEG_HEAD:
|
259 |
COMMON_STRIDE: 4
|
|
|
268 |
NAME: SemSegFPNHead
|
269 |
NORM: GN
|
270 |
NUM_CLASSES: 54
|
271 |
+
WEIGHTS: ./output/model_final.pth
|
272 |
OUTPUT_DIR: ./output
|
273 |
SEED: -1
|
274 |
SOLVER:
|
275 |
AMP:
|
276 |
ENABLED: false
|
277 |
+
BASE_LR: 0.00025
|
278 |
BASE_LR_END: 0.0
|
279 |
BIAS_LR_FACTOR: 1.0
|
280 |
CHECKPOINT_PERIOD: 5000
|
|
|
284 |
ENABLED: false
|
285 |
NORM_TYPE: 2.0
|
286 |
GAMMA: 0.1
|
287 |
+
IMS_PER_BATCH: 2
|
288 |
LR_SCHEDULER_NAME: WarmupMultiStepLR
|
289 |
+
MAX_ITER: 3000
|
290 |
MOMENTUM: 0.9
|
291 |
NESTEROV: false
|
292 |
NUM_DECAYS: 3
|
293 |
REFERENCE_WORLD_SIZE: 0
|
294 |
RESCALE_INTERVAL: false
|
295 |
+
STEPS: []
|
|
|
296 |
WARMUP_FACTOR: 0.001
|
297 |
WARMUP_ITERS: 1000
|
298 |
WARMUP_METHOD: linear
|
|
|
322 |
ENABLED: false
|
323 |
NUM_ITER: 200
|
324 |
VERSION: 2
|
325 |
+
VIS_PERIOD: 0
|