MCPcopy Create free account

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

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

↓ 1 callersMethod_init_vocab_from_list
Initialize tokens from a list of tokens. It is ok if reserved tokens appear in the vocab list. They will be removed. The set of token
NeuralSeq/utils/text_encoder.py:245
↓ 1 callersMethod_initialize_model
(self, config, ckpt, device)
audio-chatgpt.py:147
↓ 1 callersMethod_initialize_model
(self, config, ckpt, device)
audio-chatgpt.py:221
↓ 1 callersMethod_initialize_model
(self)
audio-chatgpt.py:969
↓ 1 callersMethod_initialize_model
(self)
audio-chatgpt.py:1016
↓ 1 callersMethod_initialize_model_inpaint
(self, config, ckpt)
audio-chatgpt.py:426
↓ 1 callersFunction_is_batch_full
(batch, num_tokens, max_tokens, max_sentences)
NeuralSeq/utils/__init__.py:79
↓ 1 callersFunction_load_metrics0_classwise
(filename, sample_rate, window_size, hop_size, mel_bins, fmin, fmax, data_type, model_type, loss_type, b
audio_detection/audio_infer/utils/plot_statistics.py:40
↓ 1 callersFunction_make_guided_attention_mask
(ilen, rilen, olen, rolen, sigma)
NeuralSeq/modules/GenerSpeech/model/prosody_util.py:162
↓ 1 callersMethod_matmul_with_relative_keys
x: [b, h, l, d] y: [h or 1, m, d] ret: [b, h, l, m]
NeuralSeq/modules/commons/rel_transformer.py:173
↓ 1 callersMethod_matmul_with_relative_values
x: [b, h, l, m] y: [h or 1, m, d] ret: [b, h, l, d]
NeuralSeq/modules/commons/rel_transformer.py:164
↓ 1 callersFunction_natural_key
(string_)
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/factory.py:20
↓ 1 callersFunction_no_grad_trunc_normal_
(tensor, mean, std, a, b)
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/htsat.py:166
↓ 1 callersMethod_parse_en
clean_sentence: <str>, each word or punctuation should be separated by one blank.
NeuralSeq/modules/syntaspeech/syntactic_graph_buider.py:180
↓ 1 callersMethod_parse_zh
words: <List of str>, each character in chinese is one item ph_words: <List of str>, each character in chinese is one item, represent
NeuralSeq/modules/syntaspeech/syntactic_graph_buider.py:26
↓ 1 callersMethod_particular
(self)
NeuralSeq/utils/text_norm.py:608
↓ 1 callersMethod_percent_range_check
(self, name)
NeuralSeq/utils/pl_utils.py:1611
↓ 1 callersMethod_phone_encoder
(self, ph_set)
NeuralSeq/data_gen/tts/base_preprocess.py:179
↓ 1 callersMethod_phone_encoder
(self)
NeuralSeq/data_gen/tts/base_binarizer.py:83
↓ 1 callersMethod_phone_encoder
(self)
NeuralSeq/data_gen/tts/base_binarizer_emotion.py:100
↓ 1 callersFunction_random_noise
(clean, noise, snr_l=None, snr_h=None)
sound_extraction/utils/create_mixtures.py:37
↓ 1 callersFunction_random_scale
(lower=0.3, upper=0.9)
sound_extraction/utils/create_mixtures.py:34
↓ 1 callersMethod_relative_position_to_absolute_position
x: [b, h, l, 2*l-1] ret: [b, h, l, l]
NeuralSeq/modules/commons/rel_transformer.py:197
↓ 1 callersMethod_safe_id_to_token
(self, idx)
NeuralSeq/utils/text_encoder.py:227
↓ 1 callersFunction_samples_num_per_class
()
audio_detection/audio_infer/utils/plot_statistics.py:1576
↓ 1 callersFunction_sort
(ys)
audio_detection/audio_infer/utils/plot_statistics.py:1510
↓ 1 callersMethod_training_step
:param sample: :param batch_idx: :return: total loss: torch.Tensor, loss_log: dict
NeuralSeq/tasks/base_task.py:118
↓ 1 callersMethod_transmitter_mouth
(self, view)
mono2binaural/src/models.py:16
↓ 1 callersMethod_validation_end
:param outputs: :return: loss_output: dict
NeuralSeq/tasks/base_task.py:178
↓ 1 callersMethod_warpfield
(self, view, seq_length)
mono2binaural/src/models.py:42
↓ 1 callersMethod_word_encoder
(self, word_set)
NeuralSeq/data_gen/tts/base_preprocess.py:190
↓ 1 callersMethod_word_encoder
(self)
NeuralSeq/data_gen/tts/base_binarizer_emotion.py:114
↓ 1 callersFunction_worker
(i, module, input, kwargs, device=None)
NeuralSeq/utils/pl_utils.py:109
↓ 1 callersMethodadd_bdr
(cls, txt_struct)
NeuralSeq/data_gen/tts/txt_processors/base_text_processor.py:40
↓ 1 callersFunctionadd_comma
(integer)
audio_detection/audio_infer/utils/plot_statistics.py:1424
↓ 1 callersFunctionadd_comma
E.g., 1234567 -> 1,234,567
audio_detection/audio_infer/utils/plot_for_paper.py:42
↓ 1 callersMethodadd_dur_loss
:param dur_pred: [B, T], float, log scale :param mel2ph: [B, T] :param txt_tokens: [B, T] :param losses: :ret
NeuralSeq/tasks/svs/diffsinger_task.py:435
↓ 1 callersMethodadd_dur_loss
:param dur_pred: [B, T], float, log scale :param mel2ph: [B, T] :param txt_tokens: [B, T] :param losses: :re
NeuralSeq/tasks/tts/fs2.py:175
↓ 1 callersFunctionadd_noise_and_scale
:param front: front-head audio, like vocal [samples,channel], will be normlized so any scale will be fine :param noise: noise, [samples,chann
sound_extraction/utils/create_mixtures.py:4
↓ 1 callersMethodadd_pitch_loss
(self, output, sample, losses)
NeuralSeq/tasks/tts/pe.py:146
↓ 1 callersFunctionadd_sharpening
USM sharpening. borrowed from real-ESRGAN Input image: I; Blurry image: B. 1. K = I + weight * (I - B) 2. Mask = 1 if abs(I - B) > thresho
text_to_audio/Make_An_Audio/ldm/modules/image_degradation/bsrgan.py:299
↓ 1 callersMethodafter_infer
(self, predictions, sil_start_frame=0)
NeuralSeq/modules/GenerSpeech/task/generspeech.py:155
↓ 1 callersFunctionanisotropic_Gaussian
generate an anisotropic Gaussian kernel Args: ksize : e.g., 15, kernel size theta : [0, pi], rotation angle range l1
text_to_audio/Make_An_Audio/ldm/modules/image_degradation/bsrgan_light.py:65
↓ 1 callersFunctionanisotropic_Gaussian
generate an anisotropic Gaussian kernel Args: ksize : e.g., 15, kernel size theta : [0, pi], rotation angle range l1
text_to_audio/Make_An_Audio/ldm/modules/image_degradation/bsrgan.py:65
↓ 1 callersMethodapply_sparse_mask
(self, attn_weights, tgt_len, src_len, bsz)
NeuralSeq/modules/commons/transformer.py:475
↓ 1 callersMethodapply_sparse_mask
(self, attn_weights, tgt_len, src_len, bsz)
NeuralSeq/modules/commons/common_layers.py:462
↓ 1 callersMethodapply_weight_norm
Apply weight normalization module from all of the layers.
NeuralSeq/modules/parallel_wavegan/models/parallel_wavegan.py:184
↓ 1 callersMethodapply_weight_norm
Apply weight normalization module from all of the layers.
NeuralSeq/modules/parallel_wavegan/models/parallel_wavegan.py:282
↓ 1 callersMethodapply_weight_norm
Apply weight normalization module from all of the layers.
NeuralSeq/modules/parallel_wavegan/models/parallel_wavegan.py:416
↓ 1 callersMethodapply_weight_norm
Apply weight normalization module from all of the layers.
NeuralSeq/modules/parallel_wavegan/models/melgan.py:170
↓ 1 callersMethodapply_weight_norm
Apply weight normalization module from all of the layers.
NeuralSeq/modules/parallel_wavegan/models/melgan.py:406
↓ 1 callersMethodasr
(self, file)
NeuralSeq/inference/tts/base_tts_infer.py:83
↓ 1 callersMethodattention
(self, query, key, value, mask=None)
NeuralSeq/modules/commons/rel_transformer.py:131
↓ 1 callersMethodattention_pooling
(self, embeddings, mean_embedding)
audio_detection/target_sound_detection/src/models.py:1150
↓ 1 callersFunctionaudio_tagging
Inference audio tagging result of an audio clip.
audio_detection/audio_infer/pytorch/inference.py:15
↓ 1 callersFunctionaugment_img
Kai Zhang (github: https://github.com/cszn)
text_to_audio/Make_An_Audio/ldm/modules/image_degradation/utils_image.py:380
↓ 1 callersFunctionavg_pool_nd
Create a 1D, 2D, or 3D average pooling module.
text_to_audio/Make_An_Audio/ldm/modules/diffusionmodules/util.py:238
↓ 1 callersFunctionbasic_clean
(text)
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/tokenizer.py:56
↓ 1 callersMethodbeam_search
(self, input_dict)
audio_to_text/captioning/models/base_model.py:250
↓ 1 callersMethodbeamsearch_process
(self, output, output_i, input_dict)
audio_to_text/captioning/models/base_model.py:344
↓ 1 callersMethodbeamsearch_process_step
(self, output_i, output_t)
audio_to_text/captioning/models/base_model.py:341
↓ 1 callersMethodbeamsearch_step
(self, input_dict, output_i)
audio_to_text/captioning/models/base_model.py:332
↓ 1 callersFunctionbgr2ycbcr
bgr version of rgb2ycbcr only_y: only return Y channel Input: uint8, [0, 255] float, [0, 1]
text_to_audio/Make_An_Audio/ldm/modules/image_degradation/utils_image.py:573
↓ 1 callersFunctionbinarize
(pred, threshold=0.5)
audio_detection/target_sound_detection/src/utils.py:229
↓ 1 callersMethodbpe
(self, token)
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/tokenizer.py:94
↓ 1 callersMethodbuild_asr
(self)
NeuralSeq/inference/tts/base_tts_infer.py:38
↓ 1 callersMethodbuild_attention_mask
(self)
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/model.py:582
↓ 1 callersMethodbuild_clip
(self, text)
audio-chatgpt.py:818
↓ 1 callersMethodbuild_disc_model
(self)
NeuralSeq/tasks/tts/fs2_adv.py:22
↓ 1 callersMethodbuild_disc_model
(self)
NeuralSeq/tasks/tts/ps_adv.py:42
↓ 1 callersMethodbuild_embedding
(self, dictionary, embed_dim)
NeuralSeq/modules/fastspeech/fs2.py:74
↓ 1 callersMethodbuild_emo_map
(self)
NeuralSeq/data_gen/tts/base_binarizer_emotion.py:85
↓ 1 callersMethodbuild_model
(self)
NeuralSeq/inference/svs/base_svs_infer.py:40
↓ 1 callersMethodbuild_model
(self)
NeuralSeq/inference/tts/base_tts_infer.py:32
↓ 1 callersMethodbuild_optimizer
(self, model)
NeuralSeq/tasks/base_task.py:199
↓ 1 callersMethodbuild_phone_encoder
(self, data_dir)
NeuralSeq/tasks/tts/tts_base.py:138
↓ 1 callersMethodbuild_phone_encoder
(self, data_dir)
NeuralSeq/tasks/tts/tts.py:95
↓ 1 callersMethodbuild_scheduler
(self, optimizer)
NeuralSeq/tasks/base_task.py:196
↓ 1 callersMethodbuild_scheduler
(self, optimizer)
NeuralSeq/tasks/tts/fs2_adv.py:111
↓ 1 callersMethodbuild_spk_map
(self, spk_names)
NeuralSeq/data_gen/tts/base_preprocess.py:214
↓ 1 callersMethodbuild_spk_map
(self)
NeuralSeq/data_gen/tts/base_binarizer.py:71
↓ 1 callersMethodbuild_spk_map
(self)
NeuralSeq/data_gen/tts/base_binarizer_emotion.py:75
↓ 1 callersMethodbuild_tts_model
(self)
NeuralSeq/modules/GenerSpeech/task/generspeech.py:30
↓ 1 callersMethodbuild_tts_model
(self)
NeuralSeq/tasks/tts/ps.py:24
↓ 1 callersMethodbuild_tts_model
(self)
NeuralSeq/tasks/tts/fs2.py:63
↓ 1 callersFunctionbuild_vocab
Build vocabulary from csv file with a given threshold to drop all counts < threshold Args: input_json(string): Preprossessed json file. S
audio_to_text/captioning/utils/build_vocab.py:35
↓ 1 callersFunctionbuild_vocab
Build vocabulary from csv file with a given threshold to drop all counts < threshold Args: input_json(string): Preprossessed json file. S
audio_to_text/captioning/utils/build_vocab_ltp.py:30
↓ 1 callersFunctionbuild_vocab
Build vocabulary from csv file with a given threshold to drop all counts < threshold Args: input_json(string): Preprossessed json file. S
audio_to_text/captioning/utils/build_vocab_spacy.py:31
↓ 1 callersMethodbuild_vocoder
(self)
NeuralSeq/inference/svs/base_svs_infer.py:46
↓ 1 callersMethodbuild_vocoder
(self)
NeuralSeq/inference/tts/base_tts_infer.py:44
↓ 1 callersFunctionbuild_word_encoder
(data_dir)
NeuralSeq/data_gen/tts/data_gen_utils.py:346
↓ 1 callersMethodcal_similarity
(self, target, retrievals)
audio-chatgpt.py:823
↓ 1 callersMethodcalculate_adaptive_weight
(self, nll_loss, g_loss, last_layer=None)
text_to_audio/Make_An_Audio/ldm/modules/losses_audio/vqperceptual.py:54
↓ 1 callersMethodcalculate_adaptive_weight
(self, nll_loss, g_loss, last_layer=None)
text_to_audio/Make_An_Audio/ldm/modules/losses_audio/contperceptual.py:42
↓ 1 callersMethodcalculate_or_load_stats
(self)
text_to_audio/Make_An_Audio/ldm/modules/losses_audio/vggishish/transforms.py:42
↓ 1 callersMethodcaption
(self,audio_list)
audio_to_text/inference_waveform.py:72
↓ 1 callersMethodcheck_decoder_compatibility
(self)
audio_to_text/captioning/models/base_model.py:34
↓ 1 callersMethodcheck_encoder_compatibility
(self)
audio_to_text/captioning/models/transformer_model.py:99
↓ 1 callersMethodcheck_index
(self, i)
NeuralSeq/utils/indexed_datasets.py:17
↓ 1 callersMethodclear_buffer
(self, input, encoder_out=None, encoder_padding_mask=None, incremental_state=None)
NeuralSeq/modules/commons/transformer.py:608
← previousnext →601–700 of 2,752, ranked by callers