Closed sarthakpati closed 2 months ago
The variable blur and noise augmentations [ref,ref] fail for certain images that do not have a float pixel type.
Steps to reproduce the behavior:
It should run. A simple fix is to add image.data.float() before calling torch.std for both.
image.data.float()
torch.std
N.A.
Describe the bug
The variable blur and noise augmentations [ref,ref] fail for certain images that do not have a float pixel type.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It should run. A simple fix is to add
image.data.float()
before callingtorch.std
for both.Media
N.A.
Environment information
N.A.
Additional context
N.A.