Home

Awesome

Surface Normals in the Wild

Code for reproducing the results in the following paper:

Surface Normals in the Wild,
Weifeng Chen, Donglai Xiang, Jia Deng
International Conference on Computer Vision (ICCV), 2017.

Please check out the project site for more details.

Setup

  1. Install the Torch 7 framework as described in http://torch.ch/docs/getting-started.html#_. Please make sure that you have the cudnn, hdf5, 'mattorch' and csvigo modules installed.

  2. Clone this repo.

     https://github.com/wfchen-umich/surface_normals.git
    

Evaluating on pre-trained models

Setup

Please first download the data files and pre-trained models into the surface_normals folder. Download the SNOW dataset from the project site.

Untar data.tar.gz into surface_normals. Untar results.tar.gz into surface_normals/src. Untar SNOW_Toolkit.tar.gz into surface_normals/data. Untar SNOW_images.tar.gz into surface_normals/data/SNOW_Toolkit.

NYU Experiments

Change directory into /surface_normals/src/experiment_NYU.

NYU Subset

To evaluate the pre-trained models ( trained on the NYU labeled training subset), run the following commands:

NYU Full

To evaluate the pre-trained models ( trained on the full NYU labeled training subset), run the following commands:

SNOW Experiments

Normals from Predicted Depth:

KITTI Experiments

Change directory into /surface_normals/src/experiment_KITTI. Run the following commands: