LPIFM
Given an infrared image, a visible image, and two fused candidates of the same scene, LPIFM predicts A better, B better, or Tie.
Choose a weight file
| File | Use for |
|---|---|
lpifm_vifb_paper_e60_base.pt (~421 MB) |
Compare two fused images or rank your own fusion methods (VIFB paper split: 16 scenes, 19 methods, epoch-60 base). |
lpifm_vifb_full_e60_base.pt (~421 MB) |
Add one new method to the fixed 25-method, 21-scene VIFB reference pool (all 21 scenes, 25 methods, epoch-60 base). |
Each compact .pt file stores one base weight set and its embedded model configuration (without optimizer states or EMA/SWA copies). inference_config.yaml matches configs/release_inference.yaml in the GitHub repository (t = 0.3, T_cal = 1.0, model_variant: base), so you do not need to download it separately when using the repo.
Quick start
Clone the LPIFM repository, install requirements.txt, and place the downloaded weight file in checkpoints/. For pairwise comparison with lpifm_vifb_paper_e60_base.pt, put matching files in IR/, VI/, MethodA/, and MethodB/ under data/my_pool/, then run:
python predict.py --ckpt checkpoints/lpifm_vifb_paper_e60_base.pt --weights base --config configs/release_inference.yaml --dataset_root data/my_pool --image_name scene.png --a_dir MethodA --b_dir MethodB
See GitHub for custom-pool ranking, VIFB reference setup, fixed-pool insertion (--model full --insert_vifb), and training. Preference labels, splits, and EVAFusion transfer weights (eva-init, eva-ft) are available from Zenodo v2.
Weights use CC BY-NC-SA 4.0. GitHub ยท Paper ยท Original v1 weights