Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
DeepSpeech
提交
c7a9650a
D
DeepSpeech
项目概览
PaddlePaddle
/
DeepSpeech
接近 2 年 前同步成功
通知
209
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看板
未验证
提交
c7a9650a
编写于
2月 24, 2022
作者:
H
Hui Zhang
提交者:
GitHub
2月 24, 2022
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #1484 from Jackwaterveg/r0.1_develop
[Setup] make librosa version fixed
上级
3d5aac6a
b222e298
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
26 addition
and
52 deletion
+26
-52
paddlespeech/__init__.py
paddlespeech/__init__.py
+0
-2
requirements.txt
requirements.txt
+0
-48
setup.py
setup.py
+26
-2
未找到文件。
paddlespeech/__init__.py
浏览文件 @
c7a9650a
...
@@ -11,5 +11,3 @@
...
@@ -11,5 +11,3 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
__version__
=
'0.1.0'
requirements.txt
已删除
100644 → 0
浏览文件 @
3d5aac6a
ConfigArgParse
coverage
editdistance
g2p_en
g2pM
gpustat
h5py
inflect
jieba
jsonlines
kaldiio
librosa
loguru
matplotlib
nara_wpe
nltk
paddleaudio
paddlenlp
paddlespeech_ctcdecoders
paddlespeech_feat
pandas
phkit
Pillow
praatio
==5.0.0
pre-commit
pybind11
pypi-kenlm
pypinyin
python-dateutil
pyworld
resampy
==0.2.2
sacrebleu
scipy
sentencepiece
~=0.1.96
snakeviz
soundfile
~=0.10
sox
soxbindings
textgrid
timer
tqdm
typeguard
unidecode
visualdl
webrtcvad
yacs
~=0.1.8
yq
zhon
setup.py
浏览文件 @
c7a9650a
...
@@ -27,6 +27,8 @@ from setuptools.command.install import install
...
@@ -27,6 +27,8 @@ from setuptools.command.install import install
HERE
=
Path
(
os
.
path
.
abspath
(
os
.
path
.
dirname
(
__file__
)))
HERE
=
Path
(
os
.
path
.
abspath
(
os
.
path
.
dirname
(
__file__
)))
VERSION
=
'0.1.2'
requirements
=
{
requirements
=
{
"install"
:
[
"install"
:
[
"editdistance"
,
"editdistance"
,
...
@@ -37,7 +39,7 @@ requirements = {
...
@@ -37,7 +39,7 @@ requirements = {
"jieba"
,
"jieba"
,
"jsonlines"
,
"jsonlines"
,
"kaldiio"
,
"kaldiio"
,
"librosa"
,
"librosa
==0.8.1
"
,
"loguru"
,
"loguru"
,
"matplotlib"
,
"matplotlib"
,
"nara_wpe"
,
"nara_wpe"
,
...
@@ -82,6 +84,24 @@ requirements = {
...
@@ -82,6 +84,24 @@ requirements = {
}
}
def
write_version_py
(
filename
=
'paddlespeech/__init__.py'
):
import
paddlespeech
if
hasattr
(
paddlespeech
,
"__version__"
)
and
paddlespeech
.
__version__
==
VERSION
:
return
with
open
(
filename
,
"a"
)
as
f
:
f
.
write
(
f
"
\n
__version__ = '
{
VERSION
}
'
\n
"
)
def
remove_version_py
(
filename
=
'paddlespeech/__init__.py'
):
with
open
(
filename
,
"r"
)
as
f
:
lines
=
f
.
readlines
()
with
open
(
filename
,
"w"
)
as
f
:
for
line
in
lines
:
if
"__version__"
not
in
line
:
f
.
write
(
line
)
@
contextlib
.
contextmanager
@
contextlib
.
contextmanager
def
pushd
(
new_dir
):
def
pushd
(
new_dir
):
old_dir
=
os
.
getcwd
()
old_dir
=
os
.
getcwd
()
...
@@ -169,10 +189,12 @@ class UploadCommand(Command):
...
@@ -169,10 +189,12 @@ class UploadCommand(Command):
sys
.
exit
()
sys
.
exit
()
write_version_py
()
setup_info
=
dict
(
setup_info
=
dict
(
# Metadata
# Metadata
name
=
'paddlespeech'
,
name
=
'paddlespeech'
,
version
=
'0.1.1'
,
version
=
VERSION
,
author
=
'PaddlePaddle Speech and Language Team'
,
author
=
'PaddlePaddle Speech and Language Team'
,
author_email
=
'paddlesl@baidu.com'
,
author_email
=
'paddlesl@baidu.com'
,
url
=
'https://github.com/PaddlePaddle/PaddleSpeech'
,
url
=
'https://github.com/PaddlePaddle/PaddleSpeech'
,
...
@@ -235,3 +257,5 @@ setup_info = dict(
...
@@ -235,3 +257,5 @@ setup_info = dict(
})
})
setup
(
**
setup_info
)
setup
(
**
setup_info
)
remove_version_py
()
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录