Skip to content

zjbthomas/TMO-GAN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Generative Adversarial Network Based Tone Mapping Operator for 4K HDR Images

This is the repository for paper A Generative Adversarial Network Based Tone Mapping Operator for 4K HDR Images accepted to ICNC 2023.

Dataset

The dataset we constructed in Section 2.1 of our paper can be downloaded here.

Experiments

Training

Run the following code to train the network:

python -u esrgan.py --hdr_image_dir /path/to/HDR/ --sdr_image_dir /path/to/SDR/ --residual_blocks 23 --lr 1e-5 --warmup_epochs 300 --image_size 128 --batch_size 8 --psnr_decay_epoch 50 --decay_epoch 100 --n_epochs 600

Testing

Run the following code to evaluate the network. A pretrained model is provided here.

python -u infer.py --image_path /path/to/HDR/dir/ 
--output_dir /path/to/output/dir/ --checkpoint_model ./pretrained/generator.pth 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages