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
given it's extensively used in the existing tutorials, would be great to enable metatensor output support and remove the inverse to preserve metadata when inverting the transform.
Thanks for raising this ticket. @KumoLiu and I also see this issue when updating the tutorials, I think maybe we can just change the default value of data_type arg to data_type: str = "metatensor" instead of "tensor"?
Is your feature request related to a problem? Please describe.
the current
EnsureType
removes any metadataMONAI/monai/transforms/utility/array.py
Line 464 in 99b9dd7
given it's extensively used in the existing tutorials, would be great to enable metatensor output support and remove the inverse to preserve metadata when inverting the transform.
MONAI/monai/transforms/utility/dictionary.py
Lines 570 to 574 in 99b9dd7
The text was updated successfully, but these errors were encountered: