add configs
Browse files
configs/detr_256_6_6_torchvision.yaml
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
MODEL:
|
2 |
+
META_ARCHITECTURE: "Detr"
|
3 |
+
WEIGHTS: "detectron2://ImageNetPretrained/torchvision/R-50.pkl"
|
4 |
+
PIXEL_MEAN: [123.675, 116.280, 103.530]
|
5 |
+
PIXEL_STD: [58.395, 57.120, 57.375]
|
6 |
+
MASK_ON: False
|
7 |
+
RESNETS:
|
8 |
+
DEPTH: 50
|
9 |
+
STRIDE_IN_1X1: False
|
10 |
+
OUT_FEATURES: ["res2", "res3", "res4", "res5"]
|
11 |
+
DETR:
|
12 |
+
GIOU_WEIGHT: 2.0
|
13 |
+
L1_WEIGHT: 5.0
|
14 |
+
NUM_OBJECT_QUERIES: 100
|
15 |
+
DATASETS:
|
16 |
+
TRAIN: ("coco_2017_train",)
|
17 |
+
TEST: ("coco_2017_val",)
|
18 |
+
SOLVER:
|
19 |
+
IMS_PER_BATCH: 64
|
20 |
+
BASE_LR: 0.0001
|
21 |
+
STEPS: (369600,)
|
22 |
+
MAX_ITER: 554400
|
23 |
+
WARMUP_FACTOR: 1.0
|
24 |
+
WARMUP_ITERS: 10
|
25 |
+
WEIGHT_DECAY: 0.0001
|
26 |
+
OPTIMIZER: "ADAMW"
|
27 |
+
BACKBONE_MULTIPLIER: 0.1
|
28 |
+
CLIP_GRADIENTS:
|
29 |
+
ENABLED: True
|
30 |
+
CLIP_TYPE: "full_model"
|
31 |
+
CLIP_VALUE: 0.01
|
32 |
+
NORM_TYPE: 2.0
|
33 |
+
INPUT:
|
34 |
+
MIN_SIZE_TRAIN: (480, 512, 544, 576, 608, 640, 672, 704, 736, 768, 800)
|
35 |
+
CROP:
|
36 |
+
ENABLED: True
|
37 |
+
TYPE: "absolute_range"
|
38 |
+
SIZE: (384, 600)
|
39 |
+
FORMAT: "RGB"
|
40 |
+
TEST:
|
41 |
+
EVAL_PERIOD: 4000
|
42 |
+
DATALOADER:
|
43 |
+
FILTER_EMPTY_ANNOTATIONS: False
|
44 |
+
NUM_WORKERS: 4
|
45 |
+
VERSION: 2
|
configs/detr_segm_256_6_6_torchvision.yaml
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
MODEL:
|
2 |
+
META_ARCHITECTURE: "Detr"
|
3 |
+
# WEIGHTS: "detectron2://ImageNetPretrained/torchvision/R-50.pkl"
|
4 |
+
PIXEL_MEAN: [123.675, 116.280, 103.530]
|
5 |
+
PIXEL_STD: [58.395, 57.120, 57.375]
|
6 |
+
MASK_ON: True
|
7 |
+
RESNETS:
|
8 |
+
DEPTH: 50
|
9 |
+
STRIDE_IN_1X1: False
|
10 |
+
OUT_FEATURES: ["res2", "res3", "res4", "res5"]
|
11 |
+
DETR:
|
12 |
+
GIOU_WEIGHT: 2.0
|
13 |
+
L1_WEIGHT: 5.0
|
14 |
+
NUM_OBJECT_QUERIES: 100
|
15 |
+
FROZEN_WEIGHTS: ''
|
16 |
+
DATASETS:
|
17 |
+
TRAIN: ("coco_2017_train",)
|
18 |
+
TEST: ("coco_2017_val",)
|
19 |
+
SOLVER:
|
20 |
+
IMS_PER_BATCH: 64
|
21 |
+
BASE_LR: 0.0001
|
22 |
+
STEPS: (55440,)
|
23 |
+
MAX_ITER: 92400
|
24 |
+
WARMUP_FACTOR: 1.0
|
25 |
+
WARMUP_ITERS: 10
|
26 |
+
WEIGHT_DECAY: 0.0001
|
27 |
+
OPTIMIZER: "ADAMW"
|
28 |
+
BACKBONE_MULTIPLIER: 0.1
|
29 |
+
CLIP_GRADIENTS:
|
30 |
+
ENABLED: True
|
31 |
+
CLIP_TYPE: "full_model"
|
32 |
+
CLIP_VALUE: 0.01
|
33 |
+
NORM_TYPE: 2.0
|
34 |
+
INPUT:
|
35 |
+
MIN_SIZE_TRAIN: (480, 512, 544, 576, 608, 640, 672, 704, 736, 768, 800)
|
36 |
+
CROP:
|
37 |
+
ENABLED: True
|
38 |
+
TYPE: "absolute_range"
|
39 |
+
SIZE: (384, 600)
|
40 |
+
FORMAT: "RGB"
|
41 |
+
TEST:
|
42 |
+
EVAL_PERIOD: 4000
|
43 |
+
DATALOADER:
|
44 |
+
FILTER_EMPTY_ANNOTATIONS: False
|
45 |
+
NUM_WORKERS: 4
|
46 |
+
VERSION: 2
|