langmanbusi/Semantic-Aware-Low-Light-Image-Enhancement

环境配置

Closed this issue · 1 comments

配置好pytorch为1.8.0后,运行DRBN_SKF的测试数据时出错,Traceback (most recent call last):
File "main_test.py", line 4, in
import data
File "/Projects_xkh/Semantic-Aware-Low-Light-Image-Enhancement-main/DRBN_SKF/src/data/init.py", line 3, in
from dataloader import MSDataLoader
File "/Projects_xkh/Semantic-Aware-Low-Light-Image-Enhancement-main/DRBN_SKF/src/dataloader.py", line 13, in
from torch.utils.data.dataloader import _DataLoaderIter
ImportError: cannot import name '_DataLoaderIter' from 'torch.utils.data.dataloader',请问这个环境版本过高的问题该怎么解决啊?