-
when I tried to do ,on a batch data from model's output,I have to do like this:
because of AsDiscrete set to first dim as channel. |
Beta Was this translation helpful? Give feedback.
Answered by
Nic-Ma
May 28, 2022
Replies: 1 comment 1 reply
-
Hi @lg2578 , Thanks for your interest here. Thanks. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
lg2578
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @lg2578 ,
Thanks for your interest here.
The typical method of postprocessing is:
data = [postprocessing(i) for i in decollate_batch(data)]
.You can find all the details in this tutorial:
https://github.com/Project-MONAI/tutorials/blob/main/modules/decollate_batch.ipynb
Thanks.