Need help with instructions to reproduce experiments
See original GitHub issueHi Hiro!
First, thank you for the repo. I’ve been following for a while and I saw you implement a big number of dl architectures.
So far I was only watching the repo from time to time, but now I would like to see If I can reproduce some results and eventually use it with custom datasets. I tried to reproduce librispeech experiment without success and need some help with it.
I went ahead and follow the installation instructions:
# Set path to CUDA, NCCL
CUDAROOT=/usr/local/cuda
NCCL_ROOT=/usr/local/nccl
export CPATH=$NCCL_ROOT/include:$CPATH
export LD_LIBRARY_PATH=$NCCL_ROOT/lib/:$CUDAROOT/lib64:$LD_LIBRARY_PATH
export LIBRARY_PATH=$NCCL_ROOT/lib/:$LIBRARY_PATH
export CUDA_HOME=$CUDAROOT
export CUDA_PATH=$CUDAROOT
export CPATH=$CUDA_PATH/include:$CPATH # for warp-rnnt
# Install miniconda, python libraries, and other tools
cd tools
make
Kaldi complained about a few libraries but after installing them manually the make command run successfully. After this a conda environment was created under my path: /mnt/kingston/github/neural_sp/tools/miniconda
. I activatated it with conda activate /mnt/kingston/github/neural_sp/tools/miniconda
and proceeded to run
cd examples/librispeech/s5/
sh run.sh
But got the following output:
============================================================================
LibriSpeech
============================================================================
run.sh: 14: ./path.sh: source: not found
run.sh: 34: utils/parse_options.sh: Syntax error: Bad for loop variable
Have I missed an important part of the installation process? Do you have a more detailed list of steps I should follow in order to reproduce? Any help would be very much appreciated thanks.
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (3 by maintainers)
Top GitHub Comments
I found this PR on the repo with support for compute 30 https://github.com/HawkAaron/warp-transducer/pull/76, will give it a try and come back
EDIT: Managed to compile it with the branch at https://github.com/ncilfone/warp-transducer/tree/3691b3fa5483e911645738a7894c48fe1f116c9b.
Also discovered I couldnt run the run.sh script with
sh run.sh
since it will get the same error:It has to be run with
./run.sh --gpu 1
. This downloads all the data and does some preprocessing it stops during the data prep, just stops the script with no error.It fails on data_prep.sh:
Specifically on
utils/validate_data_dir.sh --no-feats $dst || exit 1;
But doesnt give any specific output or complains, the full run.sh output:
@jiwidi I’ll fix
Makefile
. Please retry it after the next PR.