Skip to content

Instantly share code, notes, and snippets.

@n1ckfg
Last active January 24, 2018 02:42
Show Gist options
  • Save n1ckfg/05b2a0fc8338976cb8c087944e0771a6 to your computer and use it in GitHub Desktop.
Save n1ckfg/05b2a0fc8338976cb8c087944e0771a6 to your computer and use it in GitHub Desktop.

SETUP for PIX2VOX on Ubuntu 16.04 / 170604 https://github.com/maxorange/pix2vox

Uses 3D model database at https://www.shapenet.org/

Helpful setup hints at: https://github.com/maxorange/voxel-dcgan

Helper utils binvox and viewvox at: http://www.patrickmin.com/minecraft/ $ sudo apt-get install lib3ds-dev $ sudo apt-get install freeglut3 freeglut3-dev

*** SETUP ***

  1. Install QDarkStyle $ sudo pip install qdarkstyle

  2. Install libxt-dev $ sudo apt-get install libxt-dev

  3. Install vtk $ sudo apt-get install python-vtk

  4. Drop binvox-rw-py into pix2vox folder and rename to binvox.py https://github.com/dimatura/binvox-rw-py

  5. install scipy $ sudo pip install scipy

  6. install tensorflow https://www.tensorflow.org/install/install_linux#InstallingNativePip https://www.tensorflow.org/install/install_linux#TF_PYTHON_URL $ sudo pip install --upgrade https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.1.0-cp27-none-linux_x86_64.whl

  7. install Cuda and Cudnn if necessary

  8. Get model and replace existing file https://github.com/maxorange/pix2vox/blob/master/params/sgan_model.ckpt.data-00000-of-00001

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment