Pytorch implementation of our method for HDR image tome mapping using GAN.
We provide a docker that contains the code and all the necessary libraries. It's simple to install and run.
docker build -t unpaired_tmo .
docker run --name unpaired_tmo -it -p 8888:8888 unpaired_tmo /bin/bash
- Clone the repo:
git clone https://github.com/yael-vinker/unpaired_hdr_tmo.git
cd unpaired_hdr_tmo
- Create a new environment and install the libraries:
python3.6 -m venv hdr_venv
source hdr_venv/bin/activate
pip install -r requirements.txt
To run the trained model of a task on a specific image:
cd activate_trained_model
python run_trained_model.py
Specify the path to a folder containing the input images using --input_images_path
, the tone mapped images will be saved to the folder under --output_path
.