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
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
!!python/object/new:detectron2.config.config.CfgNode
dictitems:
  CUDNN_BENCHMARK: false
  DATALOADER: !!python/object/new:detectron2.config.config.CfgNode
    dictitems:
      ASPECT_RATIO_GROUPING: true
      FILTER_EMPTY_ANNOTATIONS: true
      NUM_WORKERS: 2
      REPEAT_SQRT: true
      REPEAT_THRESHOLD: 0.0
      SAMPLER_TRAIN: TrainingSampler
    state:
      __deprecated_keys__: !!set {}
      __immutable__: false
      __new_allowed__: false
      __renamed_keys__: {}
  DATASETS: !!python/object/new:detectron2.config.config.CfgNode
    dictitems:
      PRECOMPUTED_PROPOSAL_TOPK_TEST: 1000
      PRECOMPUTED_PROPOSAL_TOPK_TRAIN: 2000
      PROPOSAL_FILES_TEST: !!python/tuple []
      PROPOSAL_FILES_TRAIN: !!python/tuple []
      TEST: !!python/tuple []
      TRAIN: !!python/tuple
      - my_dataset_train
    state:
      __deprecated_keys__: !!set {}
      __immutable__: false
      __new_allowed__: false
      __renamed_keys__: {}
  FLOAT32_PRECISION: ''
  GLOBAL: !!python/object/new:detectron2.config.config.CfgNode
    dictitems:
      HACK: 1.0
    state:
      __deprecated_keys__: !!set {}
      __immutable__: false
      __new_allowed__: false
      __renamed_keys__: {}
  INPUT: !!python/object/new:detectron2.config.config.CfgNode
    dictitems:
      CROP: !!python/object/new:detectron2.config.config.CfgNode
        dictitems:
          ENABLED: false
          SIZE:
          - 0.9
          - 0.9
          TYPE: relative_range
        state:
          __deprecated_keys__: !!set {}
          __immutable__: false
          __new_allowed__: false
          __renamed_keys__: {}
      FORMAT: BGR
      MASK_FORMAT: polygon
      MAX_SIZE_TEST: 1333
      MAX_SIZE_TRAIN: 1333
      MIN_SIZE_TEST: 800
      MIN_SIZE_TRAIN: !!python/tuple
      - 640
      - 672
      - 704
      - 736
      - 768
      - 800
      MIN_SIZE_TRAIN_SAMPLING: choice
      RANDOM_FLIP: horizontal
    state:
      __deprecated_keys__: !!set {}
      __immutable__: false
      __new_allowed__: false
      __renamed_keys__: {}
  MODEL: !!python/object/new:detectron2.config.config.CfgNode
    dictitems:
      ANCHOR_GENERATOR: !!python/object/new:detectron2.config.config.CfgNode
        dictitems:
          ANGLES:
          - - -90
            - 0
            - 90
          ASPECT_RATIOS:
          - - 0.5
            - 1.0
            - 2.0
          NAME: DefaultAnchorGenerator
          OFFSET: 0.0
          SIZES:
          - - 32
          - - 64
          - - 128
          - - 256
          - - 512
        state:
          __deprecated_keys__: !!set {}
          __immutable__: false
          __new_allowed__: false
          __renamed_keys__: {}
      BACKBONE: !!python/object/new:detectron2.config.config.CfgNode
        dictitems:
          FREEZE_AT: 2
          NAME: build_resnet_fpn_backbone
        state:
          __deprecated_keys__: !!set {}
          __immutable__: false
          __new_allowed__: false
          __renamed_keys__: {}
      DEVICE: cuda
      FPN: !!python/object/new:detectron2.config.config.CfgNode
        dictitems:
          FUSE_TYPE: sum
          IN_FEATURES:
          - res2
          - res3
          - res4
          - res5
          NORM: ''
          OUT_CHANNELS: 256
        state:
          __deprecated_keys__: !!set {}
          __immutable__: false
          __new_allowed__: false
          __renamed_keys__: {}
      KEYPOINT_ON: false
      LOAD_PROPOSALS: false
      MASK_ON: true
      META_ARCHITECTURE: GeneralizedRCNN
      PANOPTIC_FPN: !!python/object/new:detectron2.config.config.CfgNode
        dictitems:
          COMBINE: !!python/object/new:detectron2.config.config.CfgNode
            dictitems:
              ENABLED: true
              INSTANCES_CONFIDENCE_THRESH: 0.5
              OVERLAP_THRESH: 0.5
              STUFF_AREA_LIMIT: 4096
            state:
              __deprecated_keys__: !!set {}
              __immutable__: false
              __new_allowed__: false
              __renamed_keys__: {}
          INSTANCE_LOSS_WEIGHT: 1.0
        state:
          __deprecated_keys__: !!set {}
          __immutable__: false
          __new_allowed__: false
          __renamed_keys__: {}
      PIXEL_MEAN:
      - 103.53
      - 116.28
      - 123.675
      PIXEL_STD:
      - 1.0
      - 1.0
      - 1.0
      PROPOSAL_GENERATOR: !!python/object/new:detectron2.config.config.CfgNode
        dictitems:
          MIN_SIZE: 0
          NAME: RPN
        state:
          __deprecated_keys__: !!set {}
          __immutable__: false
          __new_allowed__: false
          __renamed_keys__: {}
      RESNETS: !!python/object/new:detectron2.config.config.CfgNode
        dictitems:
          DEFORM_MODULATED: false
          DEFORM_NUM_GROUPS: 1
          DEFORM_ON_PER_STAGE:
          - false
          - false
          - false
          - false
          DEPTH: 50
          NORM: FrozenBN
          NUM_GROUPS: 1
          OUT_FEATURES:
          - res2
          - res3
          - res4
          - res5
          RES2_OUT_CHANNELS: 256
          RES5_DILATION: 1
          STEM_OUT_CHANNELS: 64
          STRIDE_IN_1X1: true
          WIDTH_PER_GROUP: 64
        state:
          __deprecated_keys__: !!set {}
          __immutable__: false
          __new_allowed__: false
          __renamed_keys__: {}
      RETINANET: !!python/object/new:detectron2.config.config.CfgNode
        dictitems:
          BBOX_REG_LOSS_TYPE: smooth_l1
          BBOX_REG_WEIGHTS: &id002 !!python/tuple
          - 1.0
          - 1.0
          - 1.0
          - 1.0
          FOCAL_LOSS_ALPHA: 0.25
          FOCAL_LOSS_GAMMA: 2.0
          IN_FEATURES:
          - p3
          - p4
          - p5
          - p6
          - p7
          IOU_LABELS:
          - 0
          - -1
          - 1
          IOU_THRESHOLDS:
          - 0.4
          - 0.5
          NMS_THRESH_TEST: 0.5
          NORM: ''
          NUM_CLASSES: 80
          NUM_CONVS: 4
          PRIOR_PROB: 0.01
          SCORE_THRESH_TEST: 0.05
          SMOOTH_L1_LOSS_BETA: 0.1
          TOPK_CANDIDATES_TEST: 1000
        state:
          __deprecated_keys__: !!set {}
          __immutable__: false
          __new_allowed__: false
          __renamed_keys__: {}
      ROI_BOX_CASCADE_HEAD: !!python/object/new:detectron2.config.config.CfgNode
        dictitems:
          BBOX_REG_WEIGHTS: !!python/tuple
          - &id001 !!python/tuple
            - 10.0
            - 10.0
            - 5.0
            - 5.0
          - !!python/tuple
            - 20.0
            - 20.0
            - 10.0
            - 10.0
          - !!python/tuple
            - 30.0
            - 30.0
            - 15.0
            - 15.0
          IOUS: !!python/tuple
          - 0.5
          - 0.6
          - 0.7
        state:
          __deprecated_keys__: !!set {}
          __immutable__: false
          __new_allowed__: false
          __renamed_keys__: {}
      ROI_BOX_HEAD: !!python/object/new:detectron2.config.config.CfgNode
        dictitems:
          BBOX_REG_LOSS_TYPE: smooth_l1
          BBOX_REG_LOSS_WEIGHT: 1.0
          BBOX_REG_WEIGHTS: *id001
          CLS_AGNOSTIC_BBOX_REG: false
          CONV_DIM: 256
          FC_DIM: 1024
          FED_LOSS_FREQ_WEIGHT_POWER: 0.5
          FED_LOSS_NUM_CLASSES: 50
          NAME: FastRCNNConvFCHead
          NORM: ''
          NUM_CONV: 0
          NUM_FC: 2
          POOLER_RESOLUTION: 7
          POOLER_SAMPLING_RATIO: 0
          POOLER_TYPE: ROIAlignV2
          SMOOTH_L1_BETA: 0.0
          TRAIN_ON_PRED_BOXES: false
          USE_FED_LOSS: false
          USE_SIGMOID_CE: false
        state:
          __deprecated_keys__: !!set {}
          __immutable__: false
          __new_allowed__: false
          __renamed_keys__: {}
      ROI_HEADS: !!python/object/new:detectron2.config.config.CfgNode
        dictitems:
          BATCH_SIZE_PER_IMAGE: 256
          IN_FEATURES:
          - p2
          - p3
          - p4
          - p5
          IOU_LABELS:
          - 0
          - 1
          IOU_THRESHOLDS:
          - 0.5
          NAME: StandardROIHeads
          NMS_THRESH_TEST: 0.5
          NUM_CLASSES: 4
          POSITIVE_FRACTION: 0.25
          PROPOSAL_APPEND_GT: true
          SCORE_THRESH_TEST: 0.05
        state:
          __deprecated_keys__: !!set {}
          __immutable__: false
          __new_allowed__: false
          __renamed_keys__: {}
      ROI_KEYPOINT_HEAD: !!python/object/new:detectron2.config.config.CfgNode
        dictitems:
          CONV_DIMS: !!python/tuple
          - 512
          - 512
          - 512
          - 512
          - 512
          - 512
          - 512
          - 512
          LOSS_WEIGHT: 1.0
          MIN_KEYPOINTS_PER_IMAGE: 1
          NAME: KRCNNConvDeconvUpsampleHead
          NORMALIZE_LOSS_BY_VISIBLE_KEYPOINTS: true
          NUM_KEYPOINTS: 17
          POOLER_RESOLUTION: 14
          POOLER_SAMPLING_RATIO: 0
          POOLER_TYPE: ROIAlignV2
        state:
          __deprecated_keys__: !!set {}
          __immutable__: false
          __new_allowed__: false
          __renamed_keys__: {}
      ROI_MASK_HEAD: !!python/object/new:detectron2.config.config.CfgNode
        dictitems:
          CLS_AGNOSTIC_MASK: false
          CONV_DIM: 256
          NAME: MaskRCNNConvUpsampleHead
          NORM: ''
          NUM_CONV: 4
          POOLER_RESOLUTION: 14
          POOLER_SAMPLING_RATIO: 0
          POOLER_TYPE: ROIAlignV2
        state:
          __deprecated_keys__: !!set {}
          __immutable__: false
          __new_allowed__: false
          __renamed_keys__: {}
      RPN: !!python/object/new:detectron2.config.config.CfgNode
        dictitems:
          BATCH_SIZE_PER_IMAGE: 256
          BBOX_REG_LOSS_TYPE: smooth_l1
          BBOX_REG_LOSS_WEIGHT: 1.0
          BBOX_REG_WEIGHTS: *id002
          BOUNDARY_THRESH: -1
          CONV_DIMS:
          - -1
          HEAD_NAME: StandardRPNHead
          IN_FEATURES:
          - p2
          - p3
          - p4
          - p5
          - p6
          IOU_LABELS:
          - 0
          - -1
          - 1
          IOU_THRESHOLDS:
          - 0.3
          - 0.7
          LOSS_WEIGHT: 1.0
          NMS_THRESH: 0.7
          POSITIVE_FRACTION: 0.5
          POST_NMS_TOPK_TEST: 1000
          POST_NMS_TOPK_TRAIN: 1000
          PRE_NMS_TOPK_TEST: 1000
          PRE_NMS_TOPK_TRAIN: 2000
          SMOOTH_L1_BETA: 0.0
        state:
          __deprecated_keys__: !!set {}
          __immutable__: false
          __new_allowed__: false
          __renamed_keys__: {}
      SEM_SEG_HEAD: !!python/object/new:detectron2.config.config.CfgNode
        dictitems:
          COMMON_STRIDE: 4
          CONVS_DIM: 128
          IGNORE_VALUE: 255
          IN_FEATURES:
          - p2
          - p3
          - p4
          - p5
          LOSS_WEIGHT: 1.0
          NAME: SemSegFPNHead
          NORM: GN
          NUM_CLASSES: 54
        state:
          __deprecated_keys__: !!set {}
          __immutable__: false
          __new_allowed__: false
          __renamed_keys__: {}
      WEIGHTS: https://dl.fbaipublicfiles.com/detectron2/COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_3x/137849600/model_final_f10217.pkl
    state:
      __deprecated_keys__: !!set {}
      __immutable__: false
      __new_allowed__: false
      __renamed_keys__: {}
  OUTPUT_DIR: /content/drive/MyDrive/ComputerVisionEngineer/Cucumber/models/Detectron2_Models
  SEED: -1
  SOLVER: !!python/object/new:detectron2.config.config.CfgNode
    dictitems:
      AMP: !!python/object/new:detectron2.config.config.CfgNode
        dictitems:
          ENABLED: false
        state:
          __deprecated_keys__: !!set {}
          __immutable__: false
          __new_allowed__: false
          __renamed_keys__: {}
      BASE_LR: 0.00025
      BASE_LR_END: 0.0
      BIAS_LR_FACTOR: 1.0
      CHECKPOINT_PERIOD: 5000
      CLIP_GRADIENTS: !!python/object/new:detectron2.config.config.CfgNode
        dictitems:
          CLIP_TYPE: value
          CLIP_VALUE: 1.0
          ENABLED: false
          NORM_TYPE: 2.0
        state:
          __deprecated_keys__: !!set {}
          __immutable__: false
          __new_allowed__: false
          __renamed_keys__: {}
      GAMMA: 0.1
      IMS_PER_BATCH: 2
      LR_SCHEDULER_NAME: WarmupMultiStepLR
      MAX_ITER: 1000
      MOMENTUM: 0.9
      NESTEROV: false
      NUM_DECAYS: 3
      REFERENCE_WORLD_SIZE: 0
      RESCALE_INTERVAL: false
      STEPS: []
      WARMUP_FACTOR: 0.001
      WARMUP_ITERS: 1000
      WARMUP_METHOD: linear
      WEIGHT_DECAY: 0.0001
      WEIGHT_DECAY_BIAS: null
      WEIGHT_DECAY_NORM: 0.0
    state:
      __deprecated_keys__: !!set {}
      __immutable__: false
      __new_allowed__: false
      __renamed_keys__: {}
  TEST: !!python/object/new:detectron2.config.config.CfgNode
    dictitems:
      AUG: !!python/object/new:detectron2.config.config.CfgNode
        dictitems:
          ENABLED: false
          FLIP: true
          MAX_SIZE: 4000
          MIN_SIZES: !!python/tuple
          - 400
          - 500
          - 600
          - 700
          - 800
          - 900
          - 1000
          - 1100
          - 1200
        state:
          __deprecated_keys__: !!set {}
          __immutable__: false
          __new_allowed__: false
          __renamed_keys__: {}
      DETECTIONS_PER_IMAGE: 100
      EVAL_PERIOD: 0
      EXPECTED_RESULTS: []
      KEYPOINT_OKS_SIGMAS: []
      PRECISE_BN: !!python/object/new:detectron2.config.config.CfgNode
        dictitems:
          ENABLED: false
          NUM_ITER: 200
        state:
          __deprecated_keys__: !!set {}
          __immutable__: false
          __new_allowed__: false
          __renamed_keys__: {}
    state:
      __deprecated_keys__: !!set {}
      __immutable__: false
      __new_allowed__: false
      __renamed_keys__: {}
  VERSION: 2
  VIS_PERIOD: 0
state:
  __deprecated_keys__: !!set {}
  __immutable__: false
  __new_allowed__: false
  __renamed_keys__: {}