Skip to content

Auto3dseg ensemble path fix#6481

Merged
wyli merged 1 commit intoProject-MONAI:devfrom
myron:ensem
May 6, 2023
Merged

Auto3dseg ensemble path fix#6481
wyli merged 1 commit intoProject-MONAI:devfrom
myron:ensem

Conversation

@myron
Copy link
Copy Markdown
Collaborator

@myron myron commented May 6, 2023

Auto3dseg ensembling saves output results to the same filename if input images had the same name (but in different folders). this PR maintains the folder structure, so that the outputs are in different folders.

Description

A few sentences describing the changes proposed in this pull request.

Types of changes

  • Non-breaking change (fix or new feature that would not break existing functionality).
  • Breaking change (fix or new feature that would cause existing functionality to change).
  • New tests added to cover the changes.
  • Integration tests passed locally by running ./runtests.sh -f -u --net --coverage.
  • Quick tests passed locally by running ./runtests.sh --quick --unittests --disttests.
  • In-line docstrings updated.
  • Documentation updated, tested make html command in the docs/ folder.

Signed-off-by: myron <[email protected]>
@myron myron added this to the Auto3DSeg enhancement [P0 v1.2] milestone May 6, 2023
@wyli wyli enabled auto-merge (squash) May 6, 2023 12:24
@wyli
Copy link
Copy Markdown
Contributor

wyli commented May 6, 2023

/build

@wyli wyli merged commit 3c6812f into Project-MONAI:dev May 6, 2023
wyli added a commit that referenced this pull request May 6, 2023
wyli pushed a commit that referenced this pull request May 7, 2023
redo #6481 .

### Description

- Take the code from #6481 
- Deprecate `data_src_cfg_filename` and replace it with
`data_src_cfg_name` so that the same thing can be consistent across
AutoRunner, BundleGen, and Ensemble classes
- Make `data_src_cfg_name` a required argument in the ensemble runner
because it is prone to error to use a default name.
- Improves test structure, but nothing major is changed.

What is not done:
- Add tests to check the output structure, because EnsembleRunner
doesn't support changing the pred_param for individual algo seperately,
and then I can't really run the `ensemble` method in EnsembleRunner.

### Types of changes
<!--- Put an `x` in all the boxes that apply, and remove the not
applicable items -->
- [x] Non-breaking change (fix or new feature that would not break
existing functionality).
- [ ] Breaking change (fix or new feature that would cause existing
functionality to change).
- [ ] New tests added to cover the changes.
- [ ] Integration tests passed locally by running `./runtests.sh -f -u
--net --coverage`.
- [ ] Quick tests passed locally by running `./runtests.sh --quick
--unittests --disttests`.
- [ ] In-line docstrings updated.
- [ ] Documentation updated, tested `make html` command in the `docs/`
folder.

---------

Signed-off-by: Mingxin Zheng <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants