GithubHelp home page GithubHelp logo

cock-puncher / dib-r Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nv-tlabs/dib-r

0.0 0.0 0.0 58.51 MB

Learning to Predict 3D Objects with an Interpolation-based Differentiable Renderer (NeurIPS 2019)

Home Page: https://nv-tlabs.github.io/DIB-R/

License: MIT License

Python 66.17% C++ 8.56% Cuda 25.27%

dib-r's Introduction

DIB-Render

This is the official inference code for:

Learning to Predict 3D Objects with an Interpolation-based Differentiable Renderer (NeurIPS 2019)

Wenzheng Chen, Jun Gao*, Huan Ling*, Edward J. Smith*, Jaakko Lehtinen, Alec Jacobson, Sanja Fidler

[Paper] [Project Page]

Usage

Install dependencies

This code requires PyTorch 1.1.0 and python 3+. Please install dependencies by

pip install -r requirments.txt

Compile the DIB-Render

cd dib-render/cuda_dib_render
python build.py install

Inference

python test-all.py \
 --g_model_dir ./checkpoints/g_model.pth \
 --svfolder ./prediction \
 --data_folder ./dataset \
 --filelist ./test_list.txt

To get the evaluation IOU, please first download the tool Binvox and install it's dependencies,

Voxelize the prediction using Binvox

python voxelization.py  --folder ./prediction

To evaluate the IOU, please first install binvox-rw-py following this Link, then run the script

python check_iou.py --folder ./prediction  --gt_folder ./dataset 

To get the boundary F-score, please run the following script

python check_chamfer.py --folder ./prediction  --gt_folder ./dataset 

Ciatation

If you use the code, please cite our paper:

@inproceedings{chen2019dibrender,
title={Learning to Predict 3D Objects with an Interpolation-based Differentiable Renderer},
author={Wenzheng Chen and Jun Gao and Huan Ling and Edward Smith and Jaakko Lehtinen and Alec Jacobson and Sanja Fidler},
booktitle={Advances In Neural Information Processing Systems},
year={2019}
}

dib-r's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.