-
Notifications
You must be signed in to change notification settings - Fork 1
/
gem_sam_tiny_bs32_iter1w_steplr.yaml
71 lines (69 loc) · 1.84 KB
/
gem_sam_tiny_bs32_iter1w_steplr.yaml
1
2
3
4
5
6
7
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
_BASE_: Base-ADE20K-SAM-Tiny-SemanticSegmentation.yaml
OUTPUT_DIR: 'output_2e-4_gem_tiny_baseline_iter1w/'
MODEL:
META_ARCHITECTURE: "MaskDINO"
# DEVICE: "cpu"
SEM_SEG_HEAD:
NAME: "MaskDINOHead"
IGNORE_VALUE: 255
NUM_CLASSES: 2
LOSS_WEIGHT: 1.0
CONVS_DIM: 256
MASK_DIM: 256
NORM: "GN"
# pixel decoder
PIXEL_DECODER_NAME: "MaskDINOEncoder"
DIM_FEEDFORWARD: 1024
NUM_FEATURE_LEVELS: 3
TOTAL_NUM_FEATURE_LEVELS: 3
IN_FEATURES: ["res2", "res3", "res4", "res5"]
DEFORMABLE_TRANSFORMER_ENCODER_IN_FEATURES: ["res3", "res4", "res5"]
COMMON_STRIDE: 4
TRANSFORMER_ENC_LAYERS: 0
MaskDINO:
TRANSFORMER_DECODER_NAME: "MaskDINODecoder"
DEEP_SUPERVISION: True
NO_OBJECT_WEIGHT: 0.1
CLASS_WEIGHT: 5.0 # 4
MASK_WEIGHT: 5.0
DICE_WEIGHT: 5.0
HIDDEN_DIM: 256
NUM_OBJECT_QUERIES: 100
NHEADS: 8
DROPOUT: 0.0 # 0.0 hj
DIM_FEEDFORWARD: 2048
ENC_LAYERS: 0
PRE_NORM: False
ENFORCE_INPUT_PROJ: False
SIZE_DIVISIBILITY: 32
DEC_LAYERS: 9 # 9 decoder layers, add one for the loss on learnable query
TRAIN_NUM_POINTS: 12544
OVERSAMPLE_RATIO: 3.0
IMPORTANCE_SAMPLE_RATIO: 0.75
TWO_STAGE: False
DN: "seg"
DN_NUM: 100
INITIALIZE_BOX_TYPE: "no" # mask2box
SEMANTIC_CE_LOSS: True
TEST:
SEMANTIC_ON: True
INSTANCE_ON: False
PANOPTIC_ON: False
OVERLAP_THRESHOLD: 0.8
OBJECT_MASK_THRESHOLD: 0.8
SOLVER:
AMP:
ENABLED: False
BACKBONE_MULTIPLIER: 0.5
BASE_LR: 2e-4 # 0.0001
BIAS_LR_FACTOR: 0.1 # 0.1
CHECKPOINT_PERIOD: 500
IMS_PER_BATCH: 32
LR_SCHEDULER_NAME: WarmupMultiStepLR
MAX_ITER: 160000
STEPS: (8438,9375) # (8438,9375) # (4000, 4500) (16875,18750) (135000,150000) (67500,75000) (33759,37500)
WARMUP_FACTOR: 1.0
WARMUP_ITERS: 10
WARMUP_METHOD: linear
TEST:
EVAL_PERIOD: 1000 # 500