This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
alex_asr [2017/04/04 14:52] mganzeboom |
alex_asr [2017/04/04 14:55] (current) mganzeboom |
||
|---|---|---|---|
| Line 4: | Line 4: | ||
| After having done a clone of its Git repository, you can compile it as described on the github page or if you'd like to compile it with NVIDIA CUDA GPU support (to also support acoustic models trained using GPUs), do the following: | After having done a clone of its Git repository, you can compile it as described on the github page or if you'd like to compile it with NVIDIA CUDA GPU support (to also support acoustic models trained using GPUs), do the following: | ||
| - | - Open < | + | - Open '' |
| - | - Open < | + | - Open '' |
| '' | '' | ||
| CUDA_INCLUDE= -I$(CUDATKDIR)/ | CUDA_INCLUDE= -I$(CUDATKDIR)/ | ||
| CUDA_LDFLAGS = -L$(CUDATKDIR)/ | CUDA_LDFLAGS = -L$(CUDATKDIR)/ | ||
| CUDA_LDLIBS = -lcublas -lcudart -lcurand'' | CUDA_LDLIBS = -lcublas -lcudart -lcurand'' | ||
| - | - In the same Makefile add this to the end of the ' | + | - In the same Makefile add this to the end of the '' |
| - | | + | - And add this to the end of the line starting with '' |
| - | - And add this to the end of the line starting with ' | + | - Then run the Alex ASR setup script to clone the Kaldi sources from Github and start compiling: |
| - | - Then run the Alex ASR setup script to clone the Kaldi sources from Github and start compiling: python setup.py build. | + | |
| - The compilation process will result in an error when building a shared version of the libfst.a library. | - The compilation process will result in an error when building a shared version of the libfst.a library. | ||
| - | - cd into the < | + | - cd into the '' |
| - | - Rerun python setup.py build from the < | + | - Rerun '' |
| The above modifications were tested after having succesfully completed the default compile instructions on Alex ASR's github page.\\ | The above modifications were tested after having succesfully completed the default compile instructions on Alex ASR's github page.\\ | ||
| - | Locally installed NVIDIA CUDA version was 7.5: https:// | + | Locally installed NVIDIA CUDA version was 7.5: [[https:// |
| Alex ASR was compiled against version hash 261fbb540a2dd40cb5248258dcbea77f4fdeee49 of the Kaldi ASR git repo instead of the one pointed at by Alex ASR's scripts. | Alex ASR was compiled against version hash 261fbb540a2dd40cb5248258dcbea77f4fdeee49 of the Kaldi ASR git repo instead of the one pointed at by Alex ASR's scripts. | ||