-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Where do we get the MyConfig.cfg and gmm/world.gmm files from? #22
Comments
Hi, the configuration file is located in the repository https://github.com/ALIZE-Speaker-Recognition/android-alize/blob/master/AlizeConfigurationExample.cfg and as for the world.gmm file you would have to generate that yourself. Look at this tutorial to help you generate the world.gmm file Tutorial for LIA_SpkDet — GMM/UBM System from http://alize.univ-avignon.fr/ |
I looked at the tutorial you pointed to. The information is very cryptic and is not sufficient to know how to generate the GMM file. It is mentioned that the instruction are in README file but the information in the readme file is not sufficient. I am pasting the steps given in the readme file. I am working on a windows machines and it appears the files provided in bin are for Ubuntu. This tutorial is organised in three parts:
WARNING: All binaries included in the ./bin/ directory have been compiled using LINUX Ubuntu 13.04 |
Basically what you have to do is run the shell scripts, if you read those you would get a better understanding of the process being followed to generate the world.gmm. 01_RUN_feature_extraction in this file you will be extracting the features from your audio files (sample audio files in sphere format are provided in the tutorial) using sfbcep which is an exe that you can get by downloading spro and compiling it and in that folder you would find the sfbcep exe file. 02a_RUN_spro_front-end in this file you would be applying the normalization functions to the features extracted in the first step from the audio files. 03_RUN_gmm-ubm in this file you would be generating the world model file along with the target speaker models but you can choose to comment out the other lines and leave only the following lines in the file 1. UBM training
Regarding the binaries, i've been using the tutorial on a macos system, i had to recompile the binaries and that was done by downloading the alize-core library and the LIA_RAL library, following the steps in the readme of the libraries to compile them and subsequently you would find all your relevant binaries in the LIA_RAL folder directory. Also, be sure to look at the cfg folder if you want to have a better understanding of how the various steps are being done as these configurations are provided to the binaries that are being executed in the various steps. To summarize for binaries:
Hope this helps ! |
I tried to compile LIA RAL in visual studio 2017 community edition and I get these errors
|
have you tried compiling without visual studio rather following the steps in the readme of the LIA_RAL library: Follow these four steps:
Note: At step 2, you may need to use automake --add-missing if the file compile cannot be found. |
I am on a windows machine...will "make" and all the above commands work in command line in windows? |
sorry forgot about that for a moment. |
http://alize.univ-avignon.fr/mediawiki/index.php/Frequently_asked_questions Question [Edit] |
On windows visual studio 2017 community edition converted the file to the latest version but there are many compile errors as I pasted the errors above. |
have you checked out @padmalcom solution for visual studio 2015 ? might be that it works for you. here are the reference to his solution, |
I download visual studio 2010 and was able to compile the alize solution which gave me the dll files and .lib files. I was not able to combile LIA-RAL solution as it gave me the error missing Alize.h . What shall I do? |
solved! |
I was able to get the exes for LIA RAL which are ComputeNorm, ComputeTest, TrainWorld, TrainTarget, NormFeat, EnergyDetector but I could not find the visual studio project for SPRO. Is there a visual studio project for SPRO? And similarly is there one for w_decode and h_strip? |
Another question, what and where is the sphere library? |
I just saw the NIST sphere github page. Looks like lot of libraries like SPRO, Sphere,w_decode and h_strip all can be compiled only on a Linux machine.. I will have to leave this project and looks for windows alternatives. I came across the Microsoft cognitive speaker recognition library but there is no sample android app which tell us how to use it. Were you able to use the microsoft library? |
I have not used the microsoft library, however I would suggest if possible that you try compiling the tutorial and the relevant binaries on a linux VM as you only require the world.gmm file from the tutorial and the actual verification you would be performing using android-alize. |
I do have a sample world.gmm file created using the tutorial with the sample .sph files provided with the tutorial. However i've not had good results using it. For running the android-alize, you can use it, it should work. I would still recommend trying out the tutorial on a VM for better understanding. I am also still learning about android-alize and how to use it successfully. |
@sriranjanr i am tying to use the the Microsoft cognitive speaker recognition library on Android. Have you applied the library on your project successfully? I got a failed result and had no idea about that. I spent a lot of days on the implementation of speaker recognition and in a really big hurry. |
If someone has successfully built the android project , i would like to ask a few things. Thanks! |
I met the same problem. Could you tell me how you make it work? Thanks |
Has anyone tried downloading Cygwin on Windows and building the project? That should work. Note that downloading Cygwin is not entirely straight forward as you have to select the gcc compiler to install it. |
checking for /home/hanane/Bureau/PACK-ALIZE/LIA_RAL-master/../alize-core/lib/libalize_Linux_x86_64.a... no |
hanane@hanane-HP-Pavilion-g6-Notebook-PC:~/Bureau/PACK-ALIZE/LIA_RAL-master$ automake --add-missing |
Making all in LIA_SpkTools |
I am try to build a test code to run the library. Where do we get the MyConfig.cfg and world.gmm files from? Is it possible to generate these or are they provided with the library? Please let me know.
The text was updated successfully, but these errors were encountered: