Skip to content

Conversation

@bhashemian
Copy link
Member

@bhashemian bhashemian 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>

Signed-off-by: Behrooz <3968947+drbeh@users.noreply.github.com>
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@bhashemian bhashemian mentioned this pull request Jun 20, 2023
6 tasks
bhashemian 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 <3968947+drbeh@users.noreply.github.com>
Signed-off-by: Behrooz <3968947+drbeh@users.noreply.github.com>
Signed-off-by: Behrooz <3968947+drbeh@users.noreply.github.com>
@bhashemian bhashemian force-pushed the zarr-merger-notebook branch from d63ad45 to 598d46b Compare June 29, 2023 14:20
@bhashemian bhashemian requested review from JHancox and KumoLiu June 29, 2023 14:21
Signed-off-by: Behrooz <3968947+drbeh@users.noreply.github.com>
Signed-off-by: Behrooz <3968947+drbeh@users.noreply.github.com>
@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.

bhashemian and others added 4 commits July 3, 2023 11:02
Signed-off-by: Behrooz <3968947+drbeh@users.noreply.github.com>
Signed-off-by: Behrooz <3968947+drbeh@users.noreply.github.com>
Signed-off-by: Behrooz <3968947+drbeh@users.noreply.github.com>
@bhashemian
Copy link
Member Author

Hi @KumoLiu, please take another look. Thanks

@bhashemian bhashemian enabled auto-merge (squash) July 3, 2023 15:41
@bhashemian bhashemian merged commit 5884947 into Project-MONAI:main Jul 4, 2023
@bhashemian bhashemian 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 <3968947+drbeh@users.noreply.github.com>
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