This is an implementation of the intrinsic image decomposition algorithm described in "Learning Intrinsic Image Decomposition from Watching the World, Z. Li and N. Snavely, CVPR 2018". The code skeleton is based on "https://github.com/junyanz/pytorch-CycleGAN-and-pix2pix". If you use our code for academic purposes, please consider citing:
@inproceedings{BigTimeLi18,
title={Learning Intrinsic Image Decomposition from Watching the World},
author={Zhengqi Li and Noah Snavely},
booktitle={Computer Vision and Pattern Recognition (CVPR)},
year={2018}
}
Website: http://www.cs.cornell.edu/projects/bigtime/
cd data/krahenbuhl2013/
make
Please see https://github.com/seanbell/intrinsic for detail.
Now we provide precomputed predictions on IIW test set and SAW test set.
python compute_iiw_whdr.py
(you might need to change judgement_path in this python script to fit to your IIW data path)
python compute_saw_ap.py
You need modify 'full_root' in this script and to point to the SAW directory you download. To evlaute on AP% described in the paper, set 'mode = 0' in compute_saw_ap.py.
python test_iiw.py
python test_saw.py