Warp-CTC是百度前期为了在最新的计算机芯片上更快速运行而专门研发的一种改良版深度学习算法。
1. 源代码
https://github.com/zhu126fang/warp-ctc 2. 编译
2.1 推荐平台:Ubuntu14.04
warp-ctc has been tested on Ubuntu 14.04 and OSX 10.10. Windows is not supportedat this time.
First get the code:
- git clone https://github.com/baidu-research/warp-ctc.git
- cd warp-ctc
2.2 创建编译目录
create a build directory:
2.3 编译
if you have a non standard CUDA
install export CUDA_BIN_PATH=/path_to_cuda
so that CMake detects CUDA andto
ensure Torch is detected, make sure th is in $PATH
run cmake and build:
The C library and torch shared libraries should
now be built along with testexecutables.
If CUDA was detected,
then test_gpu will be built; test_cpuwill always be built.