MCPcopy Create free account

hub / github.com/AIGC-Audio/AudioGPT / functions

Functions2,752 in github.com/AIGC-Audio/AudioGPT

↓ 1 callersMethodclip_gradients
(self)
NeuralSeq/utils/pl_utils.py:1074
↓ 1 callersFunctioncombine_full_indexes
Combine all balanced and unbalanced indexes hdf5s to a single hdf5. This combined indexes hdf5 is used for training with full data (~20k balanced
audio_detection/audio_infer/utils/create_indexes.py:40
↓ 1 callersMethodcompare
(self, x, best_x)
audio_to_text/captioning/utils/train_util.py:106
↓ 1 callersFunctioncompute_partial_slices
Computes where to split an utterance waveform and its corresponding mel spectrogram to obtain partial utterances of <partial_utterance_n_fra
NeuralSeq/data_gen/tts/emotion/inference.py:59
↓ 1 callersMethodcompute_similarity
r"""Compute similarity between text and audio embeddings
text_to_audio/Make_An_Audio/ldm/modules/encoders/CLAP/CLAPWrapper.py:198
↓ 1 callersFunctioncompute_value
Compute the value. When current unit is larger than previous unit, current unit * all previous units will be used as all previous uni
NeuralSeq/utils/text_norm.py:288
↓ 1 callersMethodconfigure_accumulated_gradients
(self, accumulate_grad_batches)
NeuralSeq/utils/pl_utils.py:1085
↓ 1 callersMethodconfigure_ddp
(self, model, device_ids)
NeuralSeq/tasks/base_task.py:261
↓ 1 callersFunctionconvert_continuos_f0
CONVERT F0 TO CONTINUOUS F0 Args: f0 (ndarray): original f0 sequence with the shape (T) Return: (ndarray): continuous f0 with
NeuralSeq/utils/cwt.py:12
↓ 1 callersFunctionconvert_weights_to_fp16
Convert applicable model parameters to fp16
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/model.py:822
↓ 1 callersFunctioncorrect_symbols
一百八 to 一百八十 一亿一千三百万 to 一亿 一千万 三百万
NeuralSeq/utils/text_norm.py:254
↓ 1 callersFunctioncosine_beta_schedule
cosine schedule as proposed in https://openreview.net/forum?id=-NEXDKk8gZ
NeuralSeq/modules/diff/diffusion.py:168
↓ 1 callersFunctioncosine_beta_schedule
cosine schedule as proposed in https://openreview.net/forum?id=-NEXDKk8gZ
NeuralSeq/modules/diff/shallow_diffusion_tts.py:52
↓ 1 callersFunctioncpop_pinyin2ph_func
()
NeuralSeq/inference/svs/opencpop/map.py:1
↓ 1 callersFunctioncreate_htsat_model
(audio_cfg, enable_fusion=False, fusion_type='None')
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/htsat.py:972
↓ 1 callersFunctioncreate_indexes
Create indexes a for dataloader to read for training. When users have a new task and their own data, they need to create similar indexes. The
audio_detection/audio_infer/utils/create_indexes.py:16
↓ 1 callersFunctioncreate_pann_model
(audio_cfg, enable_fusion=False, fusion_type='None')
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/pann_model.py:526
↓ 1 callersFunctioncrop_label
(label)
audio_detection/audio_infer/utils/plot_statistics.py:1410
↓ 1 callersFunctioncrop_label
(label)
audio_detection/audio_infer/utils/plot_for_paper.py:27
↓ 1 callersMethodcwt_loss
(self, cwt_p, cwt_g)
NeuralSeq/tasks/tts/fs2.py:269
↓ 1 callersMethoddate2chntext
(self)
NeuralSeq/utils/text_norm.py:536
↓ 1 callersMethoddbs_process_step
(self, output_i, output_t)
audio_to_text/captioning/models/base_model.py:469
↓ 1 callersFunctiondcase2017task4
Create black list. Black list is a list of audio ids that will be skipped in training.
audio_detection/audio_infer/utils/create_black_list.py:8
↓ 1 callersMethodddim_sampling
(self, cond, shape, x_T=None, ddim_use_original_steps=False, callb
text_to_audio/Make_An_Audio/ldm/models/diffusion/ddim.py:118
↓ 1 callersMethoddecode
(self, tokens)
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/tokenizer.py:143
↓ 1 callersFunctiondecode_caption
(word_ids, vocabulary)
audio_to_text/inference_waveform.py:48
↓ 1 callersMethoddecode_list
Transform a sequence of int ids into a their string versions. This method supports transforming individual input/output ids to their
NeuralSeq/utils/text_encoder.py:79
↓ 1 callersMethoddecode_list
(self, ids)
NeuralSeq/utils/text_encoder.py:216
↓ 1 callersMethoddecode_step
Decoding operation of timestep t
audio_to_text/captioning/models/base_model.py:168
↓ 1 callersFunctiondecode_with_timestamps
decode_with_timestamps Decodes the predicted label array (2d) into a list of [(Labelname, onset, offset), ...] :param encoder: Encoder du
audio_detection/target_sound_detection/src/utils.py:169
↓ 1 callersFunctiondefault_bpe
()
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/tokenizer.py:17
↓ 1 callersFunctiondenoise
(wav, v=0.1)
NeuralSeq/vocoders/vocoder_utils.py:7
↓ 1 callersMethoddenorm_spec
(self, x)
NeuralSeq/modules/diff/diffusion.py:327
↓ 1 callersFunctiondesign_prototype_filter
Design prototype filter for PQMF. This method is based on `A Kaiser window approach for the design of prototype filters of cosine modulated f
NeuralSeq/modules/parallel_wavegan/layers/pqmf.py:15
↓ 1 callersMethoddiverse_beam_search
(self, input_dict)
audio_to_text/captioning/models/base_model.py:356
↓ 1 callersFunctiondownload
(url, local_path, chunk_size=1024)
text_to_audio/Make_An_Audio/ldm/util.py:31
↓ 1 callersFunctiondownload_wavs
Download videos and extract audio in wav format.
audio_detection/audio_infer/utils/dataset.py:51
↓ 1 callersFunctiondrop_path
Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks). This is the same as the DropConnect impl I created for Ef
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/htsat.py:43
↓ 1 callersFunctiondtw
Computes Dynamic Time Warping (DTW) of two sequences. :param array x: N1*M array :param array y: N2*M array :param func dist: distan
NeuralSeq/utils/dtw.py:6
↓ 1 callersMethoddump_checkpoint
(self)
NeuralSeq/utils/pl_utils.py:743
↓ 1 callersFunctiondur_to_figure
(dur_gt, dur_pred, txt)
NeuralSeq/utils/plot.py:30
↓ 1 callersFunctiondynamic_range_compression_torch
(x, C=1, clip_val=1e-5)
NeuralSeq/modules/hifigan/mel_utils.py:23
↓ 1 callersFunctiondynamic_range_decompression_torch
(x, C=1)
NeuralSeq/modules/hifigan/mel_utils.py:27
↓ 1 callersMethodencode
(self, text)
text_to_audio/Make_An_Audio/ldm/modules/encoders/modules.py:102
↓ 1 callersMethodencode
(self, text)
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/tokenizer.py:135
↓ 1 callersMethodencode
(self, x)
text_to_audio/Make_An_Audio/ldm/models/autoencoder.py:345
↓ 1 callersMethodencode
(self, x)
text_to_audio/Make_An_Audio/ldm/models/autoencoder_multi.py:62
↓ 1 callersMethodencode_with_pretrained
(self,x)
text_to_audio/Make_An_Audio/ldm/modules/diffusionmodules/model.py:816
↓ 1 callersFunctionequals
(val)
text_to_audio/Make_An_Audio/ldm/modules/x_transformer.py:76
↓ 1 callersFunctionevaluateFromList
(listfilename, print_interval=100, test_path='', multi=False)
NeuralSeq/data_gen/tts/emotion/test_emotion.py:84
↓ 1 callersMethodevaluation_forward
(self, model, batch, batch_idx, dataloader_idx, test=False)
NeuralSeq/utils/pl_utils.py:1281
↓ 1 callersMethodexample_run
(cls, inp)
NeuralSeq/inference/tts/base_tts_infer.py:73
↓ 1 callersMethodexpand_states
(self, h, mel2ph)
NeuralSeq/modules/fastspeech/fs2.py:246
↓ 1 callersFunctionexpand_word2ph
(word_encoding, ph2word)
NeuralSeq/utils/tts_utils.py:394
↓ 1 callersMethodextract_feature
(self, fname)
audio-chatgpt.py:807
↓ 1 callersFunctionfloat32_to_int16
(x)
audio_detection/audio_infer/utils/utilities.py:95
↓ 1 callersFunctionfoo
(net)
audio_detection/audio_infer/pytorch/pytorch_utils.py:217
↓ 1 callersFunctionforward
Forward data to a model. Args: model: object generator: object return_input: bool return_target: bool Returns:
audio_detection/audio_infer/pytorch/pytorch_utils.py:41
↓ 1 callersMethodforward
:param input: audio signal to be warped (B x 2 x T) :param warpfield: the corresponding warpfield (B x 2 x T) :return: the wa
mono2binaural/src/warping.py:63
↓ 1 callersMethodforward
(self, x, *args, reverse=False, **kwargs)
NeuralSeq/modules/GenerSpeech/model/glow_modules.py:273
↓ 1 callersMethodforward
(self, txt_tokens, mel2ph=None, spk_embed=None, ref_mels=None, f0=None, uv=None, energy=None,
NeuralSeq/modules/diffsinger_midi/fs2.py:55
↓ 1 callersMethodforward
Apply layer normalization. :param torch.Tensor x: input tensor :return: layer normalized tensor :rtype torch.Tensor
NeuralSeq/modules/fastspeech/tts_modules.py:48
↓ 1 callersMethodforward
:param x: [B, T, C] :param padding_mask: [B, T] :return: [B, T, C] or [L, B, T, C]
NeuralSeq/modules/commons/transformer.py:681
↓ 1 callersMethodforward
(self, x)
text_to_audio/Make_An_Audio/ldm/modules/diffusionmodules/util.py:210
↓ 1 callersMethodforward_embedding
(self, txt_tokens, midi_embedding, midi_dur_embedding, slur_embedding)
NeuralSeq/modules/diffsinger_midi/fs2.py:12
↓ 1 callersMethodforward_embedding
(self, txt_tokens)
NeuralSeq/modules/fastspeech/tts_modules.py:365
↓ 1 callersMethodforward_embedding
(self, txt_tokens)
NeuralSeq/modules/commons/transformer.py:735
↓ 1 callersMethodforward_features
(self, x)
audio_detection/audio_infer/pytorch/models.py:905
↓ 1 callersMethodforward_img
(self, image)
text_to_audio/Make_An_Audio/ldm/modules/encoders/modules.py:344
↓ 1 callersMethodforward_model
(self, inp)
NeuralSeq/inference/svs/base_svs_infer.py:43
↓ 1 callersMethodforward_model
(self, inp)
NeuralSeq/inference/tts/base_tts_infer.py:35
↓ 1 callersMethodfraction2chntext
(self)
NeuralSeq/utils/text_norm.py:498
↓ 1 callersMethodfreeze
(self)
text_to_audio/Make_An_Audio/ldm/modules/encoders/modules.py:154
↓ 1 callersMethodfreeze
(self)
text_to_audio/Make_An_Audio/ldm/modules/encoders/modules.py:199
↓ 1 callersMethodfreeze
(self)
text_to_audio/Make_An_Audio/ldm/modules/encoders/modules.py:231
↓ 1 callersMethodfreeze
(self)
text_to_audio/Make_An_Audio/ldm/modules/encoders/modules.py:275
↓ 1 callersMethodfreeze
(self)
text_to_audio/Make_An_Audio/ldm/modules/encoders/modules.py:298
↓ 1 callersMethodfreeze
(self)
text_to_audio/Make_An_Audio/ldm/modules/encoders/modules.py:333
↓ 1 callersFunctionfspecial_gaussian
(hsize, sigma)
text_to_audio/Make_An_Audio/ldm/modules/image_degradation/bsrgan_light.py:187
↓ 1 callersFunctionfspecial_gaussian
(hsize, sigma)
text_to_audio/Make_An_Audio/ldm/modules/image_degradation/bsrgan.py:187
↓ 1 callersFunctionfspecial_laplacian
(alpha)
text_to_audio/Make_An_Audio/ldm/modules/image_degradation/bsrgan_light.py:201
↓ 1 callersFunctionfspecial_laplacian
(alpha)
text_to_audio/Make_An_Audio/ldm/modules/image_degradation/bsrgan.py:201
↓ 1 callersFunctionfused_add_tanh_sigmoid_multiply
(input_a, input_b, n_channels)
NeuralSeq/modules/GenerSpeech/model/wavenet.py:5
↓ 1 callersFunctionfused_add_tanh_sigmoid_multiply
(input_a, input_b, n_channels)
NeuralSeq/modules/commons/wavenet.py:5
↓ 1 callersFunctiongaussian
(window_size, sigma)
NeuralSeq/modules/commons/ssim.py:319
↓ 1 callersMethodgen_mel
(self, input_audio_path)
audio-chatgpt.py:452
↓ 1 callersMethodgen_mel_audio
(self, input_audio)
audio-chatgpt.py:472
↓ 1 callersFunctionget_a_var
(obj)
NeuralSeq/utils/pl_utils.py:32
↓ 1 callersMethodget_align
(tg_fn, ph, mel, phone_encoded, res)
NeuralSeq/data_gen/tts/base_binarizer.py:188
↓ 1 callersMethodget_align
(tg_fn, res)
NeuralSeq/data_gen/tts/base_binarizer_emotion.py:262
↓ 1 callersFunctionget_all_ckpts
(work_dir, steps=None)
NeuralSeq/utils/ckpt_utils.py:19
↓ 1 callersMethodget_all_ckpts
(self)
NeuralSeq/utils/pl_utils.py:323
↓ 1 callersMethodget_attn_stats
(self, attn, sample, logging_outputs, prefix='')
NeuralSeq/tasks/tts/ps_adv.py:253
↓ 1 callersMethodget_audio_embeddings
r"""Load list of audio files and return a audio embeddings
text_to_audio/Make_An_Audio/ldm/modules/encoders/CLAP/CLAPWrapper.py:174
↓ 1 callersFunctionget_audio_encoder
(name: str)
text_to_audio/Make_An_Audio/wav_evaluation/models/audio.py:6
↓ 1 callersFunctionget_audio_encoder
(name: str)
text_to_audio/Make_An_Audio/ldm/modules/encoders/CLAP/audio.py:6
↓ 1 callersMethodget_dataloaders
(self, model)
NeuralSeq/utils/pl_utils.py:1096
↓ 1 callersMethodget_f0cwt
(f0, res)
NeuralSeq/data_gen/tts/base_binarizer.py:208
↓ 1 callersMethodget_f0cwt
(res)
NeuralSeq/data_gen/tts/base_binarizer_emotion.py:286
↓ 1 callersFunctionget_image_paths
(dataroot)
text_to_audio/Make_An_Audio/ldm/modules/image_degradation/utils_image.py:67
← previousnext →701–800 of 2,752, ranked by callers