Skip to content

Commit

Permalink
update model
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianIsensee committed Apr 30, 2024
1 parent 4813305 commit 2eee620
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions nnunetv2/inference/JHU_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def predict_from_data_iterator(self,


if __name__ == '__main__':
# /home/isensee/Downloads/jhu_preliminary_trained_model/nnUNetTrainer_fasterDA_minVal_float16data__nnUNetResEncUNetLPlans_torchres__3d_fullres
# /home/isensee/JHU_trained_model
# /home/isensee/Downloads/AbdomenAtlasTest
# /home/isensee/Downloads/AbdomenAtlasTest_pred

Expand All @@ -174,7 +174,7 @@ def predict_from_data_iterator(self,
predictor.initialize_from_trained_model_folder(
args.model,
('all', ),
'checkpoint_anon.pth' # TODO update
'checkpoint_latest.pth'
)

# we need to create list of list of input files
Expand All @@ -187,8 +187,8 @@ def predict_from_data_iterator(self,
output_folders,
save_probabilities=False,
overwrite=True,
num_processes_preprocessing=3,
num_processes_segmentation_export=6,
num_processes_preprocessing=2,
num_processes_segmentation_export=3,
folder_with_segs_from_prev_stage=None,
num_parts=1,
part_id=0
Expand Down

0 comments on commit 2eee620

Please sign in to comment.