p4vv37 / 3dml

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Keras & Houdini - Deep Neural Networks and 3D

This repository is a collection of my personal projects on Deep Neural Networks usage in working with 3D data - Keras & Houdini:

Example

Prerequisites

Windows

On Windows Keras cannot use Tensorflow as backend in Python 2.7 but Caffe can be used instead. With this said, I worked mostly on Linux, so some other problems that I did not encounter may appear.

Linux

Houdini uses a different version of HDF5 library then Keras does. This causes Houdini to crash on model loading or saving. To prevent this HDF5 for houdini can be compiled and replaced by hand.

Download a right version of HDF5 and h5py: H5py 2.9.0 HDF5 1.8.11 Download get_pip to install pip in Houdini: get_pip

  • Install pip and set your user as owner of Pyhton directory that Houdini uses:
/opt/hfs18.0.287/python/bin/python get-pip.py
udo chown USERNAME -R /opt/hfs18.0.287/python/
/opt/hfs18.0.287/python/bin/python -m pip install pkgconfig
  • Install Keras and Tensorflow from pip
/opt/hfs18.0.287/python/bin/python -m pip install keras==2.2.5
/opt/hfs18.0.287/python/bin/python -m pip install tensorflow==1.15
  • Compile and install HDF5, e.g.
/opt/hfs18.0.287/python/bin/python setup.py configure --hdf5-version=1.8.11 --hdf5=/home/pawel/git/hdf5-1.8.11-linux-x86_64-shared
/opt/hfs18.0.287/python/bin/python setup.py install

About


Languages

Language:Jupyter Notebook 99.4%Language:Python 0.4%Language:CSS 0.1%Language:HTML 0.1%Language:JavaScript 0.0%