如果你得到如下错误:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/my/dirwarp-ctc/pytorch_binding/warpctc_pytorch/__init__.py", line 8, in <module>
from ._warp_ctc import lib as _lib, ffi as _ffi
ModuleNotFoundError: No module named 'warpctc_pytorch._warp_ctc'
运行如下命令
cd ../build && cp libwarpctc.dylib /usr/local/anaconda3/lib
本站文章如无特殊说明,均为本站原创,如若转载,请注明出处:CTC+pytorch编译配置warp-CTC遇见ModuleNotFoundError: No module named ‘warpctc_pytorch._warp_ctc’错误 - Python技术站