Closed siaimes closed 2 years ago
@siaimes I just found the changes in Random2DTranslation
seem wrong because the input img
is not a torch.Tensor
Have you tested this function?
Forget about this msg. The input could be either PIL Image
or Tensor
.
Since I didn't have random_translation in my config file when testing the InterpolationMode fix, its compatibility with InterpolationMode was not tested.
Signed-off-by: siaimes 34199488+siaimes@users.noreply.github.com