Skip to content

Some transforms randomly output numpy or tensor that can't collate  #3142

@Nic-Ma

Description

@Nic-Ma

Describe the bug
Thanks for @rijobro 's reminder #3113 (comment), I double checked the transforms today and found we truly have such issue in several transforms:
https://github.com/Project-MONAI/MONAI/blob/dev/monai/transforms/intensity/array.py#L1833
https://github.com/Project-MONAI/MONAI/blob/dev/monai/transforms/intensity/array.py#L580
Let me try to fix it ASAP.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions