SYMBOL INDEX (98 symbols across 13 files) FILE: audio.py function spectrogram2wav (line 14) | def spectrogram2wav(mag): function griffin_lim (line 42) | def griffin_lim(spectrogram): function invert_spectrogram (line 56) | def invert_spectrogram(spectrogram): function get_spectrograms (line 64) | def get_spectrograms(fpath): function save_to_wav (line 110) | def save_to_wav(mag, filename): function preprocess (line 116) | def preprocess(dataset_path, speech_dataset): FILE: datasets/data_loader.py class Text2MelDataLoader (line 11) | class Text2MelDataLoader(DataLoader): method __init__ (line 12) | def __init__(self, text2mel_dataset, batch_size, mode='train', num_wor... class SSRNDataLoader (line 26) | class SSRNDataLoader(DataLoader): method __init__ (line 27) | def __init__(self, ssrn_dataset, batch_size, mode='train', num_workers... function collate_fn (line 48) | def collate_fn(batch): class PartiallyRandomizedSimilarTimeLengthSampler (line 77) | class PartiallyRandomizedSimilarTimeLengthSampler(Sampler): method __init__ (line 85) | def __init__(self, lengths, data_source, batch_size=16, batch_group_si... method __iter__ (line 98) | def __iter__(self): method __len__ (line 120) | def __len__(self): FILE: datasets/lj_speech.py function text_normalize (line 15) | def text_normalize(text): function read_metadata (line 25) | def read_metadata(metadata_file): function get_test_data (line 42) | def get_test_data(sentences, max_n): class LJSpeech (line 50) | class LJSpeech(Dataset): method __init__ (line 51) | def __init__(self, keys, dir_name='LJSpeech-1.1'): method slice (line 56) | def slice(self, start, end): method __len__ (line 61) | def __len__(self): method __getitem__ (line 64) | def __getitem__(self, index): FILE: datasets/mb_speech.py function text_normalize (line 13) | def text_normalize(text): function read_metadata (line 24) | def read_metadata(metadata_file): function get_test_data (line 41) | def get_test_data(sentences, max_n): class MBSpeech (line 49) | class MBSpeech(Dataset): method __init__ (line 50) | def __init__(self, keys, dir_name='MBSpeech-1.0'): method slice (line 55) | def slice(self, start, end): method __len__ (line 60) | def __len__(self): method __getitem__ (line 63) | def __getitem__(self, index): function number2word (line 84) | def number2word(number): function _1_digit_2_str (line 107) | def _1_digit_2_str(digit): function _last_digit_2_str (line 112) | def _last_digit_2_str(digit): function _2_digits_2_str (line 117) | def _2_digits_2_str(digit, is_fina=True): function _3_digits_to_str (line 128) | def _3_digits_to_str(digit, is_fina=True): FILE: dl_and_preprop_dataset.py function _normalize (line 99) | def _normalize(s): function _get_mp3_file (line 107) | def _get_mp3_file(book_name, chapter): function _convert_mp3_to_wav (line 116) | def _convert_mp3_to_wav(book_name, book_nr): FILE: hparams.py class HParams (line 5) | class HParams: FILE: logger.py class Logger (line 11) | class Logger(object): method __init__ (line 13) | def __init__(self, dataset_name, model_name): method log_step (line 19) | def log_step(self, phase, step, loss_dict, image_dict): method log_epoch (line 31) | def log_epoch(self, phase, step, loss_dict): FILE: models/layers.py class LayerNorm (line 10) | class LayerNorm(nn.LayerNorm): method __init__ (line 11) | def __init__(self, normalized_shape, eps=1e-5, elementwise_affine=True): method forward (line 15) | def forward(self, x): class D (line 22) | class D(nn.Module): method __init__ (line 23) | def __init__(self, in_channels, out_channels, kernel_size, dilation, w... method forward (line 41) | def forward(self, x, output_size=None): class C (line 51) | class C(nn.Module): method __init__ (line 52) | def __init__(self, in_channels, out_channels, kernel_size, dilation, c... method forward (line 78) | def forward(self, x): class E (line 92) | class E(nn.Module): method __init__ (line 93) | def __init__(self, num_embeddings, embedding_dim): method forward (line 97) | def forward(self, x): class HighwayBlock (line 101) | class HighwayBlock(nn.Module): method __init__ (line 102) | def __init__(self, d, k, delta, causal=False, weight_init='none', norm... method forward (line 115) | def forward(self, x): class GatedConvBlock (line 123) | class GatedConvBlock(nn.Module): method __init__ (line 124) | def __init__(self, d, k, delta, causal=False, weight_init='none', norm... method forward (line 138) | def forward(self, x): class ResidualBlock (line 143) | class ResidualBlock(nn.Module): method __init__ (line 144) | def __init__(self, d, k, delta, causal=False, weight_init='none', norm... method forward (line 160) | def forward(self, x): FILE: models/ssrn.py function Conv (line 18) | def Conv(in_channels, out_channels, kernel_size, dilation, nonlinearity=... function DeConv (line 23) | def DeConv(in_channels, out_channels, kernel_size, dilation, nonlinearit... function BasicBlock (line 28) | def BasicBlock(d, k, delta): class SSRN (line 41) | class SSRN(nn.Module): method __init__ (line 42) | def __init__(self, c=hp.c, f=hp.n_mels, f_prime=(1 + hp.n_fft // 2)): method forward (line 76) | def forward(self, x): FILE: models/text2mel.py function Conv (line 21) | def Conv(in_channels, out_channels, kernel_size, dilation, causal=False,... function BasicBlock (line 26) | def BasicBlock(d, k, delta, causal=False): function CausalConv (line 39) | def CausalConv(in_channels, out_channels, kernel_size, dilation, nonline... function CausalBasicBlock (line 43) | def CausalBasicBlock(d, k, delta): class TextEnc (line 47) | class TextEnc(nn.Module): method __init__ (line 49) | def __init__(self, vocab, e=hp.e, d=hp.d): method forward (line 77) | def forward(self, x): class AudioEnc (line 86) | class AudioEnc(nn.Module): method __init__ (line 87) | def __init__(self, d=hp.d, f=hp.n_mels): method forward (line 109) | def forward(self, x): class AudioDec (line 113) | class AudioDec(nn.Module): method __init__ (line 114) | def __init__(self, d=hp.d, f=hp.n_mels): method forward (line 140) | def forward(self, x): class Text2Mel (line 144) | class Text2Mel(nn.Module): method __init__ (line 145) | def __init__(self, vocab, d=hp.d): method forward (line 164) | def forward(self, L, S, monotonic_attention=False): FILE: train-ssrn.py function get_lr (line 54) | def get_lr(): function lr_decay (line 58) | def lr_decay(step, warmup_steps=1000): function train (line 63) | def train(train_epoch, phase='train'): FILE: train-text2mel.py function get_lr (line 58) | def get_lr(): function lr_decay (line 62) | def lr_decay(step, warmup_steps=4000): function train (line 67) | def train(train_epoch, phase='train'): FILE: utils.py function get_last_checkpoint_file_name (line 15) | def get_last_checkpoint_file_name(logdir): function load_checkpoint (line 24) | def load_checkpoint(checkpoint_file_name, model, optimizer): function save_checkpoint (line 38) | def save_checkpoint(logdir, epoch, global_step, model, optimizer): function download_file (line 52) | def download_file(url, file_path): function save_to_png (line 69) | def save_to_png(file_name, array):