提交 5b63663a 编写于 作者: C chenfeiyu

folder adjust

上级 ca7d1ddd
......@@ -9,12 +9,12 @@ import argparse
import sys
import io
import numpy as np
sys.path.append("../")
# sys.path.append("../")
from hparams import hparams, hparams_debug_string
from data.data import TextDataSource, MelSpecDataSource
from data import TextDataSource, MelSpecDataSource
from nnmnkwii.datasets import FileSourceDataset
from tqdm import trange
import g2p as frontend
from parakeet import g2p as frontend
def build_parser():
......
......@@ -25,7 +25,7 @@ import random
# import global hyper parameters
from hparams import hparams
import g2p as frontend
from parakeet import g2p as frontend
import builder
_frontend = getattr(frontend, hparams.frontend)
......
......@@ -20,10 +20,10 @@ import paddle.fluid.dygraph as dg
import numpy as np
from modules import conv
from parakeet.modules import conv
from modules.modules import Embedding, PositionEmbedding
from modules.modules import FC, Conv1D, Conv1DGLU, Conv1DTranspose
from parakeet.modules.modules import Embedding, PositionEmbedding
from parakeet.modules.modules import FC, Conv1D, Conv1DGLU, Conv1DTranspose
ConvSpec = namedtuple("ConvSpec", ["out_channels", "filter_size", "dilation"])
WindowRange = namedtuple("WindowRange", ["backward", "ahead"])
......
......@@ -17,7 +17,7 @@ from paddle import fluid
import paddle.fluid.dygraph as dg
from hparams import hparams, hparams_debug_string
import g2p as frontend
from parakeet import g2p as frontend
from deepvoice3 import DeepVoiceTTS
......
......@@ -37,7 +37,7 @@ from tensorboardX import SummaryWriter
# import global hyper parameters
from hparams import hparams
import g2p as frontend
from parakeet import g2p as frontend
_frontend = getattr(frontend, hparams.frontend)
......
......@@ -28,9 +28,9 @@ import nltk
from paddle import fluid
import paddle.fluid.dygraph as dg
sys.path.append("../")
# sys.path.append("../")
import audio
import g2p as frontend
from parakeet import g2p as frontend
import dry_run
from hparams import hparams
......
......@@ -23,7 +23,7 @@ from paddle import fluid
import paddle.fluid.dygraph as dg
import sys
sys.path.append("../")
# sys.path.append("../")
from argparse import ArgumentParser
from hparams import hparams, hparams_debug_string
......@@ -32,11 +32,11 @@ from data import (TextDataSource, MelSpecDataSource,
LinearSpecDataSource,
PartialyRandomizedSimilarTimeLengthSampler,
Dataset, make_loader, create_batch)
import g2p as frontend
from parakeet import g2p as frontend
from builder import deepvoice3, WindowRange
from dry_run import dry_run
from train_model import train_model
from modules.loss import TTSLoss
from parakeet.modules.loss import TTSLoss
from tensorboardX import SummaryWriter
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册