Dear tom,
Thank you for your reply.
According to your link, I imagine that I have not referred to the imagenet dataset and been doing around meaningless folder instead?
The following line in your link seems helpful.
This should simply be implemented with an  ImageFolder  dataset. The data is preprocessed as described here 3

Thank you.