Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About dataloader ERROR #5

Open
JiangPeiy opened this issue Jun 26, 2021 · 1 comment
Open

About dataloader ERROR #5

JiangPeiy opened this issue Jun 26, 2021 · 1 comment

Comments

@JiangPeiy
Copy link

C:\Users\Win10\Desktop\unet-master\venv\Scripts\python.exe C:/Users/Win10/Desktop/unet-master/FastDVD-master/train_eval.py
Namespace(batch_size=64, cuda=False, dataset_path='F:/JPY/vimeo_triplet/sequences', eval=False, frames=2, im_size=96, learning_rate=0.0001, max_epoch=100, num_worker=4, restart=False, txt_path='F:/JPY/vimeo_triplet')
There is no any model to load, restart the train process.
Traceback (most recent call last):
File "C:/Users/Win10/Desktop/unet-master/FastDVD-master/train_eval.py", line 200, in
train(args)
File "C:/Users/Win10/Desktop/unet-master/FastDVD-master/train_eval.py", line 92, in train
for iter, (data, gt) in enumerate(data_loader):
File "C:\Users\Win10\Desktop\unet-master\venv\lib\site-packages\torch\utils\data\dataloader.py", line 521, in next
data = self._next_data()
File "C:\Users\Win10\Desktop\unet-master\venv\lib\site-packages\torch\utils\data\dataloader.py", line 1203, in _next_data
return self._process_data(data)
File "C:\Users\Win10\Desktop\unet-master\venv\lib\site-packages\torch\utils\data\dataloader.py", line 1229, in _process_data
data.reraise()
File "C:\Users\Win10\Desktop\unet-master\venv\lib\site-packages\torch_utils.py", line 425, in reraise
raise self.exc_type(msg)
FileNotFoundError: Caught FileNotFoundError in DataLoader worker process 0.
Original Traceback (most recent call last):
File "C:\Users\Win10\Desktop\unet-master\venv\lib\site-packages\torch\utils\data_utils\worker.py", line 287, in _worker_loop
data = fetcher.fetch(index)
File "C:\Users\Win10\Desktop\unet-master\venv\lib\site-packages\torch\utils\data_utils\fetch.py", line 44, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "C:\Users\Win10\Desktop\unet-master\venv\lib\site-packages\torch\utils\data_utils\fetch.py", line 44, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "C:\Users\Win10\Desktop\unet-master\FastDVD-master\data_provider.py", line 50, in getitem
img = Image.open(file)
File "C:\Users\Win10\Desktop\unet-master\venv\lib\site-packages\PIL\Image.py", line 2912, in open
fp = builtins.open(filename, "rb")
FileNotFoundError: [Errno 2] No such file or directory: 'F:/JPY/vimeo_triplet/sequences\00068/0821\im4.png'

Process finished with exit code 1

@JiangPeiy
Copy link
Author

Can you help me with this question?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant