folder adjust

This commit is contained in:
chenfeiyu 2019-11-25 08:09:46 +00:00
parent ca7d1dddf3
commit 5b63663aeb
7 changed files with 14 additions and 14 deletions

View File

@ -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():

View File

@ -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)

View File

@ -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"])

View File

@ -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

View File

@ -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)

View File

@ -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

View File

@ -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