Skip to content

Commit

Permalink
Update vertebra scripts (#1159)
Browse files Browse the repository at this point in the history
Signed-off-by: Andres <[email protected]>

Signed-off-by: Andres <[email protected]>
Co-authored-by: SACHIDANAND ALLE <[email protected]>
  • Loading branch information
diazandr3s and SachidanandAlle authored Dec 3, 2022
1 parent 7183051 commit 4e72ec6
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion sample-apps/radiology/lib/configs/localization_spine.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ def trainer(self) -> Optional[TrainTask]:
load_path=load_path,
publish_path=self.path[1],
description="Train spine localization Model",
dimension=3,
labels=self.labels,
)
return task
1 change: 0 additions & 1 deletion sample-apps/radiology/lib/configs/localization_vertebra.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ def trainer(self) -> Optional[TrainTask]:
load_path=load_path,
publish_path=self.path[1],
description="Train vertebra localization Model",
dimension=3,
labels=self.labels,
)
return task
1 change: 0 additions & 1 deletion sample-apps/radiology/lib/configs/segmentation_vertebra.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ def trainer(self) -> Optional[TrainTask]:
load_path=load_path,
publish_path=self.path[1],
description="Train vertebra segmentation Model",
dimension=3,
labels=self.labels,
)
return task
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def val_pre_transforms(self, context: Context):
ScaleIntensityd(keys="image", minv=-1.0, maxv=1.0),
CropForegroundd(
keys=("image", "label"),
source_key="image",
source_key="label",
margin=10,
k_divisible=[self.roi_size[0], self.roi_size[1], self.roi_size[2]],
),
Expand Down

0 comments on commit 4e72ec6

Please sign in to comment.