Git Product home page Git Product logo

intrinsic_interpolations's Introduction

Intrinsic Point Cloud Interpolation via Dual Latent Space Navigation

This is our implementation of the architecture presented in the ECCV oral paper "Intrinsic Point Cloud Interpolation via Dual Latent Space Navigation". The network is designed to preserve intrinsic shape properties during shape manipulations.

This code was written by Marie-Julie Rakotosaona, based on the excellent implementation of Pointnet Autoencoder by Charles R. Qi.

Prerequisites

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

Setup

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

pip install trimesh

Clone this repository:

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

Download datasets:

cd data
python download_data.py

Data

Our surreal+dfaust dataset can be found here: https://nuage.lix.polytechnique.fr/index.php/s/oGb7FnSqC4DYEwT/download It contains the following files:

  • A shape template .ply file that is used only for the triangulation.
  • The dataset described in the paper.

Training

To train the network with the default settings:

1. Train edge autoencoder and shape vae:

python train_edge_ae.py
python train_shape_ae.py

2. Train mapping networks:

python train_mapping.py --best_edge_ae_epoch n1 --best_shape_ae_epoch n2

Where n1 and n2 represent the best epoch of each previously trained network.

Testing

To download our pretrained model on the humans dataset:

python models/download_pretrained_model.py

To test a pretrained model:

mkdir results
python test.py --model_path path_to_pretrained_model

Please uncomment the desired function at the end of the file.

Citation

If you use our work, please cite our paper.

intrinsic_interpolations's People

Contributors

mrakotosaon 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.