Giter Site home page Giter Site logo

synpts-pytorch's Introduction

synpts-pytorch

This repository contains a reference implementation of the algorithms described in the ECCV 2020 paper "Deep View Synthesis from Colored 3D Point Clouds".

Introduction

Given a colored 3D point cloud, we aim to synthesize the corresponding realistic image from a specific view point. An example is illustrated bellow:

  • generate a point cloud from keyframes of a video sequence using DSO.

  • synthesize from different view points

Dataset

  • SUN3D dataset re-orgnized by DeMoN.
  • ICL-NUIM synthesis dataset, the example data is available (700M) here
  • invsfm dataset generated from NYU-V2, the demo data can be download (11G) here.

Quick Start.

Install Dependencies

  • PyTorch=1.2
  • opencv-python
  • numpy

Install PointNet++

cd models/pointnet2
python setup.py install

Test on invsfm and ICL-NUIM

python inv_icl_test.py --mode test --dataset dataset --test_data_dir test_data_files --root_dir dataset_root_dir

Check the 'config.py' for more configuration details.

Train on DeMoN dataset

python demon_train.py --mode train --train_data_dir train_data_files --val_data_dir val_data_files --root_dir dataset_root_dir

Check the 'config.py' for more configuration details.

Pre-trained Models

First download the pre-trained models here. Then unzip the pre-trained model to folder 'results/demon_4096'.

Note: The model is trained using DeMoN SUN3D indoor dataset, and the training data separation is 'data/filenames/demon_train.txt'.

Citation

If you use this code/model for your research, please cite the following paper:

@misc{song2020,
    title={Deep View Synthesis from Colored 3D Point Clouds},
    author={Zhenbo Song and Wayne Chen and Dylan Campbell and Hongdong Li},
    year={2020},
}

References

The code is based on the 'EdgeConnect: Generative Image Inpainting with Adversarial Edge Learning'

The PointNet++ impletementation is from Pointnet2.PyTorch

synpts-pytorch's People

Contributors

zhenbosong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

daidew

synpts-pytorch's Issues

Torch Version

The Pointnet2 installation throws error with torch version 1.6, works with 1.2. Would help if the documentation is updated with this.

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.