Hi Deepali,
Thank you for your response.
It worked by using download = False as you say:
train_dataset = MNIST(’./data’, download = False, transform = img_transform)
Thank your very much for your help