I am trying to implement a simple autoencoder using PyTorch. My dataset consists of 256 x 256 x 3 images. I have built a torch.utils.data.dataloader.DataLoade
PyTorch
torch.utils.data.dataloader.DataLoade
Whenever you have:
RuntimeError: size mismatch, m1: [a x b], m2: [c x d]
all you have to care is b=c and you are done:
b=c
m1 is [a x b] which is [batch size x in features]
m1
[a x b]
[batch size x in features]
m2 is [c x d] which is [in features x out features]
m2
[c x d]
[in features x out features]