Hi Ptrblck,
I really appreciate with your answer but there is still a problem.

3.PNG1015×749 16.4 KB

Error says : object of type ‘type’ has no len()

The thing that i wanna do with this is, inputting images with 50x50 size and
building Convolutional AutoEncoder model with unsupervised learning for anomaly detection.
I’m wondering i need to resize (100,30,30) into (100,1,30,30)… because input dimension is comprised of (batchsize, channel, height, width) in every the PyTorch Tutorials.

Thanks again!!