You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The existing Invertd transform provides useful functionality to invert transforms applied during training. I was not able to, however find an Invert transform that works only on MetaTensor
Describe the solution you'd like
I think it would be beneficial to have this feature for MetaTensor so it can be used outside dict formats.
Describe alternatives you've considered
Our current workaround is to just iterate over the transforms and call their inverse property in custom code.
Additional context
Add any other context or screenshots about the feature request here.
Activity
KumoLiu commentedon Dec 5, 2023
Hi @surajpaib, thanks for your reporting.
I think we have a "vanilla" one for
Invert.MONAI/monai/transforms/post/array.py
Line 831 in 88f8dd2
Thanks!