-
Notifications
You must be signed in to change notification settings - Fork 24
/
video_maskformer2_R50_bs16_8ep.yaml
68 lines (67 loc) · 1.83 KB
/
video_maskformer2_R50_bs16_8ep.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
_BASE_: Base-YouTubeVIS-VideoInstanceSegmentation_long_bs16.yaml
OUTPUT_DIR: './r50_coco_joint/'
SEED: 29118357
MODEL:
WEIGHTS: "./pretrained_model/model_final_3c8ec9.pkl"
META_ARCHITECTURE: "VideoMaskFormer"
SEM_SEG_HEAD:
NAME: "MaskFormerHead"
IGNORE_VALUE: 255
NUM_CLASSES: 40
LOSS_WEIGHT: 1.0
CONVS_DIM: 256
MASK_DIM: 256
NORM: "GN"
# pixel decoder
PIXEL_DECODER_NAME: "MSDeformAttnPixelDecoder"
IN_FEATURES: ["res2", "res3", "res4", "res5"]
DEFORMABLE_TRANSFORMER_ENCODER_IN_FEATURES: ["res3", "res4", "res5"]
COMMON_STRIDE: 4
TRANSFORMER_ENC_LAYERS: 6
MASK_FORMER:
TRANSFORMER_DECODER_NAME: "VideoMultiScaleMaskedTransformerDecoder"
TRANSFORMER_IN_FEATURE: "multi_scale_pixel_decoder"
DEEP_SUPERVISION: True
NO_OBJECT_WEIGHT: 0.1
CLASS_WEIGHT: 2.0
MASK_WEIGHT: 5.0
DICE_WEIGHT: 5.0
HIDDEN_DIM: 256
NUM_OBJECT_QUERIES: 100
NHEADS: 8
DROPOUT: 0.0
DIM_FEEDFORWARD: 2048
ENC_LAYERS: 0
PRE_NORM: False
ENFORCE_INPUT_PROJ: False
SIZE_DIVISIBILITY: 32
DEC_LAYERS: 10 # 9 decoder layers, add one for the loss on learnable query
TRAIN_NUM_POINTS: 20000 #20000 #12544
OVERSAMPLE_RATIO: 3.0
IMPORTANCE_SAMPLE_RATIO: 0.75
TEST:
SEMANTIC_ON: False
INSTANCE_ON: True
PANOPTIC_ON: False
OVERLAP_THRESHOLD: 0.8
OBJECT_MASK_THRESHOLD: 0.8
INPUT:
MIN_SIZE_TRAIN_SAMPLING: "choice_by_clip"
PSEUDO:
SAMPLING_FRAME_NUM: 4
SAMPLING_FRAME_RANGE: 20
AUGMENTATIONS: ['rotation']
MIN_SIZE_TRAIN: (288, 320, 352, 384, 416, 448, 480, 512)
MAX_SIZE_TRAIN: 768
CROP:
ENABLED: True
TYPE: "absolute_range"
SIZE: (384, 600)
LSJ_AUG:
ENABLED: False
IMAGE_SIZE: 768
MIN_SCALE: 0.1
MAX_SCALE: 2.0
DATALOADER:
FILTER_EMPTY_ANNOTATIONS: True
# NUM_WORKERS: 8