XunpengYi / Diff-IF

Official Code of Diff-IF: Multi-modality image fusion via diffusion model with fusion knowledge prior (Information Fusion 2024)
MIT License
32 stars 1 forks source link

Test on M3FD dataset #8

Open Wei-1989 opened 1 month ago

Wei-1989 commented 1 month ago

I conduct test on M3FD datasets with pretrained weight you provided, wheareas there seems a little issue with the outputs? the results are only gray images. Is there a problem with my operation? I have modifed "dataroot" in config file I use this commond: CUDA_VISIBLE_DEVICES=0 python infer_ddim.py --config config/diff-if-ivf_val.json 00011

XunpengYi commented 1 month ago

You may have other mismatches, it is recommended that you check all the paths in the files and see if it matches. (including the images in the Infrared and Visible folders) This is very important. At the time they are all placed correctly, the correct fusion result can be obtained.

Wei-1989 commented 1 month ago

You may have other mismatches, it is recommended that you check all the paths in the files and see if it matches. (including the images in the Infrared and Visible folders) This is very important. At the time they are all placed correctly, the correct fusion result can be obtained.

OK! I check again. It's my fault, sincerely sorry for bothering your time~