Compilation time is too much slow.

9 visualizaciones (últimos 30 días)
Omar Martinez
Omar Martinez el 15 de Dic. de 2012
Sorry for my english because I´m spanish and I don't speak very well.
I´m programming a face recongnition system. The sistem consist off 4 different algorithms of another persons and my work is to incorporate this algorithms to a GUI. One of this algorithms calls several .mex files and the compilation is very slow. (around 6 minutes with 3 users registered, 13 minutes with 4 users registered) and I have to register more users in the DataBase. The other methods take about 5 seconds to search the users in the database. The difference is very big. This method works with the SVM (support vector machine) and use the libsvm libraries. I've downloaded the last version of libsvm, I've compiled the make file and I've replaced the mex files in my working folder. The compilation time is about the same and I don't know what to do to reduce this time. My Matlab version is 7.8.0.(R2009a). I downloaded the Matlab 2012 but the result was the same.
Can anybody help me? Thank you so much.

Respuestas (1)

Image Analyst
Image Analyst el 15 de Dic. de 2012
I don't think the compilation time will depend on how many faces are in your database. For the apps that I compile I notice that they take usually around 3-4 minutes. Sometimes however one might take 10 or 11 minutes - probably there was some other process running in the background, like automatic software updating or disk defragmentation. I have MATLAB R2012b 64 bit on Windows 7, with an 8-core i7 processor, 3 GHz, and 8 GB of RAM so it's a fairly speedy machine. It does seem like it takes a long time, so when I'm waiting I usually come here to the Answers forum and answer a few questions to pass the time.
  5 comentarios
Walter Roberson
Walter Roberson el 17 de Dic. de 2012
The SVM part suggests that the features are being processed through a Support Vector computation to find the class boundaries, that would then be stored for future testing during retrieval stage. Multi-class SVM is usually handled by doing pairwise comparisons, so time would expand as the square of the number of classes. (There are, though, true multi-class SVM routines available in papers; those apparently increase exponentially in the number of classes.)
Omar Martinez
Omar Martinez el 17 de Dic. de 2012
To be honest, I don't know because I didn't make this algorithm, but I have reviewed and I see that this algorithm don't save any file with the vectors. I think the vectors must be saved in a .mat file. It's possible? It can be the problem, because to calculate all the vectors every time can take a long time, right? Than you.

Iniciar sesión para comentar.

Categorías

Más información sobre MATLAB Compiler en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by