correct import statements

pull/10/head
Eren Golge 2018-11-03 23:19:23 +01:00
parent bb04a1c6e0
commit 440f51b61d
3 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
import torch
from torch import nn
from torch.nn import functional as F
from TTS.utils.generic_utils import sequence_mask
from utils.generic_utils import sequence_mask
class BahdanauAttention(nn.Module):

View File

@ -1,7 +1,7 @@
# coding: utf-8
import torch
from torch import nn
from TTS.utils.text.symbols import symbols
from utils.text.symbols import symbols
from layers.tacotron import Prenet, Encoder, Decoder, PostCBHG

View File

@ -1,8 +1,8 @@
# -*- coding: utf-8 -*-
import re
from TTS.utils.text import cleaners
from TTS.utils.text.symbols import symbols
from utils.text import cleaners
from utils.text.symbols import symbols
# Mappings from symbol to numeric ID and vice versa:
_symbol_to_id = {s: i for i, s in enumerate(symbols)}