File size: 976 Bytes
01664b3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
_BASE_: ../maskformer2_R50_bs16_50ep.yaml

INPUT:
  FORMAT: "RGB"
  IMAGE_SIZE: 256
  MAX_SIZE_TEST: 256
  MAX_SIZE_TRAIN: 256
  MIN_SIZE_TEST: 256
  MIN_SIZE_TRAIN:
  - 256
  # DATASET_MAPPER_NAME: "motion_instance"

DATALOADER:
  NUM_WORKERS: 4

DATASETS:
  TRAIN: ("MotionNet_train",)
  TEST: ("MotionNet_valid",)

MODEL:
  MOTIONNET:
    TYPE: BMOC_V0
  SEM_SEG_HEAD:
    NUM_CLASSES: 3
  MASK_ON: True # Useful for our MotionEvaluator, because it's from an older version detectron2
  MASK_FORMER:
    TRANSFORMER_DECODER_NAME: OPDMultiScaleMaskedTransformerDecoder
    CLASS_WEIGHT: 2.0
    MASK_WEIGHT: 5.0
    DICE_WEIGHT: 5.0
    MTYPE_WEIGHT: 2.0
    MORIGIN_WEIGHT: 16.0
    MAXIS_WEIGHT: 16.0
    MSTATE_WEIGHT: 16.0
    MSTATEMAX_WEIGHT: 16.0
    EXTRINSIC_WEIGHT: 30.0

SOLVER:
  IMS_PER_BATCH: 16
  BASE_LR: 0.0001
  STEPS: (36000, 48000)
  MAX_ITER: 60000
  CHECKPOINT_PERIOD: 10000

TEST:
  AUG:
    ENABLED: false
    FLIP: false
  EVAL_PERIOD: 10000
SEED: 42