-
Notifications
You must be signed in to change notification settings - Fork 737
Add demo for 2d inference on 3D volume #479
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 demo for 2d inference on 3D volume #479
Conversation
Add demo for 2d inference on 3D volume Signed-off-by: Suraj Pai <b.pai@maastrichtuniversity.nl>
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
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.
thanks, would it be more generic if there's an option for the slicing_axis
? so that the user can choose to squeeze to [N, C, H, W]
or [N, C, D, W]
or [N, C, D, H]
@wyli Definitely. I'll make the edits soon |
Added a |
41995bb
to
be74b60
Compare
Signed-off-by: Suraj <b.pai@maastrichtuniversity.nl>
5f6c79f
to
e463f9c
Compare
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.
Thanks, it looks good to me.
thanks, there are some PEP format errors https://github.com/Project-MONAI/tutorials/runs/4504304679?check_suite_focus=true#step:7:130 otherwise we can merge it anytime |
Signed-off-by: Suraj <b.pai@maastrichtuniversity.nl>
…ls into 2d_inference_3d_volume
Head branch was pushed to by a user without write access
Formatting should be PEP8 compliant now :) |
Signed-off-by: Suraj <b.pai@maastrichtuniversity.nl>
Added |
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.
Thanks for the quick update, looks good to me!
* Add demo for 2d inference on 3D volume Add demo for 2d inference on 3D volume Signed-off-by: Suraj Pai <b.pai@maastrichtuniversity.nl> * Add slice_axis to SlidingWindowInferer Signed-off-by: Suraj <b.pai@maastrichtuniversity.nl> * Address comments + PEP compliance Signed-off-by: Suraj <b.pai@maastrichtuniversity.nl> * Change to spatial_dim + assert Signed-off-by: Suraj <b.pai@maastrichtuniversity.nl> Co-authored-by: Wenqi Li <wenqil@nvidia.com>
Add demo for 2d inference on 3D volume
Signed-off-by: Suraj Pai b.pai@maastrichtuniversity.nl
part of #130
Project-MONAI/MONAI#1641
Project-MONAI/MONAI#3458
Description
Tutorial that demonstrates how monai
SlidingWindowInferer
can be used when a 3D volume input needs to be provided slice-by-slice to a 2D model and finally, aggregated into a 3D volume.Status
Ready