File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed
Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 3434 ONNXModelWrapper ,
3535 QuantileNormalization ,
3636 QuantileNormalizationd ,
37- RemapTensor ,
3837 WeightsDownloader ,
3938)
4039
@@ -718,15 +717,15 @@ def inference(self):
718717 if not post_process_config .thresholding .enabled :
719718 post_process_transforms = Compose (
720719 [
721- RemapTensor (new_max = 1.0 , new_min = 0.0 ),
720+ # RemapTensor(new_max=1.0, new_min=0.0),
722721 EnsureType (),
723722 ]
724723 )
725724 else :
726725 t = post_process_config .thresholding .threshold_value
727726 post_process_transforms = Compose (
728727 [
729- RemapTensor (new_max = 1.0 , new_min = 0.0 ),
728+ # RemapTensor(new_max=1.0, new_min=0.0),
730729 AsDiscrete (threshold = t ),
731730 EnsureType (),
732731 ]
Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ def __init__(
186186
187187 self .epoch_choice = ui .IntIncrementCounter (
188188 lower = 2 ,
189- upper = 200 ,
189+ upper = 999 ,
190190 default = self .default_config .max_epochs ,
191191 text_label = "Number of epochs : " ,
192192 )
Original file line number Diff line number Diff line change @@ -247,7 +247,7 @@ class TrainingWorkerConfig:
247247 weights_info : WeightsInfo = None
248248 train_data_dict : dict = None
249249 validation_percent : float = 0.8
250- max_epochs : int = 5
250+ max_epochs : int = 50
251251 loss_function : callable = None
252252 learning_rate : np .float64 = 1e-3
253253 scheduler_patience : int = 10
You can’t perform that action at this time.
0 commit comments