-
Notifications
You must be signed in to change notification settings - Fork 0
/
predict_config.yaml
60 lines (56 loc) · 1.69 KB
/
predict_config.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
ENVIRONMENT:
NUM_GPU: 1
DATA_LOADER:
TEST_IMAGE_DIR: '/workspace/inputs/'
TEST_SERIES_IDS_TXT: None
#LABEL_INDEX: [1, 2, 3, 4]
LABEL_INDEX: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]
LABEL_NUM: [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]
#LABEL_NUM: [1, 2, 1, 1]
LABEL_NAME: ['Liver', 'RKidney', 'Spleen', 'Pancreas', 'Aorta','IVC','RAG','LAG','Gall','Eso','Sto','Duo','LKidney']
#LABEL_NAME: ['Liver', 'Kidney', 'Spleen', 'Pancreas']
IS_NORMALIZATION_HU: True
IS_NORMALIZATION_DIRECTION: True
WINDOW_LEVEL: [-325, 325]
EXTEND_SIZE: 20
COARSE_MODEL:
META_ARCHITECTURE: 'UNet'
INPUT_SIZE: [160, 160, 160]
NUM_CLASSES: 13
NUM_CHANNELS: [8, 16, 32, 64, 128]
ENCODER_CONV_BLOCK: 'ResFourLayerConvBlock'
DECODER_CONV_BLOCK: 'ResTwoLayerConvBlock'
CONTEXT_BLOCK: None
NUM_DEPTH: 4
IS_PREPROCESS: True
IS_POSTPROCESS: False
IS_DYNAMIC_EMPTY_CACHE: True
WEIGHT_DIR: None
FINE_MODEL:
META_ARCHITECTURE: 'EfficientSegNet'
AUXILIARY_TASK: False
AUXILIARY_CLASS: 1
INPUT_SIZE: [192, 192, 192]
NUM_CLASSES: 13
NUM_BLOCKS: [2, 2, 2, 2, 2]
DECODER_NUM_BLOCK: 1
NUM_CHANNELS: [16, 32, 64, 128, 256]
ENCODER_CONV_BLOCK: 'ResBaseConvBlock'
DECODER_CONV_BLOCK: 'AnisotropicConvBlock'
CONTEXT_BLOCK: 'AnisotropicAvgPooling'
NUM_DEPTH: 4
IS_PREPROCESS: True
IS_POSTPROCESS: True
IS_DYNAMIC_EMPTY_CACHE: True
WEIGHT_DIR: None
TESTING:
COARSE_MODEL_WEIGHT_DIR: './FlareSeg/model_weights/base_coarse_model/best_model.pt'
FINE_MODEL_WEIGHT_DIR: './FlareSeg/model_weights/efficient_fine_model/best_model.pt'
NUM_WORKER: 3
BATCH_SIZE: 1
IS_FP16: True
SAVER_DIR: None
IS_SAVE_MASK: True
IS_POST_PROCESS: True
IS_SYNCHRONIZATION: True
OUT_RESAMPLE_MODE: 3