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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
CUDNN_BENCHMARK: true
|
2 |
+
DATALOADER:
|
3 |
+
ASPECT_RATIO_GROUPING: true
|
4 |
+
FILTER_EMPTY_ANNOTATIONS: true
|
5 |
+
NUM_WORKERS: 16
|
6 |
+
REPEAT_THRESHOLD: 0.0
|
7 |
+
SAMPLER_TRAIN: TrainingSampler
|
8 |
+
DATASETS:
|
9 |
+
PRECOMPUTED_PROPOSAL_TOPK_TEST: 1000
|
10 |
+
PRECOMPUTED_PROPOSAL_TOPK_TRAIN: 2000
|
11 |
+
PROPOSAL_FILES_TEST: []
|
12 |
+
PROPOSAL_FILES_TRAIN: []
|
13 |
+
TEST:
|
14 |
+
- validate
|
15 |
+
TRAIN:
|
16 |
+
- train
|
17 |
+
GLOBAL:
|
18 |
+
HACK: 1.0
|
19 |
+
INPUT:
|
20 |
+
CROP:
|
21 |
+
ENABLED: false
|
22 |
+
SIZE:
|
23 |
+
- 0.9
|
24 |
+
- 0.9
|
25 |
+
TYPE: relative_range
|
26 |
+
FORMAT: BGR
|
27 |
+
MASK_FORMAT: polygon
|
28 |
+
MAX_SIZE_TEST: 2048
|
29 |
+
MAX_SIZE_TRAIN: 1024
|
30 |
+
MIN_SIZE_TEST: 0
|
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
|
40 |
+
SCALE_FACTOR: 1
|
41 |
+
MODEL:
|
42 |
+
ANCHOR_GENERATOR:
|
43 |
+
ANGLES:
|
44 |
+
- - -90
|
45 |
+
- 0
|
46 |
+
- 90
|
47 |
+
ASPECT_RATIOS:
|
48 |
+
- - 0.5
|
49 |
+
- 1.0
|
50 |
+
- 2.0
|
51 |
+
NAME: DefaultAnchorGenerator
|
52 |
+
OFFSET: 0.0
|
53 |
+
SIZES:
|
54 |
+
- - 32
|
55 |
+
- - 64
|
56 |
+
- - 128
|
57 |
+
- - 256
|
58 |
+
- - 512
|
59 |
+
BACKBONE:
|
60 |
+
FREEZE_AT: 2
|
61 |
+
NAME: build_resnet_fpn_backbone
|
62 |
+
DEVICE: cuda
|
63 |
+
FPN:
|
64 |
+
FUSE_TYPE: sum
|
65 |
+
IN_FEATURES:
|
66 |
+
- res2
|
67 |
+
- res3
|
68 |
+
- res4
|
69 |
+
- res5
|
70 |
+
NORM: ''
|
71 |
+
OUT_CHANNELS: 256
|
72 |
+
KEYPOINT_ON: false
|
73 |
+
LOAD_PROPOSALS: false
|
74 |
+
MASK_ON: true
|
75 |
+
META_ARCHITECTURE: GeneralizedRCNN
|
76 |
+
PANOPTIC_FPN:
|
77 |
+
COMBINE:
|
78 |
+
ENABLED: true
|
79 |
+
INSTANCES_CONFIDENCE_THRESH: 0.5
|
80 |
+
OVERLAP_THRESH: 0.5
|
81 |
+
STUFF_AREA_LIMIT: 4096
|
82 |
+
INSTANCE_LOSS_WEIGHT: 1.0
|
83 |
+
PIXEL_MEAN:
|
84 |
+
- 103.53
|
85 |
+
- 116.28
|
86 |
+
- 123.675
|
87 |
+
PIXEL_STD:
|
88 |
+
- 1.0
|
89 |
+
- 1.0
|
90 |
+
- 1.0
|
91 |
+
PROPOSAL_GENERATOR:
|
92 |
+
MIN_SIZE: 0
|
93 |
+
NAME: RPN
|
94 |
+
RESNETS:
|
95 |
+
DEFORM_MODULATED: false
|
96 |
+
DEFORM_NUM_GROUPS: 1
|
97 |
+
DEFORM_ON_PER_STAGE:
|
98 |
+
- false
|
99 |
+
- false
|
100 |
+
- false
|
101 |
+
- false
|
102 |
+
DEPTH: 50
|
103 |
+
NORM: FrozenBN
|
104 |
+
NUM_GROUPS: 1
|
105 |
+
OUT_FEATURES:
|
106 |
+
- res2
|
107 |
+
- res3
|
108 |
+
- res4
|
109 |
+
- res5
|
110 |
+
RES2_OUT_CHANNELS: 256
|
111 |
+
RES5_DILATION: 1
|
112 |
+
STEM_OUT_CHANNELS: 64
|
113 |
+
STRIDE_IN_1X1: true
|
114 |
+
WIDTH_PER_GROUP: 64
|
115 |
+
RETINANET:
|
116 |
+
BBOX_REG_LOSS_TYPE: smooth_l1
|
117 |
+
BBOX_REG_WEIGHTS: &id002
|
118 |
+
- 1.0
|
119 |
+
- 1.0
|
120 |
+
- 1.0
|
121 |
+
- 1.0
|
122 |
+
FOCAL_LOSS_ALPHA: 0.25
|
123 |
+
FOCAL_LOSS_GAMMA: 2.0
|
124 |
+
IN_FEATURES:
|
125 |
+
- p3
|
126 |
+
- p4
|
127 |
+
- p5
|
128 |
+
- p6
|
129 |
+
- p7
|
130 |
+
IOU_LABELS:
|
131 |
+
- 0
|
132 |
+
- -1
|
133 |
+
- 1
|
134 |
+
IOU_THRESHOLDS:
|
135 |
+
- 0.4
|
136 |
+
- 0.5
|
137 |
+
NMS_THRESH_TEST: 0.5
|
138 |
+
NORM: ''
|
139 |
+
NUM_CLASSES: 80
|
140 |
+
NUM_CONVS: 4
|
141 |
+
PRIOR_PROB: 0.01
|
142 |
+
SCORE_THRESH_TEST: 0.05
|
143 |
+
SMOOTH_L1_LOSS_BETA: 0.1
|
144 |
+
TOPK_CANDIDATES_TEST: 1000
|
145 |
+
ROI_BOX_CASCADE_HEAD:
|
146 |
+
BBOX_REG_WEIGHTS:
|
147 |
+
- &id001
|
148 |
+
- 10.0
|
149 |
+
- 10.0
|
150 |
+
- 5.0
|
151 |
+
- 5.0
|
152 |
+
- - 20.0
|
153 |
+
- 20.0
|
154 |
+
- 10.0
|
155 |
+
- 10.0
|
156 |
+
- - 30.0
|
157 |
+
- 30.0
|
158 |
+
- 15.0
|
159 |
+
- 15.0
|
160 |
+
IOUS:
|
161 |
+
- 0.5
|
162 |
+
- 0.6
|
163 |
+
- 0.7
|
164 |
+
ROI_BOX_HEAD:
|
165 |
+
BBOX_REG_LOSS_TYPE: smooth_l1
|
166 |
+
BBOX_REG_LOSS_WEIGHT: 1.0
|
167 |
+
BBOX_REG_WEIGHTS: *id001
|
168 |
+
CLS_AGNOSTIC_BBOX_REG: false
|
169 |
+
CONV_DIM: 256
|
170 |
+
FC_DIM: 1024
|
171 |
+
FED_LOSS_FREQ_WEIGHT_POWER: 0.5
|
172 |
+
FED_LOSS_NUM_CLASSES: 50
|
173 |
+
NAME: FastRCNNConvFCHead
|
174 |
+
NORM: ''
|
175 |
+
NUM_CONV: 0
|
176 |
+
NUM_FC: 2
|
177 |
+
POOLER_RESOLUTION: 7
|
178 |
+
POOLER_SAMPLING_RATIO: 0
|
179 |
+
POOLER_TYPE: ROIAlignV2
|
180 |
+
SMOOTH_L1_BETA: 0.0
|
181 |
+
TRAIN_ON_PRED_BOXES: false
|
182 |
+
USE_FED_LOSS: false
|
183 |
+
USE_SIGMOID_CE: false
|
184 |
+
ROI_HEADS:
|
185 |
+
BATCH_SIZE_PER_IMAGE: 512
|
186 |
+
IN_FEATURES:
|
187 |
+
- p2
|
188 |
+
- p3
|
189 |
+
- p4
|
190 |
+
- p5
|
191 |
+
IOU_LABELS:
|
192 |
+
- 0
|
193 |
+
- 1
|
194 |
+
IOU_THRESHOLDS:
|
195 |
+
- 0.5
|
196 |
+
NAME: StandardROIHeads
|
197 |
+
NMS_THRESH_TEST: 0.5
|
198 |
+
NUM_CLASSES: 2
|
199 |
+
POSITIVE_FRACTION: 0.25
|
200 |
+
PROPOSAL_APPEND_GT: true
|
201 |
+
SCORE_THRESH_TEST: 0.2
|
202 |
+
ROI_KEYPOINT_HEAD:
|
203 |
+
CONV_DIMS:
|
204 |
+
- 512
|
205 |
+
- 512
|
206 |
+
- 512
|
207 |
+
- 512
|
208 |
+
- 512
|
209 |
+
- 512
|
210 |
+
- 512
|
211 |
+
- 512
|
212 |
+
LOSS_WEIGHT: 1.0
|
213 |
+
MIN_KEYPOINTS_PER_IMAGE: 1
|
214 |
+
NAME: KRCNNConvDeconvUpsampleHead
|
215 |
+
NORMALIZE_LOSS_BY_VISIBLE_KEYPOINTS: true
|
216 |
+
NUM_KEYPOINTS: 17
|
217 |
+
POOLER_RESOLUTION: 14
|
218 |
+
POOLER_SAMPLING_RATIO: 0
|
219 |
+
POOLER_TYPE: ROIAlignV2
|
220 |
+
ROI_MASK_HEAD:
|
221 |
+
CLS_AGNOSTIC_MASK: false
|
222 |
+
CONV_DIM: 256
|
223 |
+
NAME: MaskRCNNConvUpsampleHead
|
224 |
+
NORM: ''
|
225 |
+
NUM_CONV: 4
|
226 |
+
POOLER_RESOLUTION: 14
|
227 |
+
POOLER_SAMPLING_RATIO: 0
|
228 |
+
POOLER_TYPE: ROIAlignV2
|
229 |
+
RPN:
|
230 |
+
BATCH_SIZE_PER_IMAGE: 256
|
231 |
+
BBOX_REG_LOSS_TYPE: smooth_l1
|
232 |
+
BBOX_REG_LOSS_WEIGHT: 1.0
|
233 |
+
BBOX_REG_WEIGHTS: *id002
|
234 |
+
BOUNDARY_THRESH: -1
|
235 |
+
CONV_DIMS:
|
236 |
+
- -1
|
237 |
+
HEAD_NAME: StandardRPNHead
|
238 |
+
IN_FEATURES:
|
239 |
+
- p2
|
240 |
+
- p3
|
241 |
+
- p4
|
242 |
+
- p5
|
243 |
+
- p6
|
244 |
+
IOU_LABELS:
|
245 |
+
- 0
|
246 |
+
- -1
|
247 |
+
- 1
|
248 |
+
IOU_THRESHOLDS:
|
249 |
+
- 0.3
|
250 |
+
- 0.7
|
251 |
+
LOSS_WEIGHT: 1.0
|
252 |
+
NMS_THRESH: 0.7
|
253 |
+
POSITIVE_FRACTION: 0.5
|
254 |
+
POST_NMS_TOPK_TEST: 512
|
255 |
+
POST_NMS_TOPK_TRAIN: 1000
|
256 |
+
PRE_NMS_TOPK_TEST: 512
|
257 |
+
PRE_NMS_TOPK_TRAIN: 2000
|
258 |
+
SMOOTH_L1_BETA: 0.0
|
259 |
+
SEM_SEG_HEAD:
|
260 |
+
COMMON_STRIDE: 4
|
261 |
+
CONVS_DIM: 128
|
262 |
+
IGNORE_VALUE: 255
|
263 |
+
IN_FEATURES:
|
264 |
+
- p2
|
265 |
+
- p3
|
266 |
+
- p4
|
267 |
+
- p5
|
268 |
+
LOSS_WEIGHT: 1.0
|
269 |
+
NAME: SemSegFPNHead
|
270 |
+
NORM: GN
|
271 |
+
NUM_CLASSES: 54
|
272 |
+
WEIGHTS: https://dl.fbaipublicfiles.com/detectron2/COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_3x/137849600/model_final_f10217.pkl
|
273 |
+
OUTPUT_DIR: /media/josh/22893c92-cb6e-4f81-a50d-a9ff93ad5a81/data/tcd/maskrcnn/holdout/20240522_0026
|
274 |
+
SEED: -1
|
275 |
+
SOLVER:
|
276 |
+
AMP:
|
277 |
+
ENABLED: true
|
278 |
+
BASE_LR: 0.005
|
279 |
+
BASE_LR_END: 0.0
|
280 |
+
BIAS_LR_FACTOR: 1.0
|
281 |
+
CHECKPOINT_PERIOD: 6000
|
282 |
+
CLIP_GRADIENTS:
|
283 |
+
CLIP_TYPE: value
|
284 |
+
CLIP_VALUE: 1.0
|
285 |
+
ENABLED: false
|
286 |
+
NORM_TYPE: 2.0
|
287 |
+
GAMMA: 0.1
|
288 |
+
IMS_PER_BATCH: 8
|
289 |
+
LR_SCHEDULER_NAME: WarmupMultiStepLR
|
290 |
+
MAX_ITER: 60000
|
291 |
+
MOMENTUM: 0.9
|
292 |
+
NESTEROV: false
|
293 |
+
NUM_DECAYS: 3
|
294 |
+
REFERENCE_WORLD_SIZE: 0
|
295 |
+
RESCALE_INTERVAL: false
|
296 |
+
STEPS:
|
297 |
+
- 30000
|
298 |
+
- 48000
|
299 |
+
- 54000
|
300 |
+
WARMUP_FACTOR: 0.001
|
301 |
+
WARMUP_ITERS: 1000
|
302 |
+
WARMUP_METHOD: linear
|
303 |
+
WEIGHT_DECAY: 0.0001
|
304 |
+
WEIGHT_DECAY_BIAS: null
|
305 |
+
WEIGHT_DECAY_NORM: 0.0
|
306 |
+
TEST:
|
307 |
+
AUG:
|
308 |
+
ENABLED: false
|
309 |
+
FLIP: true
|
310 |
+
MAX_SIZE: 4000
|
311 |
+
MIN_SIZES:
|
312 |
+
- 400
|
313 |
+
- 500
|
314 |
+
- 600
|
315 |
+
- 700
|
316 |
+
- 800
|
317 |
+
- 900
|
318 |
+
- 1000
|
319 |
+
- 1100
|
320 |
+
- 1200
|
321 |
+
DETECTIONS_PER_IMAGE: 512
|
322 |
+
EVAL_PERIOD: 6000
|
323 |
+
EXPECTED_RESULTS: []
|
324 |
+
KEYPOINT_OKS_SIGMAS: []
|
325 |
+
PRECISE_BN:
|
326 |
+
ENABLED: false
|
327 |
+
NUM_ITER: 200
|
328 |
+
VERSION: 2
|
329 |
+
VIS_PERIOD: 0
|