You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am facing an implementation error in import _DataLoaderIter from torch.utils.data.dataloader in dataloader.py
Im using pytorch 1.4.0 and python 3.7
I tried to change _DataLoaderIter to DataLoaderIter. Even that doesn't work.
I tried many ways to debug the error. However, I get the error:
ImportError Traceback (most recent call last)
in ()
4 from torch._C import _set_worker_signal_handlers, _set_worker_pids, _remove_worker_pids, _error_if_any_worker_fails
5 from torch.utils.data.dataloader import DataLoader
----> 6 from torch.utils.data.dataloader import DataLoaderIter
ImportError: cannot import name 'DataLoaderIter'
The text was updated successfully, but these errors were encountered:
Thanks for your interest. Please refer to our dependency: PyTorch==0.4.1
If you really want to use 1.4.0, I recommend EDSR, since they have updated their codes to support 1.2.0. IMDN is another option, they rewrite the dataloader module to utilize the standard PyTorch dataloader.
I am facing an implementation error in import _DataLoaderIter from torch.utils.data.dataloader in dataloader.py
Im using pytorch 1.4.0 and python 3.7
I tried to change _DataLoaderIter to DataLoaderIter. Even that doesn't work.
I tried many ways to debug the error. However, I get the error:
ImportError Traceback (most recent call last)
in ()
4 from torch._C import _set_worker_signal_handlers, _set_worker_pids, _remove_worker_pids, _error_if_any_worker_fails
5 from torch.utils.data.dataloader import DataLoader
----> 6 from torch.utils.data.dataloader import DataLoaderIter
ImportError: cannot import name 'DataLoaderIter'
The text was updated successfully, but these errors were encountered: