Open vhank opened 3 years ago
Hi, vhank. I did not try the code in your way, and I could not tell the reason for the problem you encountered. Sorry for that.
I recommend you not just change dataset preprocessing, but also change data loader into the one implemented by Pytorch.
I try preprocessing data with torchvision.transforms, such as ToTensor and RandomHorizontalFlip, and keeping other codes changed. I find that loading data becomes much slower. I wonder if you know the reason. Thank you!