-
Notifications
You must be signed in to change notification settings - Fork 60
/
Copy pathaanet_sceneflow.yaml
executable file
·81 lines (74 loc) · 2.08 KB
/
aanet_sceneflow.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
72
73
74
75
76
77
78
79
80
81
DATA_CONFIG:
DATA_INFOS:
- DATASET: SceneFlowDataset
DATA_SPLIT: {
TRAINING: ./data/SceneFlow/sceneflow_cleanpass_train.txt,
EVALUATING: ./data/SceneFlow/sceneflow_cleanpass_test.txt,
TESTING: ./data/SceneFlow/sceneflow_cleanpass_test.txt
}
DATA_PATH: /yourpath/SceneFlow
RETURN_RIGHT_DISP: false
DATA_TRANSFORM:
TRAINING:
- { NAME: RandomCrop, SIZE: [ 288, 576 ], Y_JITTER: false }
- { NAME: TransposeImage }
- { NAME: ToTensor }
- { NAME: NormalizeImage, MEAN: [ 0.485, 0.456, 0.406 ], STD: [ 0.229, 0.224, 0.225 ] }
EVALUATING:
- { NAME: RightTopPad, SIZE: [ 576, 960 ] }
- { NAME: TransposeImage }
- { NAME: ToTensor }
- { NAME: NormalizeImage, MEAN: [ 0.485, 0.456, 0.406 ], STD: [ 0.229, 0.224, 0.225 ] }
MODEL:
NAME: AANet
MAX_DISP: &max_disp 192
NUM_DOWNSAMPLE: 2
FEATURE_TYPE: aanet
NO_FEATURE_MDCONV: false
FEATURE_PYRAMID: false
FEATURE_PYRAMID_NETWORK: true
FEATURE_SIMILARITY: correlation
AGGREGATION_TYPE: adaptive
NUM_SCALES: 3
NUM_FUSIONS: 6
DEFORMABLE_GROUPS: 2
MDCONV_DILATION: 2
REFINEMENT_TYPE: stereodrnet
NO_INTERMEDIATE_SUPERVISION: False
NUM_STAGE_BLOCKS: 1
NUM_DEFORM_BLOCKS: 3
FIND_UNUSED_PARAMETERS: false
CKPT: -1
PRETRAINED_MODEL: ''
OPTIMIZATION:
BATCH_SIZE_PER_GPU: 1
FREEZE_BN: false
SYNC_BN: true
AMP: false
NUM_EPOCHS: 64
OPTIMIZER:
NAME: Lamb
LR: 0.004
SCHEDULER:
NAME: MultiStepLR
GAMMA: 0.5
MILESTONES: [ 20, 40, 60 ]
ON_EPOCH: True
WARMUP:
WARM_STEPS: 100
EVALUATOR:
BATCH_SIZE_PER_GPU: 10
MAX_DISP: *max_disp
METRIC:
- d1_all
- epe
- thres_1
- thres_2
- thres_3
TRAINER:
EVAL_INTERVAL: 1
CKPT_SAVE_INTERVAL: 1
MAX_CKPT_SAVE_NUM: 30
LOGGER_ITER_INTERVAL: 10
TRAIN_VISUALIZATION: True
EVAL_VISUALIZATION: True