masahi commented on issue #9818:
URL: https://github.com/apache/tvm/issues/9818#issuecomment-1004626130
I've got the following error when trying to run your script:
```
File
"/home/masa/anaconda3/lib/python3.8/site-packages/torch/utils/data/_utils/fetch.py",
line 49, in <listcomp>
data = [self.dataset[idx] for idx in possibly_batched_index]
File
"/home/masa/anaconda3/lib/python3.8/site-packages/torch/utils/data/dataset.py",
line 363, in __getitem__
return self.dataset[self.indices[idx]]
File
"/home/masa/anaconda3/lib/python3.8/site-packages/torch/utils/data/dataset.py",
line 363, in __getitem__
return self.dataset[self.indices[idx]]
File
"/home/masa/anaconda3/lib/python3.8/site-packages/torchvision/datasets/folder.py",
line 232, in __getitem__
sample = self.loader(path)
File
"/home/masa/anaconda3/lib/python3.8/site-packages/torchvision/datasets/folder.py",
line 269, in default_loader
return pil_loader(path)
File
"/home/masa/anaconda3/lib/python3.8/site-packages/torchvision/datasets/folder.py",
line 249, in pil_loader
with open(path, 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory:
'./pt_models/data/val/n01518878/ILSVRC2012_val_00036105.JPEG'
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]