Solved by Usama_Hasan in post #6 
              
              
                @manoj_kumar , Image folder looks for image/examples in a predefined way/hierarchy. Please look at the documentation. It takes a root folder, which contains sub folders, with class name and looks for images inside these subfolders 
https://pytorch.org/docs/stable/torchvision/datasets.html#imagefolde…