MCPcopy Create free account

hub / github.com/CorentinJ/Real-Time-Voice-Cloning / functions

Functions307 in github.com/CorentinJ/Real-Time-Voice-Cloning

↓ 34 callersMethodappend
(self, x)
synthesizer/utils/__init__.py:29
↓ 25 callersMethodlog
(self, line, mode="newline")
toolbox/ui.py:369
↓ 15 callersMethodload
Instantiates and loads the model given the weights file that was passed in the constructor.
synthesizer/inference.py:45
↓ 13 callersMethodset_loading
(self, value, maximum=1)
toolbox/ui.py:383
↓ 11 callersMethodlog
(self, path, msg)
vocoder/models/fatchord_version.py:411
↓ 11 callersMethodwrite_line
(self, line)
encoder/preprocess.py:37
↓ 9 callersFunctionprint_args
(args: argparse.Namespace, parser=None)
utils/argutils.py:22
↓ 9 callersMethodsave
(self, path, optimizer=None)
synthesizer/models/tacotron.py:502
↓ 8 callersMethod__init__
(self, attn_dim, kernel_size=31, filters=32)
synthesizer/models/tacotron.py:206
↓ 8 callersMethodsum
(self)
synthesizer/utils/__init__.py:33
↓ 7 callersMethodtick
(self, name)
utils/profiler.py:13
↓ 6 callersMethodrepopulate_box
Resets a box and adds a list of items. Pass a list of (item, data) pairs instead to join data to the items
toolbox/ui.py:256
↓ 5 callersMethoddraw_embed
(self, embed, name, which)
toolbox/ui.py:62
↓ 5 callersMethoddraw_spec
(self, spec, which)
toolbox/ui.py:81
↓ 5 callersMethodis_loaded
Whether the model is loaded in memory.
synthesizer/inference.py:39
↓ 5 callersMethodload
(self, path, optimizer)
vocoder/models/fatchord_version.py:415
↓ 5 callersMethodplay
(self, wav, sample_rate)
toolbox/ui.py:197
↓ 5 callersMethodsample
(self, count: int)
encoder/data_objects/random_cycler.py:18
↓ 4 callersMethod__init__
(self, rnn_dims, fc_dims, bits, pad, upsample_factors, feat_dims, compute_dims, res_out_dims,
vocoder/models/fatchord_version.py:89
↓ 4 callersMethoddraw_umap_projections
(self, utterances: Set[Utterance])
toolbox/ui.py:97
↓ 4 callersFunctioninv_preemphasis
(wav, k, inv_preemphasize=True)
synthesizer/audio.py:25
↓ 4 callersFunctionnp_now
(x: torch.Tensor)
synthesizer/train.py:20
↓ 4 callersMethodsave
(self)
encoder/visualizations.py:177
↓ 4 callersFunctionstream
(message)
vocoder/display.py:14
↓ 3 callersFunction_init_preprocess_dataset
(dataset_name, datasets_root, out_dir)
encoder/preprocess.py:58
↓ 3 callersFunction_lws_processor
(hparams)
synthesizer/audio.py:101
↓ 3 callersFunction_preprocess_speaker_dirs
(speaker_dirs, dataset_name, datasets_root, out_dir, skip_existing, logger)
encoder/preprocess.py:118
↓ 3 callersFunction_stft
(y, hparams)
synthesizer/audio.py:117
↓ 3 callersFunction_symbols_to_sequence
(symbols)
synthesizer/utils/text.py:66
↓ 3 callersFunctioncollapse_whitespace
(text)
synthesizer/utils/cleaners.py:58
↓ 3 callersFunctionget_hop_size
(hparams)
synthesizer/audio.py:44
↓ 3 callersMethodget_step
(self)
vocoder/models/fatchord_version.py:404
↓ 3 callersFunctionlowercase
lowercase input tokens.
synthesizer/utils/cleaners.py:53
↓ 3 callersMethodparse
(self, string)
synthesizer/hparams.py:10
↓ 3 callersMethodpopulate_gen_options
(self, seed, trim_silences)
toolbox/ui.py:389
↓ 3 callersMethodsave
(self, path, optimizer)
vocoder/models/fatchord_version.py:424
↓ 3 callersMethodstop
(self)
toolbox/ui.py:206
↓ 3 callersFunctionsync
(device: torch.device)
encoder/train.py:12
↓ 3 callersMethodsynthesize_spectrograms
Synthesizes mel spectrograms from texts and speaker embeddings. :param texts: a list of N text prompts to be synthesized :pa
synthesizer/inference.py:70
↓ 3 callersFunctiontrain
(run_id: str, clean_data_root: Path, models_dir: Path, umap_every: int, save_every: int, backup_ever
encoder/train.py:18
↓ 2 callersFunction_amp_to_db
(x, hparams)
synthesizer/audio.py:173
↓ 2 callersFunction_build_mel_basis
(hparams)
synthesizer/audio.py:168
↓ 2 callersFunction_clean_text
(text, cleaner_names)
synthesizer/utils/text.py:57
↓ 2 callersFunction_db_to_amp
(x)
synthesizer/audio.py:177
↓ 2 callersFunction_denormalize
(D, hparams)
synthesizer/audio.py:194
↓ 2 callersMethod_flatten_parameters
Calls `flatten_parameters` on all the rnns used by the WaveRNN. Used to improve efficiency and avoid PyTorch yelling at us.
synthesizer/models/tacotron.py:164
↓ 2 callersFunction_griffin_lim
librosa implementation of Griffin-Lim Based on https://github.com/librosa/librosa/issues/434
synthesizer/audio.py:105
↓ 2 callersFunction_istft
(y, hparams)
synthesizer/audio.py:123
↓ 2 callersFunction_normalize
(S, hparams)
synthesizer/audio.py:180
↓ 2 callersFunction_parse_cmudict
(file)
synthesizer/utils/_cmudict.py:42
↓ 2 callersMethodadd_real_utterance
(self, wav, name, speaker_name)
toolbox/__init__.py:172
↓ 2 callersFunctionamp_to_db
(x)
vocoder/audio.py:64
↓ 2 callersFunctionconvert_to_ascii
(text)
synthesizer/utils/cleaners.py:62
↓ 2 callersFunctiondata_parallel_workaround
(model, *input)
synthesizer/utils/__init__.py:7
↓ 2 callersFunctiondecode_mu_law
(y, mu, from_labels=True)
vocoder/audio.py:102
↓ 2 callersFunctionembed_frames_batch
Computes embeddings for a batch of mel spectrogram. :param frames_batch: a batch mel of spectrogram as a numpy array of float32 of shape
encoder/inference.py:42
↓ 2 callersFunctionensure_default_models
(models_dir: Path)
utils/default_models.py:24
↓ 2 callersMethodfold_with_overlap
Fold the tensor with overlap for quick batched inference. Overlap will be used for crossfading in xfade_and_unfold() Args:
vocoder/models/fatchord_version.py:288
↓ 2 callersMethodgenerate
(self, mels, batched, target, overlap, mu_law, progress_callback=None)
vocoder/models/fatchord_version.py:153
↓ 2 callersMethodget_gru_cell
(self, gru)
vocoder/models/fatchord_version.py:265
↓ 2 callersMethodget_step
(self)
synthesizer/models/tacotron.py:482
↓ 2 callersMethodinit_encoder
(self)
toolbox/__init__.py:313
↓ 2 callersFunctionlabel_2_float
(x, bits)
vocoder/audio.py:9
↓ 2 callersMethodload_from_browser
(self, fpath=None)
toolbox/__init__.py:137
↓ 2 callersMethodload_preprocess_wav
Loads and preprocesses an audio file under the same conditions the audio files were used to train the synthesizer.
synthesizer/inference.py:131
↓ 2 callersFunctionlog_sum_exp
numerically stable log_sum_exp implementation that prevents overflow
vocoder/distribution.py:6
↓ 2 callersFunctionnormalize
(S)
vocoder/audio.py:56
↓ 2 callersMethodpad_tensor
(self, x, pad, side='both')
vocoder/models/fatchord_version.py:273
↓ 2 callersMethodpopulate_browser
(self, datasets_root: Path, recognized_datasets: List, level: int, random=True)
toolbox/ui.py:271
↓ 2 callersFunctionpreemphasis
(wav, k, preemphasize=True)
synthesizer/audio.py:20
↓ 2 callersFunctionprocess_utterance
(wav: np.ndarray, text: str, out_dir: Path, basename: str, skip_existing: bool, hparams)
synthesizer/preprocess.py:184
↓ 2 callersFunctionsave_wav
(x, path)
vocoder/audio.py:23
↓ 2 callersFunctionsimple_table
(item_tuples)
vocoder/display.py:23
↓ 2 callersFunctionsplit_title_line
A function that splits any string based on specific character (returning it with the string), with maximum number of words on it
synthesizer/utils/plot.py:4
↓ 2 callersFunctionstft
(y)
vocoder/audio.py:84
↓ 2 callersFunctiontext_to_sequence
Converts a string of text to a sequence of IDs corresponding to the symbols in the text. The text can optionally have ARPAbet sequences enclose
synthesizer/utils/text.py:14
↓ 2 callersFunctionto_float
(_input)
utils/logmmse.py:221
↓ 2 callersMethodupdate
(self, loss, eer, step)
encoder/visualizations.py:103
↓ 2 callersMethodzoneout
(self, prev, current, p=0.1)
synthesizer/models/tacotron.py:265
↓ 1 callersMethod__init__
(self, datasets_root: Path)
encoder/data_objects/speaker_verification_dataset.py:11
↓ 1 callersFunction_arpabet_to_sequence
(text)
synthesizer/utils/text.py:70
↓ 1 callersFunction_download_model
(model_name: str, target_dir: Path)
utils/default_models.py:14
↓ 1 callersFunction_get_pronunciation
(s)
synthesizer/utils/_cmudict.py:57
↓ 1 callersFunction_linear_to_mel
(spectogram, hparams)
synthesizer/audio.py:156
↓ 1 callersMethod_load_utterances
(self)
encoder/data_objects/speaker.py:13
↓ 1 callersMethod_log_params
(self)
encoder/preprocess.py:29
↓ 1 callersFunction_mel_to_linear
(mel_spectrogram, hparams)
synthesizer/audio.py:162
↓ 1 callersFunction_should_keep_symbol
(s)
synthesizer/utils/text.py:74
↓ 1 callersMethodadd_sample
(self, **kwargs)
encoder/preprocess.py:40
↓ 1 callersMethodadd_speaker_embedding
(self, x, speaker_embedding)
synthesizer/models/tacotron.py:46
↓ 1 callersMethodbrowse_file
(self)
toolbox/ui.py:247
↓ 1 callersMethodbrowser_select_next
(self)
toolbox/ui.py:318
↓ 1 callersFunctionbuild_mel_basis
()
vocoder/audio.py:52
↓ 1 callersMethodcheckpoint
(self, model_dir, optimizer)
vocoder/models/fatchord_version.py:407
↓ 1 callersFunctioncombine_signal
(coarse, fine)
vocoder/audio.py:34
↓ 1 callersFunctioncompute_partial_slices
Computes where to split an utterance waveform and its corresponding mel spectrogram to obtain partial utterances of <partial_utterance_n_fram
encoder/inference.py:58
↓ 1 callersFunctioncreate_embeddings
(synthesizer_root: Path, encoder_model_fpath: Path, n_processes: int)
synthesizer/preprocess.py:241
↓ 1 callersFunctionde_emphasis
(x)
vocoder/audio.py:92
↓ 1 callersMethoddo_gradient_ops
(self)
encoder/model.py:33
↓ 1 callersMethoddraw_projections
(self, embeds, utterances_per_speaker, step, out_fpath=None, max_speakers=10)
encoder/visualizations.py:156
next →1–100 of 307, ranked by callers