This is the implementation of the paper Learn to Search a Lightweight Architecture for Target-aware Infrared and Visible Image Fusion.
-
python >= 3.6
-
pytorch == 1.7
-
torchvision == 0.8
You can download the datasets here.
python test.py
python train_search.py
Find the string which descripting the searched architectures in the log file. Copy and paste it into the genotypes.py, the format should consist with the primary architecture string.
python train.py
- The latency lookup table is generated by:
python generate_lat_table.py
- The saliency map used in the loss function is obtained in advance by running:
python cal_vsm.py
If you use any part of this code in your research, please cite our paper:
@ARTICLE{9789723,
author={Liu, Jinyuan and Wu, Yuhui and Wu, Guanyao and Liu, Risheng and Fan, Xin},
journal={IEEE Signal Processing Letters},
title={Learn to Search a Lightweight Architecture for Target-aware Infrared and Visible Image Fusion},
year={2022},
volume={},
number={},
pages={1-5},
doi={10.1109/LSP.2022.3180672}}