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

https://github.com/Linfeng-Tang/SwinFusion #5

Open
jyyuan666 opened this issue Feb 10, 2023 · 5 comments
Open

https://github.com/Linfeng-Tang/SwinFusion #5

jyyuan666 opened this issue Feb 10, 2023 · 5 comments

Comments

@jyyuan666
Copy link

您好,我直接下载您的MSRS数据集,并放置在 ./Dataset/trainsets/MSRS/

Download the training dataset from MSRS dataset, and put it in ./Dataset/trainsets/MSRS/.

之后,直接运行:python test_swinfusion.py --model_path=./Model/Infrared_Visible_Fusion/Infrared_Visible_Fusion/models/ --iter_number=10000 --dataset=MSRS --A_dir=IR --B_dir=VI_Y

报错:subprocess.CalledProcessError: Command '['/home/yuan3080/anaconda3/envs/Imagefusion_paper7/bin/python', '-u', 'main_train_swinfusion.py', '--local_rank=2', '--opt', 'options/swinir/train_swinfusion_vif.json', '--dist', 'True']' returned non-zero exit status 1.

请问我是哪一步没有操作吗?谢谢

@Linfeng-Tang
Copy link
Owner

你检查一下有没有VI_Y这个文件夹 没有的话要自己先用代码生成Y通道的可见光图像,如果还有问题的话,可以加我QQ:2458707789(备注学校+姓名),我可以利用向日葵尝试远程协助你解决这个问题哈

@ChNanAn
Copy link

ChNanAn commented May 5, 2023

最后解决了嘛,怎么解决的啊?

@Linfeng-Tang
Copy link
Owner

请问 你在运行程序的时候遇到问题了吗

@ChNanAn
Copy link

ChNanAn commented May 5, 2023

你好 我下载了VIS-NIR Scene dataset,解压之后是 nirscene1\9个不同种类的文件夹(0000_nir、 0000_rgb-0100_nir 、0100_rgb)nir与rgb的图像对,
我看项目下载的项目中有一个Dataset文件夹,还有一个Dataset的压缩包,我解压了Dataset压缩包,将解压后的数据集直接放入./Dataset/trainsets/Nirscene/,
运行python test_swinfusion.py --model_path=./Model/RGB_NIR_Fusion/RGB_NIR_Fusion/models/ --iter_number=10000 --dataset=NirScene --A_dir=NIR --B_dir=VI_Y命令,就出错了,
错误信息:
断言错误:./Dataset/testsets/NirScene\NIR没有有效的图像文件
我需要手动将数据集中RGB 图像跟NIR图像对分开存储在两个文件夹嘛?我是用的是windows系统,这个命令是不是需要修改路径格式 比如\?

@Linfeng-Tang
Copy link
Owner

Linfeng-Tang commented May 5, 2023 via email

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

3 participants