Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianIsensee committed Dec 12, 2023
1 parent 1315d2f commit b00b41f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion nnunetv2/inference/examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
tile_step_size=0.5,
use_gaussian=True,
use_mirroring=True,
perform_everything_on_gpu=True,
perform_everything_on_device=True,
device=torch.device('cuda', 0),
verbose=False,
verbose_preprocessing=False,
Expand Down
2 changes: 1 addition & 1 deletion nnunetv2/inference/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Example:
tile_step_size=0.5,
use_gaussian=True,
use_mirroring=True,
perform_everything_on_gpu=True,
perform_everything_on_device=True,
device=torch.device('cuda', 0),
verbose=False,
verbose_preprocessing=False,
Expand Down
2 changes: 1 addition & 1 deletion nnunetv2/training/nnUNetTrainer/nnUNetTrainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1122,7 +1122,7 @@ def perform_actual_validation(self, save_probabilities: bool = False):
self.network.eval()

predictor = nnUNetPredictor(tile_step_size=0.5, use_gaussian=True, use_mirroring=True,
perform_everything_on_gpu=True, device=self.device, verbose=False,
perform_everything_on_device=True, device=self.device, verbose=False,
verbose_preprocessing=False, allow_tqdm=False)
predictor.manual_initialization(self.network, self.plans_manager, self.configuration_manager, None,
self.dataset_json, self.__class__.__name__,
Expand Down

0 comments on commit b00b41f

Please sign in to comment.