I got no error compiling and installing warp-ctc pytorch binding. I followed the installation guidance in warp-ctc pytorch_binding 36. The only step I skiped was setting CUDA_HOME because I don’t have gpu. But when I run the python test script, It says “AttributeError: module ‘warpctc_pytorch’ has no attribute ‘cpu_ctc’”. Printed traceback:
Traceback (most recent call last):
  File "test.py", line 59, in test_simple
    cpu_cost, cpu_grad = self._run_grads(label_sizes, labels, probs, sizes)
  File "test.py", line 22, in _run_grads
    cost = ctc_loss(probs, labels, sizes, label_sizes)
  File "/home/borg/anaconda2/envs/neural/lib/python3.6/site-packages/torch/nn/modules/module.py", line 363, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/borg/anaconda2/envs/neural/lib/python3.6/site-packages/warpctc_pytorch-0.1-py3.6-linux-x86_64.egg/warpctc_pytorch/__init__.py", line 76, in forward
    self.length_average)
  File "/home/borg/anaconda2/envs/neural/lib/python3.6/site-packages/warpctc_pytorch-0.1-py3.6-linux-x86_64.egg/warpctc_pytorch/__init__.py", line 17, in forward
    loss_func = warp_ctc.gpu_ctc if is_cuda else warp_ctc.cpu_ctc
AttributeError: module 'warpctc_pytorch' has no attribute 'cpu_ctc'

Any idea what’s wrong @SeanNaren ?