Git Product home page Git Product logo

voxel-dcgan's Introduction

VoxelDCGAN

Implementation of a 3D shape generative model based on deep convolutional generative adversarial nets (DCGAN) with techniques of improved-gan.

Experimental results on ShapeNetCore dataset are shown below. For training the networks, I used all 3D models in ShapeNetCore.

Random sampling

Linear interpolation

Real-time generation

This is an application for visualizing linear interpolation and saving generated data as binvox. You can run this application with the following command:

$ python application.py

I strongly recommend running the app on GPU because it is very slow on CPU.

Dependencies

To train the networks, you need to install three python packages.

The following python packages are required for running the application. If you are using anaconda, you can easily install VTK5 and PyQt4 (or they may already be installed). I show installation commands with conda for VTK5 and PyQt4.

$ conda install -c anaconda vtk=5.10.1
$ conda install -c anaconda pyqt=4.11.4
$ pip install qdarkstyle

Getting started

  1. Install the python packages above.
  2. Download the code from GitHub:
$ git clone https://github.com/maxorange/voxel-dcgan.git
$ cd voxel-dcgan
  1. Specify dataset path and model path in config.py:
...
dataset_path = "path/to/dataset/*.binvox"
params_path = "path/to/model"
...
  1. Train the networks:
$ python train.py
  1. Generate data:
$ python visualize.py
or
$ python application.py

More details are here.

voxel-dcgan's People

Contributors

maxorange avatar

Watchers

James Cloos avatar  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.