Giter Site home page Giter Site logo

sp-gan's Introduction

SP-GAN: Sphere-Guided 3D Shape Generation and Manipulation (SIGGRAPH 2021)

This repository contains a Pytorch implementation of the paper:

SP-GAN: Sphere-Guided 3D Shape Generation and Manipulation.
Ruihui Li, Xianzhi Li, Ka-Hei Hui, Chi-Wing Fu.

teaser

Dependencies

  • Python 3.6
  • CUDA 10.0.
  • PyTorch. Codes are tested with version 1.2.0
  • (Optional) TensorboardX for visualization of the training process.

Following is the suggested way to install these dependencies:

# Create a new conda environment
conda create -n PointAugment python=3.6
conda activate PointAugment

# Install pytorch (please refer to the commend in the official website)
conda install pytorch=1.2.0 torchvision cudatoolkit=10.0 -c pytorch -y

Usage

As a generation task, you can freely customize your own dataset, such as ShapeNet , SMPL, SMAL

Or directly download our prepared H5 Files from here.

To train a model on point clouds sampled from 3D shapes:

python train.py --choice Chair

Log files and network parameters will be saved to log folder in default.

For your reference, the pretrained models are also available from here

We provide various visulization function for shape interpolation, part interpolation, and so on.

python visual.py

Evaluation

Please ref to Latent-GAN, PointFlow, and PDGN

Citation

If you find our work useful in your research, please consider citing:

@article{li2021spgan,
  title={{SP-GAN}:Sphere-Guided 3D Shape Generation and Manipulation},
  author={Li, Ruihui and Li, Xianzhi and Hui, Ke-Hei and Fu, Chi-Wing},
  journal={ACM Transactions on Graphics (Proc. SIGGRAPH)},
  volume={40},
  number={4},
  year={2021},
  publisher={ACM}
}

sp-gan's People

Contributors

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