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
I experimented with various "degrees" values in tio.transforms.RandomAffine, and found that I randomly get empty images. Overall, due to the nature of rotation transformation, I expected some inconsistencies between different runs, but not getting completely zero images.
Out of 20 images, maybe around 13-14 of them look very similar to each other and are the correct rotated images by around 5 degrees, however, about 6-7 of the output images are just zeros
Error messages
No error, the outcome is not correct
Expected outcome
I expected about 20 images relatively similar to each other. They should be about 5 degrees rotated with respect to their last axis
System info
No response
The text was updated successfully, but these errors were encountered:
Hi
sound weird, I suspect it comes from your images
but try with
transform_rotate = tio.transforms.RandomAffine(degrees=(0,0,0,0,5,5), p=1, scale=0)
by default scaling factor is 0.1
Is there an existing issue for this?
Bug summary
I experimented with various "degrees" values in tio.transforms.RandomAffine, and found that I randomly get empty images. Overall, due to the nature of rotation transformation, I expected some inconsistencies between different runs, but not getting completely zero images.
Code for reproduction
Actual outcome
Out of 20 images, maybe around 13-14 of them look very similar to each other and are the correct rotated images by around 5 degrees, however, about 6-7 of the output images are just zeros
Error messages
Expected outcome
I expected about 20 images relatively similar to each other. They should be about 5 degrees rotated with respect to their last axis
System info
No response
The text was updated successfully, but these errors were encountered: