imagefusion-rfn-nest icon indicating copy to clipboard operation
imagefusion-rfn-nest copied to clipboard

RFN-Nest(Information Fusion, 2021) - PyTorch =1.5,Python=3.7

Results 13 imagefusion-rfn-nest issues
Sort by recently updated
recently updated
newest added

李博士您好,我在测试test_40pairs.py文件时使用自己的数据集时显示RuntimeError: Input type (torch.FloatTensor) and weight type (torch.cuda.FloatTensor) should be the same or input should be a MKLDNN tensor and weight is a dense tensor。我是将test_path 的路径换成自己的红外图像路径,请问是还需要修改其他地方吗? ![1](https://github.com/hli1221/imagefusion-rfn-nest/assets/124424070/e07fc7ea-ba84-4ea5-84a0-017c3465c441)

李博您好,我在复现21对图像表格的相关数据,RFN-NEST方法测试的数据和您表格中的一致,densefuse方法采用的是您在densefuse_pytorch版本公开的"./models/densefuse_gray.model",但跑出来的数据和图中差别的较大(红色是我自己得出的,黑色为论文中的),请问您是用这个model得出的吗,谢谢 ![1709797058361](https://github.com/hli1221/imagefusion-rfn-nest/assets/139217622/a0f8ae6a-25f0-4b2e-960c-208226490cda)

李博士您好,感谢您百忙之中查看我的问题。在第二阶段的训练中,输入的红外和可将光图像是不是必须保持一一对应的关系?

您好,在原文4.2节中提到 “所有7个指标的上升都标志着融合性能的提升”,这里措辞是否有点容易引发歧义呢? 1、在前文以及后续表格中只出现了6个指标; 2、根据后面表格中的标记,Nabf指标和其他指标相反,越小反而性能越好; 也有可能是我理解有误,希望您能在百忙之中解答一下我的上述困惑,不胜感激~

我解压了模型和数据集 直接运行了 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没有结果...

李老师您好,我配置的环境为python=3.7.pytorch=1.5,当我运行test40时,我得到了下面不正确的测试图像,希望得到您的指导。 ,我的依赖库如下: 希望得到您的指导

李博,你好。 我使用了fusion_imagefusion-rfn-nest-main\imagefusion-rfn-nest-main\test_40pairs.py这个程序,利用下图1数据集,跑出的结果却是下图2,咨询一下我这样的demo结果可能出错在哪些地方?我的图大量都是纯黑色或纯白色的。 ![image](https://user-images.githubusercontent.com/39361634/176427286-0dd8e1e8-d4da-45d5-a014-63db9733c671.png) ![image](https://user-images.githubusercontent.com/39361634/176427568-82d20d04-55e5-4133-9399-8078f20aa98a.png) ![image](https://user-images.githubusercontent.com/39361634/176427670-12d2d4fd-d547-4d27-bd3d-820bc7317a7d.png) 我使用的是您代码里的网络,如下。 ![image](https://user-images.githubusercontent.com/39361634/176427824-b6a6ec1b-6b47-48ae-addf-155d6482c922.png)

你好,我想问一下 nestfuse 模型和rfn_twostage 模型 这是从那个代码里面来的呢?

李博,您好,我在您提供的代码基础上,调试成功后,使用您提供的autoencoder network——nestfuse_gray_1e2.model,重新训练RFN模型,训练集为8w张KAIST,epoch=2, batch_size=4, 训练好模型后,使用您提供的autoencoder network,和我自己训练好的RFN模型进行测试得到的融合图像的评估指标与您给出的评估指标相比结果差距较大(如下图),我想请教一下您,这种情况可能是在代码的哪些地方没有修改,或者我在使用时有哪些错误所导致的?希望您能解惑~谢谢 ![1](https://user-images.githubusercontent.com/69443167/207861380-a53c9e48-faf2-483e-bd56-805190b36f6e.png)

李博你好,在util.py这个文件中的list_images这个函数中,您的源代码与数据集kaist并不能很好的契合