Invertd vs. BatchInverseTransform #2332
Answered
by
Nic-Ma
dianemarquette
asked this question in
Q&A
-
Hi! I'm really glad that the MONAI team developed tools to invert transforms applied to the data. It's really useful for predictions! However, I'm a bit confused about how I've looked at the unet_inference_dict.py and the inverse_transforms_and_test_time_augmentations.ipynb tutorials. But, I still can't spot the real difference between both transforms. Thanks in advance for the clarification :) |
Beta Was this translation helpful? Give feedback.
Answered by
Nic-Ma
Jun 8, 2021
Replies: 1 comment 1 reply
-
Hi @dianemarquette , Thanks for your interest here.
Thanks. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
dianemarquette
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @dianemarquette ,
Thanks for your interest here.
Invertd
is based onBatchInverseTransform
and provides more features: to_tensor, device, post_func, etc. And can execute for several keys together.Invertd
is a post transform, which can be composed with other transforms.channel-first
Tensor data instead of abatch-first
Tensor.Thanks.