-
Notifications
You must be signed in to change notification settings - Fork 742
Tutorial/Demo for Modular Patch Inferer #1316
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
Conversation
Signed-off-by: Behrooz <[email protected]>
Signed-off-by: Behrooz <[email protected]>
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Signed-off-by: Behrooz <[email protected]>
for more information, see https://pre-commit.ci
Hi @drbeh , do you plan to complete this PR for review? Thanks. |
Yes, I'll do it shortly. |
Signed-off-by: Behrooz <[email protected]>
…to patch_inferer
for more information, see https://pre-commit.ci
Signed-off-by: Behrooz <[email protected]>
Signed-off-by: Behrooz <[email protected]>
…to patch_inferer
for more information, see https://pre-commit.ci
Signed-off-by: Behrooz <[email protected]>
…to patch_inferer
Signed-off-by: Behrooz <[email protected]>
for more information, see https://pre-commit.ci
Signed-off-by: Behrooz <[email protected]>
Signed-off-by: Behrooz <[email protected]>
View / edit / reply to this conversation on ReviewNB KumoLiu commented on 2023-06-01T06:05:48Z Duplicated "to" in the first line. "The core to to a modular patch". |
View / edit / reply to this conversation on ReviewNB KumoLiu commented on 2023-06-01T06:05:49Z Missing title for this cell and the following cell? And can we also add a raw image here? |
View / edit / reply to this conversation on ReviewNB KumoLiu commented on 2023-06-01T06:05:50Z Line #22. fig.suptitle(f"Patch filtering by a threshold (without padding, {patch_size=})", fontsize=24) A wrong patch size here for the title. |
View / edit / reply to this conversation on ReviewNB Nic-Ma commented on 2023-06-03T09:32:29Z I think we usually don't need to put the program code design diagram in tutorial, what do you think?
Thanks.
|
@wyli @ericspod What do you think? Thanks. |
I'm fine with more information in tutorials especially for a design concept that requires a little explanation. We can do embedded images directly in the notebook rather than linking to a file if you wanted to not have it. Thanks! |
Signed-off-by: Behrooz <[email protected]>
for more information, see https://pre-commit.ci
Signed-off-by: Behrooz <[email protected]>
…to patch_inferer
Hi @drbeh , I see 1 error in the CI:
If you have any questions about the CI execution env, maybe @mingxin-zheng and @wyli can help. Thanks in advance. |
That's right, @Nic-Ma! I believe openslide library is not being installed in the CI/CD. I can add it but let me see if I can make things work with cucim, so we can avoid additional time that installing the library will take for each test. |
Signed-off-by: Behrooz <[email protected]>
It passed all tests with cucim. Will merge it. |
### Description This PR adds a notebook to demonstrate how the new [modular patch inference](Project-MONAI/MONAI#5837) can used: - `PatchInferer` - `AvgMerger` - `SlidingWindowSplitter` - `WSISlidingWindowSplitter` ### 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]>
Description
This PR adds a notebook to demonstrate how the new modular patch inference can used:
PatchInferer
AvgMerger
SlidingWindowSplitter
WSISlidingWindowSplitter
Checks
./figure
folder./runner.sh -t <path to .ipynb file>