-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve Compose encapsulation #6224
Conversation
for more information, see https://pre-commit.ci
/black |
Signed-off-by: monai-bot <[email protected]>
Signed-off-by: Ben Murray <[email protected]>
Signed-off-by: Ben Murray <[email protected]>
I, Ben Murray <[email protected]>, hereby add my Signed-off-by to this commit: 1759f96 Signed-off-by: Ben Murray <[email protected]>q:
I, Ben Murray <[email protected]>, hereby add my Signed-off-by to this commit: 1759f96 Signed-off-by: Ben Murray <[email protected]>
…o compose_refactor
I, Ben Murray <[email protected]>, hereby add my Signed-off-by to this commit: 10edabd Signed-off-by: Ben Murray <[email protected]>
…edataset_persistent_workers pass Signed-off-by: Ben Murray <[email protected]>
Taking the opportunity boost the docstrings a little. It looks as if logging only does anything when the pipeline raises an exception of some kind, so the comment for that parameter should be updated, yes? |
Signed-off-by: Ben Murray <[email protected]>
I think the refactoring makes sense, let me trigger some integration tests about multiprocessing |
Signed-off-by: Wenqi Li <[email protected]>
Signed-off-by: Wenqi Li <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the integration tests work fine, could you please revise the docstrings, and in my opinion we can merge this. more tests with Compose.execute
would be great as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The change logic looks good to me, put minor comments inline.
Please complete the doc-strings and double-confirm the threading
arg in the self.transform()
function of every dataset class.
Thanks.
…o compose_refactor
I, Ben Murray <[email protected]>, hereby add my Signed-off-by to this commit: 61f67e4 Signed-off-by: Ben Murray <[email protected]>
Signed-off-by: Ben Murray <[email protected]>
Signed-off-by: Ben Murray <[email protected]>
Signed-off-by: Ben Murray <[email protected]>
|
please update the docstring of the datasets to clarify the implicit execution of pending operations during caching. otherwise this looks good to me. |
… Documenting lazy resampling functionality and updating dataset docs to refer to it as per @wyli's request Signed-off-by: Ben Murray <[email protected]>
Signed-off-by: Ben Murray <[email protected]>
I, Ben Murray <[email protected]>, hereby add my Signed-off-by to this commit: 6bdedac Signed-off-by: Ben Murray <[email protected]>
through list comprehension Signed-off-by: Ben Murray <[email protected]>
Signed-off-by: Ben Murray <[email protected]>
Signed-off-by: Ben Murray <[email protected]>
execute_compose. Signed-off-by: Ben Murray <[email protected]>
Signed-off-by: Ben Murray <[email protected]>
critical design flaw that needs fixing Signed-off-by: Ben Murray <[email protected]>
code with an incorrect type Signed-off-by: Ben Murray <[email protected]>
Signed-off-by: Ben Murray <[email protected]>
/build |
Fixes Project-MONAI#6223 . ### 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] 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: Ben Murray <[email protected]> Signed-off-by: a-parida12 <[email protected]>
Fixes #6223 .
Description
A few sentences describing the changes proposed in this pull request.
Types of changes
./runtests.sh -f -u --net --coverage
../runtests.sh --quick --unittests --disttests
.make html
command in thedocs/
folder.