David Serrano-Lozano1,2,
Aditya Arora3,4,5,
Luis Herranz6,
Konstantinos G. Derpanis3,4,
Michael S. Brown3 and
Javier Vazquez-Corral1,2
1Computer Vision Center,
2Universitat Autònoma de Barcelona,
3York University,
4Vector Institute,
5TU Darmstadt and
6Universidad Politécnica de Madrid
- Upload models for both splits of our dataset and RenderedWB.
- Upload the dataset. We are currently exploring the best way to host it.
We propose a lightweight Transformer block to blend five white balance (WB) presets and produce a white-balanced image. Our model contains only 7.9K parameters.
We repurpose the LSMI dataset to compute ground-truth white-balanced images from multi-illuminant scenes.
We are currently evaluating the best options for dataset hosting. It will be available for download soon.
Clone the repository and install the required dependencies.
Pre-trained models are available in the weights
folder. Each checkpoint is only ~38KB.
Both training and inference use the config.yaml
file to specify all parameters and configurations. Please adapt it accordingly.
To run inference on our dataset:
python inference.py
To train a model:
python train.py