The Wayback Machine - https://web.archive.org/web/20200520042343/https://github.com/shubhtuls/drc
Skip to content
Code release for "Multi-view Supervision for Single-view Reconstruction via Differentiable Ray Consistency" (CVPR 2017)
Lua C MATLAB Python Other
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
benchmark
cachedir/splits/shapenet added ShapeNet splits Jul 2, 2017
data
demo
docs Updated a broken link Jul 11, 2017
drcLoss
experiments pascal experiments code Jul 2, 2017
nnutils code to launch shapenet experiments Jul 1, 2017
preprocess
rayUtils
utils fusion preprocessing Jul 1, 2017
.gitignore
README.md

README.md

Multi-view Supervision for Single-view Reconstruction via Differentiable Ray Consistency

Shubham Tulsiani, Tinghui Zhou, Alexei A. Efros, Jitendra Malik. In CVPR, 2017. Project Page

Teaser Image

Demo and Pre-trained Models

Please check out the interactive notebook which shows reconstructions using the learned models. You'll need to -

  • Install a working implementation of torch and itorch.
  • Download the pre-trained models for Pascal3D (490MB) and ShapeNet (250MB). Extract the pretrained models to 'cachedir/snapshots/{pascal,shapenet}/'
  • Edit the path to the blender executable in the demo script.

Loss Function Compilation

To use our proposed loss function for training, we need to compile the C implementation so it can be used in Torch.

cd drcLoss
luarocks make rpsem-alpha-1.rockspec

Training and Evaluating

For training your own models and evaluating those, or for reproducing the main experiments in the paper, please see the detailed README files for PASCAL3D or ShapeNet.

Additional Dependencies

You'll need to install some additional dependencies (json and matio).

sudo apt-get install libmatio2
luarocks install matio
luarocks install json

Citation

If you use this code for your research, please consider citing:

@inProceedings{drcTulsiani17,
  title={Multi-view Supervision for Single-view Reconstruction
  via Differentiable Ray Consistency},
  author = {Shubham Tulsiani
  and Tinghui Zhou
  and Alexei A. Efros
  and Jitendra Malik},
  booktitle={Computer Vision and Pattern Regognition (CVPR)},
  year={2017}
}
You can’t perform that action at this time.