hello guys ,
i’m trying to use autoencoder with conventional layers with pytorch
I got this error
RuntimeError: Given groups=1, weight of size [16, 1, 3, 3], expected input[1, 53400, 122, 1] to have 1 channels, but got 53400 channels instead
Based on your code and error message it seems you might be using a channels-last memory layout while channels-first is expected.
If so, permute
the inputs and pass the input as [batch_size, channels, height, width]
to the model.