Pytorch dataset class example. To train the image classifier wi