SeanNaren / warp-ctc

Pytorch Bindings for warp-ctc
Apache License 2.0
756 stars 271 forks source link

torch.utils.ffi is depercated #95

Closed weizhenzhao closed 5 years ago

weizhenzhao commented 5 years ago

[root@localhost pytorch_binding]# python setup.py install Traceback (most recent call last): File "setup.py", line 7, in from torch.utils.ffi import create_extension File "/usr/lib64/python2.7/site-packages/torch/utils/ffi/init.py", line 1, in raise ImportError("torch.utils.ffi is deprecated. Please use cpp extensions instead.") ImportError: torch.utils.ffi is deprecated. Please use cpp extensions instead.

Hi Dear

I met a new error when running the python setup.py install cmd

can you give me some advice?

thank you very much

weizhen

mattroos commented 5 years ago

Seems to be a problem with PyTorch 1.0. See #93. There may not be a good solution currently available. :(