Skip to content

Commit

Permalink
a100 and liam suggested change
Browse files Browse the repository at this point in the history
  • Loading branch information
Itai Guez [email protected] committed May 16, 2023
1 parent 6343d16 commit 21eebe8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion fuse_examples/imaging/segmentation/picai/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,6 @@ def run_train(paths: NDict, train: NDict) -> None:
accelerator=train["trainer"]["accelerator"],
devices=train["trainer"]["devices"],
num_sanity_val_steps=-1,
auto_select_gpus=True,
)

# train from scratch
Expand Down
1 change: 1 addition & 0 deletions fuseimg/datasets/picai.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ def static_pipeline(
OpLoadPICAISegmentation(data_dir, seg_dir),
dict(key_in="data.input.img_path", key_out="data.gt.seg", gt="data.gt.classification"),
),
(OpRepeat(OpLambda(partial(np.transpose, axes=[2,0,1])), kwargs_per_step_to_add=repeat_images_with_seg), dict()),
(
OpRepeat(
(
Expand Down

0 comments on commit 21eebe8

Please sign in to comment.