Redo Auto3dseg ensemble path fix#6485
Merged
wyli merged 5 commits intoProject-MONAI:devfrom May 7, 2023
mingxin-zheng:fix-6483-ensemble
Merged
Redo Auto3dseg ensemble path fix#6485wyli merged 5 commits intoProject-MONAI:devfrom mingxin-zheng:fix-6483-ensemble
wyli merged 5 commits intoProject-MONAI:devfrom
mingxin-zheng:fix-6483-ensemble
Conversation
Signed-off-by: Mingxin Zheng <[email protected]>
Signed-off-by: Mingxin Zheng <[email protected]>
Signed-off-by: Mingxin Zheng <[email protected]>
Signed-off-by: Mingxin Zheng <[email protected]>
Contributor
Author
|
/integration-test |
Contributor
|
/build |
Contributor
|
/build |
Collaborator
|
@mingxin-zheng since you've standardized it to use "data_src_cfg_name" , do you want to replace "data_src_cfg_filename" in other places? I still see that name in BundleGen vars ? thanks |
Contributor
Author
|
Thanks @myron! I forgot to do so but I will for the |
5 tasks
wyli
pushed a commit
that referenced
this pull request
May 10, 2023
…templates folder (#6505) Fixes #6502 Fixes #6501 ### Background - BundleAlgo `template_path` points to `algorithm_templates/<Algo>` <= MONAI 1.1. Recent PR #6436 changed that to `algorithm_templates` and make it easier to instantiate the BundleAlgo from "algorithm_templates" folder when the folders are moved. - But `BundleGen` did not update accordingly and still save `algorithm_templates/<Algo>` as the `template_path` , which breaks NNI HPO feature which relies heavily on these paths. ### Description - Make `template_path` points to `algorithm_templates` - Avoid using the latest `filelock` (3.12.0) which breaks nni - Fix comments in #6485 (comment) in #6485 ### 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). - [x] New tests added to cover the changes. - [x] Integration tests passed locally by running `./runtests.sh -f -u --net --coverage`. - [x] Quick tests passed locally by running `./runtests.sh --quick --unittests --disttests`. - [x] In-line docstrings updated. --------- Signed-off-by: Mingxin <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
redo #6481 .
Description
data_src_cfg_filenameand replace it withdata_src_cfg_nameso that the same thing can be consistent across AutoRunner, BundleGen, and Ensemble classesdata_src_cfg_namea required argument in the ensemble runner because it is prone to error to use a default name.What is not done:
ensemblemethod in EnsembleRunner.Types of changes
./runtests.sh -f -u --net --coverage../runtests.sh --quick --unittests --disttests.make htmlcommand in thedocs/folder.