Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Parakeet
提交
5b63663a
P
Parakeet
项目概览
PaddlePaddle
/
Parakeet
通知
8
Star
3
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
19
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Parakeet
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
19
Issue
19
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
5b63663a
编写于
11月 25, 2019
作者:
C
chenfeiyu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
folder adjust
上级
ca7d1ddd
变更
7
显示空白变更内容
内联
并排
Showing
7 changed file
with
14 addition
and
14 deletion
+14
-14
parakeet/models/deepvoice3/compute_timestamp_ratio.py
parakeet/models/deepvoice3/compute_timestamp_ratio.py
+3
-3
parakeet/models/deepvoice3/data.py
parakeet/models/deepvoice3/data.py
+1
-1
parakeet/models/deepvoice3/deepvoice3.py
parakeet/models/deepvoice3/deepvoice3.py
+3
-3
parakeet/models/deepvoice3/dry_run.py
parakeet/models/deepvoice3/dry_run.py
+1
-1
parakeet/models/deepvoice3/eval_model.py
parakeet/models/deepvoice3/eval_model.py
+1
-1
parakeet/models/deepvoice3/synthesis.py
parakeet/models/deepvoice3/synthesis.py
+2
-2
parakeet/models/deepvoice3/train.py
parakeet/models/deepvoice3/train.py
+3
-3
未找到文件。
parakeet/models/deepvoice3/compute_timestamp_ratio.py
浏览文件 @
5b63663a
...
@@ -9,12 +9,12 @@ import argparse
...
@@ -9,12 +9,12 @@ import argparse
import
sys
import
sys
import
io
import
io
import
numpy
as
np
import
numpy
as
np
sys
.
path
.
append
(
"../"
)
#
sys.path.append("../")
from
hparams
import
hparams
,
hparams_debug_string
from
hparams
import
hparams
,
hparams_debug_string
from
data
.data
import
TextDataSource
,
MelSpecDataSource
from
data
import
TextDataSource
,
MelSpecDataSource
from
nnmnkwii.datasets
import
FileSourceDataset
from
nnmnkwii.datasets
import
FileSourceDataset
from
tqdm
import
trange
from
tqdm
import
trange
import
g2p
as
frontend
from
parakeet
import
g2p
as
frontend
def
build_parser
():
def
build_parser
():
...
...
parakeet/models/deepvoice3/data.py
浏览文件 @
5b63663a
...
@@ -25,7 +25,7 @@ import random
...
@@ -25,7 +25,7 @@ import random
# import global hyper parameters
# import global hyper parameters
from
hparams
import
hparams
from
hparams
import
hparams
import
g2p
as
frontend
from
parakeet
import
g2p
as
frontend
import
builder
import
builder
_frontend
=
getattr
(
frontend
,
hparams
.
frontend
)
_frontend
=
getattr
(
frontend
,
hparams
.
frontend
)
...
...
parakeet/models/deepvoice3/deepvoice3.py
浏览文件 @
5b63663a
...
@@ -20,10 +20,10 @@ import paddle.fluid.dygraph as dg
...
@@ -20,10 +20,10 @@ import paddle.fluid.dygraph as dg
import
numpy
as
np
import
numpy
as
np
from
modules
import
conv
from
parakeet.
modules
import
conv
from
modules.modules
import
Embedding
,
PositionEmbedding
from
parakeet.
modules.modules
import
Embedding
,
PositionEmbedding
from
modules.modules
import
FC
,
Conv1D
,
Conv1DGLU
,
Conv1DTranspose
from
parakeet.
modules.modules
import
FC
,
Conv1D
,
Conv1DGLU
,
Conv1DTranspose
ConvSpec
=
namedtuple
(
"ConvSpec"
,
[
"out_channels"
,
"filter_size"
,
"dilation"
])
ConvSpec
=
namedtuple
(
"ConvSpec"
,
[
"out_channels"
,
"filter_size"
,
"dilation"
])
WindowRange
=
namedtuple
(
"WindowRange"
,
[
"backward"
,
"ahead"
])
WindowRange
=
namedtuple
(
"WindowRange"
,
[
"backward"
,
"ahead"
])
...
...
parakeet/models/deepvoice3/dry_run.py
浏览文件 @
5b63663a
...
@@ -17,7 +17,7 @@ from paddle import fluid
...
@@ -17,7 +17,7 @@ from paddle import fluid
import
paddle.fluid.dygraph
as
dg
import
paddle.fluid.dygraph
as
dg
from
hparams
import
hparams
,
hparams_debug_string
from
hparams
import
hparams
,
hparams_debug_string
import
g2p
as
frontend
from
parakeet
import
g2p
as
frontend
from
deepvoice3
import
DeepVoiceTTS
from
deepvoice3
import
DeepVoiceTTS
...
...
parakeet/models/deepvoice3/eval_model.py
浏览文件 @
5b63663a
...
@@ -37,7 +37,7 @@ from tensorboardX import SummaryWriter
...
@@ -37,7 +37,7 @@ from tensorboardX import SummaryWriter
# import global hyper parameters
# import global hyper parameters
from
hparams
import
hparams
from
hparams
import
hparams
import
g2p
as
frontend
from
parakeet
import
g2p
as
frontend
_frontend
=
getattr
(
frontend
,
hparams
.
frontend
)
_frontend
=
getattr
(
frontend
,
hparams
.
frontend
)
...
...
parakeet/models/deepvoice3/synthesis.py
浏览文件 @
5b63663a
...
@@ -28,9 +28,9 @@ import nltk
...
@@ -28,9 +28,9 @@ import nltk
from
paddle
import
fluid
from
paddle
import
fluid
import
paddle.fluid.dygraph
as
dg
import
paddle.fluid.dygraph
as
dg
sys
.
path
.
append
(
"../"
)
#
sys.path.append("../")
import
audio
import
audio
import
g2p
as
frontend
from
parakeet
import
g2p
as
frontend
import
dry_run
import
dry_run
from
hparams
import
hparams
from
hparams
import
hparams
...
...
parakeet/models/deepvoice3/train.py
浏览文件 @
5b63663a
...
@@ -23,7 +23,7 @@ from paddle import fluid
...
@@ -23,7 +23,7 @@ from paddle import fluid
import
paddle.fluid.dygraph
as
dg
import
paddle.fluid.dygraph
as
dg
import
sys
import
sys
sys
.
path
.
append
(
"../"
)
#
sys.path.append("../")
from
argparse
import
ArgumentParser
from
argparse
import
ArgumentParser
from
hparams
import
hparams
,
hparams_debug_string
from
hparams
import
hparams
,
hparams_debug_string
...
@@ -32,11 +32,11 @@ from data import (TextDataSource, MelSpecDataSource,
...
@@ -32,11 +32,11 @@ from data import (TextDataSource, MelSpecDataSource,
LinearSpecDataSource
,
LinearSpecDataSource
,
PartialyRandomizedSimilarTimeLengthSampler
,
PartialyRandomizedSimilarTimeLengthSampler
,
Dataset
,
make_loader
,
create_batch
)
Dataset
,
make_loader
,
create_batch
)
import
g2p
as
frontend
from
parakeet
import
g2p
as
frontend
from
builder
import
deepvoice3
,
WindowRange
from
builder
import
deepvoice3
,
WindowRange
from
dry_run
import
dry_run
from
dry_run
import
dry_run
from
train_model
import
train_model
from
train_model
import
train_model
from
modules.loss
import
TTSLoss
from
parakeet.
modules.loss
import
TTSLoss
from
tensorboardX
import
SummaryWriter
from
tensorboardX
import
SummaryWriter
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录