File Exchange

image thumbnail

Fast GMM and Fisher Vectors

version 1.2 (5.42 MB) by

Fast GMM (diagonal covariances only) with Kmeans initialization and Fisher Vectors

4.33333
3 Ratings

12 Downloads

Updated

View License

Fast GMM fitting (diagonal covariances only) with Kmeans initialization and Fisher Vectors computation
Based on the yael package

This toolbox can use BLAS/OpenMP API for faster computation on multi-cores processor.
It accepts dense inputs in single/double precision.

Comments and Ratings (6)

White Vison

Thank you Sebastien, use your method which is mentioned as below, I get the mexw64 finally...

Sebastien PARIS

Venkat,

Now matlab is no more accepting compiled mex-files included in the zip file sorry :(.

Do you encounter some pb for linux when compiling it ?. I know that it can working fine when linked with intel MKL or GOTOlib

Venkat R

Hi

Very useful submission.
Can you kindly upload linux mex files if possible. I am failing to compile using gcc on linux.

Thanks in advance

Sebastien PARIS

I forgot to mention that it's better to use the ICC compiler from Intel composer instead of MSVC for some linkage problems and/or crash. It's not my fault. Please download the excellent package to setup your intel compiler at :

http://www.mathworks.fr/matlabcentral/fileexchange/38980-mex-setup-for-windows-x64-intel-c-compiler-13-xe

Sebastien PARIS

Shen,

For windows plateform, I observed some crashs when using the inshipped BLAS/LACPACK lib. Please download the intel MKL and you shoud mex functions as:

mex -v -DOMP -DBLAS yael_gmm.c "C:\Program Files (x86)\Intel\Composer XE 2013\mkl\lib\intel64\mkl_core.lib" "C:\Program Files (x86)\Intel\Composer XE 2013\mkl\lib\intel64\mkl_intel_lp64.lib" "C:\Program Files (x86)\Intel\Composer XE 2013\mkl\lib\intel64\mkl_intel_thread.lib" -largeArrayDims

Hope will help you.

P.S The main problems occurs usually during linkage and I can't check all configuration systems ..

It's a excellent open source code, but it crashed on my platform when calling the yael_gmm() function. my platform is windows 7, matlab 2010b, compiler is Microsoft Visual C++ 2010. Thank you very much

Updates

1.2

- Fix some compilation issues in mexme_yael_gmm
- Include both mexw32 & mexw64 files in two separate files (unzip them in local dir in case of problem)

1.1

-Fix/include denseSIFT.c mex-compilation

MATLAB Release
MATLAB 7.9 (R2009b)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video