Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
DeepSpeech
提交
00e10975
D
DeepSpeech
项目概览
PaddlePaddle
/
DeepSpeech
大约 1 年 前同步成功
通知
206
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,发现更多精彩内容 >>
提交
00e10975
编写于
2月 03, 2021
作者:
H
Hui Zhang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update travis to py3
上级
f965d72f
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
8 addition
and
9 deletion
+8
-9
.travis.yml
.travis.yml
+5
-3
.travis/unittest.sh
.travis/unittest.sh
+1
-1
decoders/swig_wrapper.py
decoders/swig_wrapper.py
+2
-4
model_utils/network.py
model_utils/network.py
+0
-1
未找到文件。
.travis.yml
浏览文件 @
00e10975
...
...
@@ -13,11 +13,13 @@ addons:
apt
:
packages
:
-
git
-
python
-
python-pip
-
python
2.7
-dev
-
python
3
-
python
3
-pip
-
python
3
-dev
before_install
:
-
python --version
-
pip --version
-
sudo pip install -U virtualenv pre-commit pip
-
docker pull paddlepaddle/paddle:latest
...
...
.travis/unittest.sh
浏览文件 @
00e10975
...
...
@@ -17,7 +17,7 @@ unittest(){
fi
find
.
-name
'tests'
-type
d
-print0
|
\
xargs
-0
-I
{}
-n1
bash
-c
\
'python -m unittest discover -v -s {}'
'python
3
-m unittest discover -v -s {}'
cd
-
>
/dev/null
}
...
...
decoders/swig_wrapper.py
浏览文件 @
00e10975
...
...
@@ -114,8 +114,6 @@ def ctc_beam_search_decoder_batch(probs_split,
batch_beam_results
=
swig_decoders
.
ctc_beam_search_decoder_batch
(
probs_split
,
vocabulary
,
beam_size
,
num_processes
,
cutoff_prob
,
cutoff_top_n
,
ext_scoring_func
)
batch_beam_results
=
[
[(
res
[
0
],
res
[
1
])
for
res
in
beam_results
]
for
beam_results
in
batch_beam_results
]
batch_beam_results
=
[[(
res
[
0
],
res
[
1
])
for
res
in
beam_results
]
for
beam_results
in
batch_beam_results
]
return
batch_beam_results
model_utils/network.py
浏览文件 @
00e10975
import
collections
import
paddle.fluid
as
fluid
import
numpy
as
np
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录