Is your feature request related to a problem? Please describe.
follow up of #1784 (reply in thread) the error message from the apply_transform function could be improved
|
raise RuntimeError(f"applying transform {transform}") from e |
Describe the solution you'd like
could use DataStatsd to print additional type/shape info before raising the RuntimeError?
Is your feature request related to a problem? Please describe.
follow up of #1784 (reply in thread) the error message from the
apply_transformfunction could be improvedMONAI/monai/transforms/transform.py
Line 48 in 70388fa
Describe the solution you'd like
could use
DataStatsdto print additional type/shape info before raising the RuntimeError?