Open iSuerte opened 3 years ago
Hello,I have the same problem. Have you solved it?
trf = transforms.Compose([ transforms.ToTensor(),
])
trf = transforms.Compose([ transforms.Resize(img_size), transforms.CenterCrop(img_size), transforms.ToTensor(),
])
When I run the test.py file,I get an error saying ' RuntimeError : The expanded size of the tensor(256)must match the existing size(1024)at non-singleton dimension 3.Target sizes:[1,16,256,256].Implication of sizes:[16,1024,1024]'have you ever had this problem and how do you solve it? I am looking forward to your reply. Thank you.