Hi @KaiyangZhou ,
Thanks, that does explain why it ToPILImage didn’t work. Unfortunately I’m dealing with Radar data for the Iceberg challenge hence, so neither can I convert it to a 3 channel image nor have uint8 format.
Did you find why RandomResizedCrop throws an error?