Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
DeepSpeech
提交
3af29a61
D
DeepSpeech
项目概览
PaddlePaddle
/
DeepSpeech
接近 1 年 前同步成功
通知
205
Star
8425
Fork
1598
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
245
列表
看板
标记
里程碑
合并请求
3
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
DeepSpeech
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
245
Issue
245
列表
看板
标记
里程碑
合并请求
3
合并请求
3
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
3af29a61
编写于
9月 28, 2021
作者:
H
Hui Zhang
提交者:
GitHub
9月 28, 2021
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #863 from Jackwaterveg/Hub
add requirements for hub
上级
e0f91b09
35cbbc8a
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
92 addition
and
0 deletion
+92
-0
hub/requirements.txt
hub/requirements.txt
+26
-0
hub/setup_hub.sh
hub/setup_hub.sh
+66
-0
未找到文件。
hub/requirements.txt
0 → 100644
浏览文件 @
3af29a61
coverage
gpustat
jsonlines
kaldiio
llvmlite==0.31.0
loguru
numba==0.47.0
numpy==1.18.5
Pillow
pre-commit
pybind11
python-speech-features
resampy==0.2.2
sacrebleu
scipy==1.2.1
sentencepiece
snakeviz
SoundFile==0.9.0.post1
sox
soxbindings
tensorboardX
textgrid
tqdm
typeguard
visualdl==2.2.0
yacs
hub/setup_hub.sh
0 → 100644
浏览文件 @
3af29a61
#! /usr/bin/env bash
cd
..
>>
/dev/null
source
utils/log.sh
SUDO
=
'sudo'
if
[
$(
id
-u
)
-eq
0
]
;
then
SUDO
=
''
fi
if
[
-e
/etc/lsb-release
]
;
then
${
SUDO
}
apt-get update
-y
${
SUDO
}
apt-get
install
-y
jq vim tig tree sox pkg-config libflac-dev libogg-dev libvorbis-dev libboost-dev swig python3-dev
if
[
$?
!=
0
]
;
then
error_msg
"Please using Ubuntu or install pkg-config libflac-dev libogg-dev libvorbis-dev libboost-dev swig python3-dev by user."
exit
-1
fi
fi
source
tools/venv/bin/activate
cd
-
#install python dependencies
if
[
-f
"requirements.txt"
]
;
then
pip3
install
-r
requirements.txt
fi
if
[
$?
!=
0
]
;
then
error_msg
"Install python dependencies failed !!!"
exit
1
fi
cd
..
>>
/dev/null
# install package libsndfile
python3
-c
"import soundfile"
if
[
$?
!=
0
]
;
then
info_msg
"Install package libsndfile into default system path."
wget
"http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.28.tar.gz"
if
[
$?
!=
0
]
;
then
error_msg
"Download libsndfile-1.0.28.tar.gz failed !!!"
exit
1
fi
tar
-zxvf
libsndfile-1.0.28.tar.gz
cd
libsndfile-1.0.28
./configure
>
/dev/null
&&
make
>
/dev/null
&&
make
install
>
/dev/null
cd
..
rm
-rf
libsndfile-1.0.28
rm
libsndfile-1.0.28.tar.gz
fi
# install decoders
python3
-c
"import pkg_resources; pkg_resources.require(
\"
swig_decoders==1.1
\"
)"
if
[
$?
!=
0
]
;
then
cd
deepspeech/decoders/swig
>
/dev/null
sh setup.sh
cd
-
>
/dev/null
fi
python3
-c
"import pkg_resources; pkg_resources.require(
\"
swig_decoders==1.1
\"
)"
if
[
$?
!=
0
]
;
then
error_msg
"Please check why decoder install error!"
exit
-1
fi
info_msg
"Install all dependencies successfully."
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录