Skip to content
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

Add zarr merger notebook section #1433

Merged
merged 11 commits into from
Jul 4, 2023
Merged

Conversation

drbeh
Copy link
Member

@drbeh drbeh commented Jun 20, 2023

This PR add an example for ZarrAvgMerger to be plugged into PatchInferer along with WSISlidingWindowSplitter.

Note: Project-MONAI/MONAI#6633 in MONAI core should be merged before this one.

Checks

  • Avoid including large-size files in the PR.
  • Clean up long text outputs from code cells in the notebook.
  • For security purposes, please check the contents and remove any sensitive info such as user names and private key.
  • Ensure (1) hyperlinks and markdown anchors are working (2) use relative paths for tutorial repo files (3) put figure and graphs in the ./figure folder
  • Notebook runs automatically ./runner.sh -t <path to .ipynb file>

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@drbeh drbeh mentioned this pull request Jun 20, 2023
6 tasks
drbeh added a commit to Project-MONAI/MONAI that referenced this pull request Jun 28, 2023
Fixes #6006 

### Description

This PR implements `ZarrAvgMerger` which can be used for patch
inference. Also a use case is demonstrated
[here](Project-MONAI/tutorials#1433).

### 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.
- [x] Documentation updated, tested `make html` command in the `docs/`
folder.

---------

Signed-off-by: Behrooz <[email protected]>
Signed-off-by: Behrooz <[email protected]>
Signed-off-by: Behrooz <[email protected]>
@drbeh drbeh requested review from JHancox and KumoLiu June 29, 2023 14:21
@review-notebook-app
Copy link

review-notebook-app bot commented Jun 30, 2023

View / edit / reply to this conversation on ReviewNB

KumoLiu commented on 2023-06-30T02:19:35Z
----------------------------------------------------------------

Line #4.    import zarr

Seems zarr didn't install successfully.

https://github.com/Project-MONAI/tutorials/actions/runs/5413785783/jobs/9839865836?pr=1433#step:5:663


@review-notebook-app
Copy link

review-notebook-app bot commented Jun 30, 2023

View / edit / reply to this conversation on ReviewNB

KumoLiu commented on 2023-06-30T02:19:36Z
----------------------------------------------------------------

I just noticed that this one maybe "effect of adding patch filtering" to be consistent with the above cells. What do you think?


@review-notebook-app
Copy link

review-notebook-app bot commented Jun 30, 2023

View / edit / reply to this conversation on ReviewNB

KumoLiu commented on 2023-06-30T02:19:37Z
----------------------------------------------------------------

I'm a little confused here, maybe add some explanation or put some official zarr links to help users understand. What do you think?


@KumoLiu
Copy link
Contributor

KumoLiu commented Jun 30, 2023

Thanks for the update, overall looks good to me. Just leave a few comments inline.

@drbeh
Copy link
Member Author

drbeh commented Jul 3, 2023

Hi @KumoLiu, please take another look. Thanks

@drbeh drbeh enabled auto-merge (squash) July 3, 2023 15:41
@drbeh drbeh merged commit 5884947 into Project-MONAI:main Jul 4, 2023
5 checks passed
@drbeh drbeh deleted the zarr-merger-notebook branch July 4, 2023 14:30
boneseva pushed a commit to boneseva/MONAI-tutorials that referenced this pull request Apr 21, 2024
This PR add an example for `ZarrAvgMerger` to be plugged into
`PatchInferer` along with `WSISlidingWindowSplitter`.

Note: Project-MONAI/MONAI#6633 in MONAI core
should be merged before this one.

### Checks
<!--- Put an `x` in all the boxes that apply, and remove the not
applicable items -->
- [x] Avoid including large-size files in the PR.
- [x] Clean up long text outputs from code cells in the notebook.
- [x] For security purposes, please check the contents and remove any
sensitive info such as user names and private key.
- [x] Ensure (1) hyperlinks and markdown anchors are working (2) use
relative paths for tutorial repo files (3) put figure and graphs in the
`./figure` folder
- [x] Notebook runs automatically `./runner.sh -t <path to .ipynb file>`

---------

Signed-off-by: Behrooz <[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.

2 participants