系统环境:
ubunut18.04 pyhton3.6
在虚拟环境中安装
1、安装pytorch
进入Pytorch官网https://pytorch.org/,根据自己机器的环境选择相应的安装包
下面会有相应的Command-安装命令
我执行的时候提示我已经安装好了
2、安装ctc
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
我在git下载好之后将ctc放到我的项目文件夹下