Open manojmsrit opened 4 years ago
Currently we are merging code from w2l into flashlight, so doing git pull on flashlight is taking new version (which has another flags of building). You have two options: 1) do git pull on flashlight and then checkout on tag v0.2 - with it w2l should be built finely 2) switch to flashlight - check there the way we install, and there we have latest docker images too.
Steps I followed:
1) sudo docker run --rm -itd --ipc=host --name w2l wav2letter/wav2letter:cpu-latest 2) sudo docker exec -it w2l bash 3) export LD_LIBRARY_PATH=/opt/intel/compilers_and_libraries_2018.5.274/linux/mkl/lib/intel64:$LD_LIBRARY_PATH 4) cd /root/flashlight && git pull 5) cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DFLASHLIGHT_BACKEND=CPU 6) make -j8 && make install 7) export KENLM_ROOT_DIR=/root/kenlm 8) cd /root/wav2letter 9) git pull (Did not work due to authentication issue, i tried adding ssh key but also did not work ) 10) rm -rf build/* 11) cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DW2L_LIBRARIES_USE_CUDA=OFF -DW2L_BUILD_INFERENCE=ON