Skip to content

GPU traning of a Gaussian Mixture (with online EM)

Notifications You must be signed in to change notification settings

ludovicdmt/gpu_gmm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gpu_gmm

Python module to train GMMs using Tensorflow (and therefore a GPU if you want) with an online version of EM. As for now there is only a version with full matrix for covariances.

Limitation is the memory on your GPU...

Basically I gathered things from people more talented than me and don't have invented anything :

If you want to do the training and GPU, please make sure that you have install properly : CUDA and Tensorflow-gpu.

Contents

Dependencies Installation Example usage Help

Dependencies

  • Tensorflow (GPU version if you want to use it with GPU...)
  • Numpy
  • Sklearn

Installation

Clone repo

cd ${INSTALL_PATH}
git clone https://github.com/ludovicdmt/gpu_gmm.git

Install gpu_gmm:

cd ${INSTALL_PATH}/ggmm
sudo pip install .

OR

cd ${INSTALL_PATH}/ggmm
sudo python setup.py install

Example Usage

See test.py

Help

If you experience issues during installation and/or use of gpu_gmm, you can post a new issue on the gpu_gmm GitHub issues webpage. I will reply to you as soon as possible and I'm very interested in to improve this tool.

Releases

No releases published

Packages

No packages published

Languages