自行编译paddlespeech-ctcdecoders的windows版本 #2148
Doubledongli
started this conversation in
Show and tell
Replies: 3 comments 2 replies
-
在编译一份py38的吧 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
1、安装基础环境
(1)gcc
(2)cmake
(3)make
(4)vs
2、执行编译
执行完以后,会出现decoders_warp.cxx和paddlespeech_ctcdecoders.py,这一步一般不会出现问题,但是你编译后面的会报一大堆错误,所以我选择了另一种编译方式,也就是官网的setup.sh的编译方式。
按下面方式编译
上面解压你可以选择git-bash窗口去解压,这个比较快
参考的文件内容其实如下:
3、编译日志
4、发布whl包
测试
pypi包的获取
https://pypi.org/project/paddlespeech-ldd-ctcdecoders/
5、总结
6、踩坑记录
1、setup.py文件里面下面的地方要注释掉,这个是用于linux或者是macos环境的,会报错一堆
2、中间会有各种缺库文件的错误,暂时无法一一列举,后面更新
Beta Was this translation helpful? Give feedback.
All reactions