Code Monkey home page Code Monkey logo

operatornet's Introduction

OperatorNet: Recovering 3D Shapes From Difference Operators

This is our implementation of OperatorNet, a network that reconstructs shapes from shape difference operators.

OperatorNet

This code was written by Ruqi Huang and Marie-Julie Rakotosaona.

Prerequisites

  • CUDA and CuDNN (changing the code to run on CPU should require few changes)
  • Python 2.7
  • Tensorflow

Setup

Install required python packages, if they are not already installed:

pip install numpy
pip install plyfile

Clone this repository:

git clone https://github.com/mrakotosaon/operatornet.git
cd operatornet

Shape difference operators

To generate demo shape difference matrices: run demo_compute_shape_diff.m with Matlab.

Models

Download pretrained models:

cd models
python download_models.py

Data

A demo dataset can be found here: https://nuage.lix.polytechnique.fr/index.php/s/BqiX5rcWszkKT9N

It contains shape differences and labels as Matlab matrices. This dataset is a simplified version of the one used in the paper.

Download pretrained models:

cd Data
python download_demo_data.py

Training

To train OperatorNet with the default settings and demo data:

python train.py

Test

To test OperatorNet with the default settings and demo shapes:

python test.py

From generated demo shapes, run reconstruction, interpolation or analogy (see code).

Produced shapes are saved in a results directory. Please create this directory if it does not exist.

Citation

If you use our work, please cite our paper.

@article{huang2019operatornet,
  title={OperatorNet: Recovering 3D Shapes From Difference Operators},
  author={Huang, Ruqi and Rakotosaona, Marie-Julie and Achlioptas, Panos and Guibas, Leonidas and Ovsjanikov, Maks},
  journal={ICCV},
  year={2019}
}

Contact

If you have any problem about this implementation, please feel free to contact via:

rqhuang88 AT gmail DOT com or mrakotosaon AT gmail DOT com

operatornet's People

Contributors

mrakotosaon avatar ruqihuang avatar

Watchers

James Cloos avatar

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.