Hi,
Thank you always for your help.
I am testing pretrained models from

  
      
      GitHub
  
  
    

Cadene/pretrained-models.pytorch 9

Pretrained ConvNets for pytorch: NASNet, ResNeXt, ResNet, InceptionV4, InceptionResnetV2, Xception, DPN, etc. - Cadene/pretrained-models.pytorch


  
  
    
    
  
  


and am trying to run the example code imagenet_eval.py.
But an error occurred as follows:

runfile(‘C:/usr/local/Anaconda3/pretrained-models.pytorch/examples/imagenet_eval.py’, wdir=‘C:/usr/local/Anaconda3/pretrained-models.pytorch/examples’)
File “C:\usr\local\Anaconda3\lib\site-packages\spyder\utils\site\sitecustomize.py”, line 705, in runfile
execfile(filename, namespace)
File “C:\usr\local\Anaconda3\lib\site-packages\spyder\utils\site\sitecustomize.py”, line 102, in execfile
exec(compile(f.read(), filename, ‘exec’), namespace)
File “C:/usr/local/Anaconda3/pretrained-models.pytorch/examples/imagenet_eval.py”, line 305, in 
main()
File “C:/usr/local/Anaconda3/pretrained-models.pytorch/examples/imagenet_eval.py”, line 125, in main
datasets.ImageFolder(valdir, val_tf),
File “C:\usr\local\Anaconda3\lib\site-packages\torchvision\datasets\folder.py”, line 178, in init
target_transform=target_transform)
File “C:\usr\local\Anaconda3\lib\site-packages\torchvision\datasets\folder.py”, line 75, in init
classes, class_to_idx = find_classes(root)
File “C:\usr\local\Anaconda3\lib\site-packages\torchvision\datasets\folder.py”, line 23, in find_classes
classes = [d for d in os.listdir(dir) if os.path.isdir(os.path.join(dir, d))]
FileNotFoundError: [WinError 3] The system cannot find the path specified: ‘path_to_imagenet\val’
I am working on Anaconda3. Does this error come from my own system or Have I misunderstood the location for installation?
Thank you in advance:)