VBoussot commited on
Commit
9833ede
·
verified ·
1 Parent(s): 7ae66df

Use SAM_Perceptual(train=True, weights=[0,1,1,0]) as training loss instead of IMPACTReg

Browse files
Files changed (4) hide show
  1. CBCT/Config.yml +4 -16
  2. Finetune/Config.yml +4 -16
  3. MR/Config.yml +4 -16
  4. MR_CBCT/Config.yml +4 -16
CBCT/Config.yml CHANGED
@@ -18,21 +18,9 @@ Trainer:
18
  stop: None
19
  accumulation: false
20
  reduction: mean
21
- IMPACTReg/1:
22
- name: SAM
23
- model_name: SAM2.1/SAM2.1_Small.pt
24
- shape:
25
- - 0
26
- - 0
27
- in_channels: 3
28
- loss: torch:nn:L1Loss
29
- weights:
30
- - 0
31
- - 1
32
- - 1
33
- size_average: None
34
- reduce: None
35
- reduction: mean
36
  schedulers:
37
  Constant:
38
  nb_step: 0
@@ -178,4 +166,4 @@ Trainer:
178
  monitor: []
179
  patience: 30
180
  min_delta: 0.0
181
- mode: min
 
18
  stop: None
19
  accumulation: false
20
  reduction: mean
21
+ SAM_Perceptual:
22
+ train: true
23
+ weights: [0, 1, 1, 0]
 
 
 
 
 
 
 
 
 
 
 
 
24
  schedulers:
25
  Constant:
26
  nb_step: 0
 
166
  monitor: []
167
  patience: 30
168
  min_delta: 0.0
169
+ mode: min
Finetune/Config.yml CHANGED
@@ -18,21 +18,9 @@ Trainer:
18
  stop: None
19
  accumulation: false
20
  reduction: mean
21
- IMPACTReg/1:
22
- name: SAM
23
- model_name: SAM2.1/SAM2.1_Small.pt
24
- shape:
25
- - 0
26
- - 0
27
- in_channels: 3
28
- loss: torch:nn:L1Loss
29
- weights:
30
- - 0
31
- - 1
32
- - 1
33
- size_average: None
34
- reduce: None
35
- reduction: mean
36
  schedulers:
37
  Constant:
38
  nb_step: 0
@@ -178,4 +166,4 @@ Trainer:
178
  monitor: []
179
  patience: 30
180
  min_delta: 0.0
181
- mode: min
 
18
  stop: None
19
  accumulation: false
20
  reduction: mean
21
+ SAM_Perceptual:
22
+ train: true
23
+ weights: [0, 1, 1, 0]
 
 
 
 
 
 
 
 
 
 
 
 
24
  schedulers:
25
  Constant:
26
  nb_step: 0
 
166
  monitor: []
167
  patience: 30
168
  min_delta: 0.0
169
+ mode: min
MR/Config.yml CHANGED
@@ -18,21 +18,9 @@ Trainer:
18
  stop: None
19
  accumulation: false
20
  reduction: mean
21
- IMPACTReg/1:
22
- name: SAM
23
- model_name: SAM2.1/SAM2.1_Small.pt
24
- shape:
25
- - 0
26
- - 0
27
- in_channels: 3
28
- loss: torch:nn:L1Loss
29
- weights:
30
- - 0
31
- - 1
32
- - 1
33
- size_average: None
34
- reduce: None
35
- reduction: mean
36
  schedulers:
37
  Constant:
38
  nb_step: 0
@@ -178,4 +166,4 @@ Trainer:
178
  monitor: []
179
  patience: 30
180
  min_delta: 0.0
181
- mode: min
 
18
  stop: None
19
  accumulation: false
20
  reduction: mean
21
+ SAM_Perceptual:
22
+ train: true
23
+ weights: [0, 1, 1, 0]
 
 
 
 
 
 
 
 
 
 
 
 
24
  schedulers:
25
  Constant:
26
  nb_step: 0
 
166
  monitor: []
167
  patience: 30
168
  min_delta: 0.0
169
+ mode: min
MR_CBCT/Config.yml CHANGED
@@ -18,21 +18,9 @@ Trainer:
18
  stop: None
19
  accumulation: false
20
  reduction: mean
21
- IMPACTReg/1:
22
- name: SAM
23
- model_name: SAM2.1/SAM2.1_Small.pt
24
- shape:
25
- - 0
26
- - 0
27
- in_channels: 3
28
- loss: torch:nn:L1Loss
29
- weights:
30
- - 0
31
- - 1
32
- - 1
33
- size_average: None
34
- reduce: None
35
- reduction: mean
36
  schedulers:
37
  Constant:
38
  nb_step: 0
@@ -178,4 +166,4 @@ Trainer:
178
  monitor: []
179
  patience: 30
180
  min_delta: 0.0
181
- mode: min
 
18
  stop: None
19
  accumulation: false
20
  reduction: mean
21
+ SAM_Perceptual:
22
+ train: true
23
+ weights: [0, 1, 1, 0]
 
 
 
 
 
 
 
 
 
 
 
 
24
  schedulers:
25
  Constant:
26
  nb_step: 0
 
166
  monitor: []
167
  patience: 30
168
  min_delta: 0.0
169
+ mode: min