git clone https://github.com/SeanNaren/warp-ctc.git
cd warp-ctc
mkdir build; cd build
cmake ..
make
cd ../pytorch_binding
python setup.py install
:
gedit ./.bashrc
export WARP_CTC_PATH=/workspace/xxx/warp-ctc/build
cp lib.linux-x86_64-3.5/warpctc_pytorch/_warp_ctc.cpython-35m-x86_64-linux-gnu.so /usr/lib/x86_64-linux-gnu/
cp warp-ctc/build/libwarpctc.so /usr/lib/x86_64-linux-gnu/
cd /home/xxx/warp-ctc/pytorch_binding/tests
python test_gpu.py