# MEF-GAN **Repository Path**: wdwdwd123/MEF-GAN ## Basic Information - **Project Name**: MEF-GAN - **Description**: This is the code for multi-exposure image fusion via generative adversarial networks - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-11-08 - **Last Updated**: 2021-11-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # MEF-GAN This is the code for "multi-exposure image fusion via generative adversarial networks". ## Architecture:

## Fused results:
## To train:
CUDA_VISIBLE_DEVICES=0,1 python main.py
(2 GPUs are needed. One is for the self-attention block and the other one is for other blocks and the discriminator.)
## To test:
CUDA_VISIBLE_DEVICES=0,1 python test_main.py
## Tips:
The training dataset is too large to be uploaded and downloaded. It may be more convenient to create your own dataset.
The multi-exposure image pairs can be downloaded [*here*](https://github.com/csjcai/SICE).
The code to create your own training dataset can be found [*here*](https://github.com/hanna-xu/utils).
(size_input=144. The channel dimension: 1:3 over-exposed patches, 4:6 under-exposed patches, 7:9 ground-truth patches.) If you have any question, please email to me (xu_han@whu.edu.cn).