Hi,



 Capo_Mestre:

greyscale images


Grayscale images have 1 channel but in the code for self.lowconv, you set in_channel=3.



 Capo_Mestre:

self.lowconv = nn.Conv2d(in_channels = 3, out_channels = 64, kernel_size = 7, padding = 3, bias = False)


The error says:



 Capo_Mestre:

RuntimeError: Given groups=1, weight of size [64, 3, 7, 7], expected input[10, 1, 28, 28] to have 3 channels, but got 1 channels instead



Which means you have a batch of 10 images of size [1, 28, 28], but you are trying to use 64 filters of size [3, 7, 7] which cannot match the channel size in input.
Bests