oguzeraysal:

expected input[1, 19, 304, 304]





 oguzeraysal:

transform = transforms.Compose(
            [transforms.Resize([100, 100,]),
            transforms.ToTensor()])



From the error message, it says that the input is of size 304 x 304, from the transforms, it says to resize to 100 x 100. Did you miss some code while posting?