Giter Site home page Giter Site logo

generation3d's Introduction

Generation3D

3D Shape Generation Baselines in PyTorch.

Feature

  • Hack of DataParallel for balanced memory usage
  • More Models WIP
  • Configurable model parameters
  • Customizable model, dataset

Representation

  • ๐Ÿ’Ž Polygonal Mesh
  • ๐Ÿ‘พ Volumetric
  • ๐ŸŽฒ Point Cloud
  • ๐ŸŽฏ Implicit Function
  • ๐Ÿ’Š Primitive

Input Observation

  • ๐Ÿž RGB Image
  • ๐Ÿ“ก Depth Image
  • ๐Ÿ‘พ Voxel
  • ๐ŸŽฒ Point Cloud
  • ๐ŸŽฐ Unconditional Random

Evaluation Metrics

  • Chamfer Distance
  • F-score
  • IoU

Model Zoo

  • ๐Ÿ’Ž Pixel2Mesh
  • ๐ŸŽฏ DISN
  • ๐Ÿ‘พ 3DGAN
  • ๐Ÿ‘พ Voxel Based Method
  • ๐ŸŽฒ PointCloud Based Method

Get Started

Environment

  • Ubuntu 16.04 / 18.04
  • Pytorch 1.3.1
  • CUDA 10
  • conda > 4.6.2

Using Anaconda to install all dependences.

conda env create -f environment.yml

Train

CUDA_VISIBLE_DEVICES=<gpus> python train.py --options <config>

Predict

CUDA_VISIBLE_DEVICES=<gpus> python predictor.py --options <config>

Evaluation [WIP]

Custom guide

  • custom scheduler for training/inference loop, add code in scheduler and inherit base class.
  • custom model in models/zoo
  • custom config options in utils/config
  • custom dataset in datasets/data

External

  • Chamfer Distance

Baselines

Pixel2Mesh ๐Ÿž ๐Ÿ’Ž

  • Input: RGB Image
  • Representation: Mesh
  • Output: Mesh camera-view

DISN ๐Ÿž ๐ŸŽฏ

  • Input: RGB Image
  • Representation: SDF
  • Post-processing: Marching Cube
  • Output: Mesh camera-view

3DGAN ๐ŸŽฐ ๐Ÿ‘พ

  • Input: Random Noise
  • Representation: Volumetric
  • Output: Voxel

Acknowledgements

Our work is based on the codebase of an unofficial pixel2mesh framework. The Chamfer loss code is based on ChamferDistancePytorch.

Official baseline code

License

Please follow the License of official implementation for each model.

generation3d's People

Contributors

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