Skip to content

Commit

Permalink
cli
Browse files Browse the repository at this point in the history
  • Loading branch information
camillebrianceau committed Oct 9, 2024
1 parent 44926cd commit af2c1d6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion clinicadl/interpret/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from clinicadl.caps_dataset.data_config import DataConfig as DataBaseConfig
from clinicadl.caps_dataset.dataloader_config import DataLoaderConfig
from clinicadl.interpret.gradients import GradCam, Gradients, VanillaBackProp
from clinicadl.maps_manager.config import MapsManagerConfigBase
from clinicadl.maps_manager.config import MapsManagerConfig as MapsManagerConfigBase
from clinicadl.maps_manager.maps_manager import MapsManager
from clinicadl.predictor.validation import ValidationConfig
from clinicadl.splitter.config import SplitConfig
Expand All @@ -20,6 +20,8 @@


class MapsManagerConfig(MapsManagerConfigBase):
save_tensor: bool = False

def check_output_saving_tensor(self, network_task: str) -> None:
# Check if task is reconstruction for "save_tensor" and "save_nifti"
if self.save_tensor and network_task != "reconstruction":
Expand Down

0 comments on commit af2c1d6

Please sign in to comment.