Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG: Fix traceback in restored transform (#1766)
Using transforms from MONAI and MONAILabel can result in metadata containing torch.tensors and torch.Sizes. This change fixes a traceback in the restored transform resulting from an incompatibility between torch datatypes and numpy.any(). Signed-off-by: Thomas Kierski <[email protected]>
- Loading branch information