Skip to content

Commit

Permalink
pb with init model ? or DDP
Browse files Browse the repository at this point in the history
  • Loading branch information
camillebrianceau committed Oct 8, 2024
1 parent a0cabba commit 40b2452
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion clinicadl/maps_manager/maps_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ def _init_model(
nb_unfrozen_layer: int = 0,
split: Optional[int] = None,
resume: bool = False,
gpu: bool = False,
gpu: Optional[bool] = None,
network: Optional[int] = None,
):
"""
Expand Down
4 changes: 2 additions & 2 deletions clinicadl/trainer/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ def _train_single(
self.config.validation.selection_metrics,
)

self._erase_tmp(split)
self.maps_manager._erase_tmp(split)

def _train_ssda(
self,
Expand Down Expand Up @@ -662,7 +662,7 @@ def _train_ssda(
self.config.validation.selection_metrics,
)

self._erase_tmp(split)
self.maps_manager._erase_tmp(split)

def _train(
self,
Expand Down

0 comments on commit 40b2452

Please sign in to comment.