yeyupiaoling / MASR

Pytorch实现的流式与非流式的自动语音识别框架,同时兼容在线和离线识别,目前支持Conformer、Squeezeformer、DeepSpeech2模型,支持多种数据增强方法。
Apache License 2.0
572 stars 100 forks source link

你好,想问下下载ctcdecode按照你说的发生了错误 #1

Closed fengchaozheng120 closed 3 years ago

fengchaozheng120 commented 3 years ago

出现error

yeyupiaoling commented 3 years ago

@fengchaozheng120 根据我的文档,不能解决吗?

yeyupiaoling commented 3 years ago

@fengchaozheng120 安装我文档说的,是否可以解决

由于网络问题,在安装过程中可能无法正常下载以下这两个文件,你需要自行下载这两个文件,并把它们解压到third_party目录下。

https://sites.google.com/site/openfst/home/openfst-down/openfst-1.6.7.tar.gz
https://dl.bintray.com/boostorg/release/1.67.0/source/boost_1_67_0.tar.gz

然后回到该源码的根目录,编辑ctcdecode/build.py,注释以下4行代码。

# Download/Extract openfst, boost
download_extract('https://sites.google.com/site/openfst/home/openfst-down/openfst-1.6.7.tar.gz',
                 'third_party/openfst-1.6.7.tar.gz')
download_extract('https://dl.bintray.com/boostorg/release/1.67.0/source/boost_1_67_0.tar.gz',
                 'third_party/boost_1_67_0.tar.gz')

在ctcdecode根目录下执行以下命令开始安装ctcdecode。

pip install .
yeyupiaoling commented 3 years ago

问题很久没回复了,我就关闭了,需要再提问

33LiaoRuojie commented 1 month ago

@fengchaozheng120 安装我文档说的,是否可以解决

由于网络问题,在安装过程中可能无法正常下载以下这两个文件,你需要自行下载这两个文件,并把它们解压到third_party目录下。

https://sites.google.com/site/openfst/home/openfst-down/openfst-1.6.7.tar.gz
https://dl.bintray.com/boostorg/release/1.67.0/source/boost_1_67_0.tar.gz

然后回到该源码的根目录,编辑ctcdecode/build.py,注释以下4行代码。

# Download/Extract openfst, boost
download_extract('https://sites.google.com/site/openfst/home/openfst-down/openfst-1.6.7.tar.gz',
                 'third_party/openfst-1.6.7.tar.gz')
download_extract('https://dl.bintray.com/boostorg/release/1.67.0/source/boost_1_67_0.tar.gz',
                 'third_party/boost_1_67_0.tar.gz')

在ctcdecode根目录下执行以下命令开始安装ctcdecode。

pip install .

这两个网址似乎无法被打开,请问要如何找到这两个文件?

yeyupiaoling commented 1 month ago

@33LiaoRuojie 用新版本代码吧