hli1221 / imagefusion-rfn-nest

RFN-Nest(Information Fusion, 2021, Highly Cited Paper) - PyTorch =1.5,Python=3.7
108 stars 18 forks source link

no test ran #10

Open ChNanAn opened 1 year ago

ChNanAn commented 1 year ago

我解压了模型和数据集 直接运行了 test21pair.py 出现了ImportError: cannot import name 'imread' from 'scipy.misc' 我查到The 'imread' function has been removed from the 'scipy.misc' module since version 1.3.0 我将utils.py中imread imsave imresize 分别替换为imageio.imread imagreio.imwrite resize后文件没有报错 然后我运行test21pair.py没有结果 控制台输出如下 image 我该怎么解决啊

ChNanAn commented 1 year ago

非常感谢,希望能尽快得到回复

hli1221 commented 9 months ago

建议换成opencv的图片读取和保存函数看看