my torch version: 1.5.0+cu92
my torchvision version: 0.6.0+cu92
I have attached the screenshots of my folder structure and error
and I have also tried this on google colab with same folder structure and it works but its not working on my local system.
 
imagefolder21209×955 94.6 KB