MCPcopy Create free account

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

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

Methodseq_forward
(self, input_dict)
audio_to_text/captioning/models/transformer_model.py:104
Methodseq_forward
(self, input_dict)
audio_to_text/captioning/models/transformer_model.py:234
Methodset_activation_status
(self, status=True)
NeuralSeq/modules/GenerSpeech/model/mixstyle.py:34
Methodset_buffer
(self, *args)
NeuralSeq/modules/commons/transformer.py:648
Methodset_ddi
(self, ddi)
NeuralSeq/modules/GenerSpeech/model/glow_modules.py:96
Methodset_ddi
(self, ddi)
NeuralSeq/modules/commons/normalizing_flow/glow_modules.py:38
Methodset_index
(cls, start_idx, end_idx)
audio_to_text/captioning/models/base_model.py:41
Methodshared_step
(self, batch, **kwargs)
text_to_audio/Make_An_Audio/ldm/models/diffusion/ddpm_audio.py:511
Methodshared_step
(self, batch, **kwargs)
text_to_audio/Make_An_Audio/ldm/models/diffusion/ddpm.py:863
Methodshared_step
(self, batch, **kwargs)
text_to_audio/Make_An_Audio/ldm/models/diffusion/ddpm_audio_inpaint.py:507
Functionshave
(img_in, border=0)
text_to_audio/Make_An_Audio/ldm/modules/image_degradation/utils_image.py:510
Functionshift_1d
(x)
NeuralSeq/modules/commons/rel_transformer.py:17
Methodshow_mel_fn
(self, input_audio_path)
audio-chatgpt.py:492
Methodshuffle_batches
(batches)
NeuralSeq/tasks/tts/tts_base.py:100
Methodshuffle_batches
(batches)
NeuralSeq/tasks/tts/tts.py:57
Functionsilu
(x)
NeuralSeq/modules/diff/net.py:54
Functionsingle2tensor3
(img)
text_to_audio/Make_An_Audio/ldm/modules/image_degradation/utils_image.py:302
Functionsingle2tensor4
(img)
text_to_audio/Make_An_Audio/ldm/modules/image_degradation/utils_image.py:307
Functionsingle2tensor5
(img)
text_to_audio/Make_An_Audio/ldm/modules/image_degradation/utils_image.py:329
Functionsingle2uint
(img)
text_to_audio/Make_An_Audio/ldm/modules/image_degradation/utils_image.py:254
Functionsingle2uint16
(img)
text_to_audio/Make_An_Audio/ldm/modules/image_degradation/utils_image.py:264
Functionsingle32tensor5
(img)
text_to_audio/Make_An_Audio/ldm/modules/image_degradation/utils_image.py:333
Functionsingle42tensor4
(img)
text_to_audio/Make_An_Audio/ldm/modules/image_degradation/utils_image.py:337
Functionsoftmax
(x, dim)
NeuralSeq/utils/__init__.py:160
Methodsp_phonemes
()
NeuralSeq/data_gen/tts/txt_processors/base_text_processor.py:19
Methodspec2wav
(self, mel, **kwargs)
NeuralSeq/vocoders/hifigan.py:55
Methodspec2wav
:param mel: [T, 80] :return: wav: [T']
NeuralSeq/vocoders/base_vocoder.py:23
Functionspec_f0_to_figure
(spec, f0s, figsize=None)
NeuralSeq/utils/plot.py:16
Functionspectral_de_normalize_torch
(magnitudes)
NeuralSeq/modules/hifigan/mel_utils.py:36
Methodspeech
(self, speech_input, state)
audio-chatgpt.py:1294
Functionsplit_imageset
split the large images from original_dataroot into small overlapped images with size (p_size)x(p_size), and save them into taget_dataroot; on
text_to_audio/Make_An_Audio/ldm/modules/image_degradation/utils_image.py:125
Functionsplit_train_cv
split_train_cv :param data_frame: :type data_frame: pd.DataFrame :param frac: :type frac: float
audio_detection/target_sound_detection/src/utils.py:55
Functionsqueeze
(x, x_mask=None, n_sqz=2)
NeuralSeq/modules/commons/normalizing_flow/utils.py:4
Functionsrmd_degradation
blur + bicubic downsampling Args: x: HxWxC image, [0, 1] k: hxw, double sf: down-scale factor Return: downsam
text_to_audio/Make_An_Audio/ldm/modules/image_degradation/bsrgan_light.py:240
Functionsrmd_degradation
blur + bicubic downsampling Args: x: HxWxC image, [0, 1] k: hxw, double sf: down-scale factor Return: downsam
text_to_audio/Make_An_Audio/ldm/modules/image_degradation/bsrgan.py:240
Methodstate_dict
(self)
audio_detection/audio_infer/utils/data_generator.py:252
Methodstate_dict
(self)
audio_detection/audio_infer/utils/data_generator.py:348
Methodstep
Run one step.
NeuralSeq/modules/parallel_wavegan/optimizers/radam.py:27
Methodstochastic_encode
(self, x0, t, use_original_steps=False, noise=None)
text_to_audio/Make_An_Audio/ldm/models/diffusion/ddim.py:228
Methodstore_inverse
(self)
NeuralSeq/modules/GenerSpeech/model/glow_modules.py:93
Methodstore_inverse
(self)
NeuralSeq/modules/GenerSpeech/model/glow_modules.py:191
Methodstore_inverse
(self)
NeuralSeq/modules/GenerSpeech/model/glow_modules.py:268
Methodstore_inverse
(self)
NeuralSeq/modules/GenerSpeech/model/glow_modules.py:334
Methodstore_inverse
(self)
NeuralSeq/modules/GenerSpeech/model/glow_modules.py:409
Methodstore_inverse
(self)
NeuralSeq/modules/GenerSpeech/model/glow_modules.py:492
Methodstore_inverse
(self)
NeuralSeq/modules/GenerSpeech/model/glow_modules.py:582
Methodstore_inverse
(self)
NeuralSeq/modules/GenerSpeech/model/glow_modules.py:717
Methodstore_inverse
(self)
NeuralSeq/modules/commons/normalizing_flow/glow_modules.py:35
Methodstore_inverse
(self)
NeuralSeq/modules/commons/normalizing_flow/glow_modules.py:133
Methodstore_inverse
(self)
NeuralSeq/modules/commons/normalizing_flow/glow_modules.py:210
Methodstore_inverse
(self)
NeuralSeq/modules/commons/normalizing_flow/glow_modules.py:264
Methodstore_inverse
(self)
NeuralSeq/modules/commons/normalizing_flow/glow_modules.py:353
Methodstore_to_file
Write vocab file to disk. Vocab files have one token per line. The file ends in a newline. Reserved tokens are written to the vocab f
NeuralSeq/utils/text_encoder.py:290
Functionstore_yaml
(config, config_file)
audio_to_text/captioning/utils/train_util.py:93
Functionstring_begins_with
(prefix, str)
text_to_audio/Make_An_Audio/ldm/modules/x_transformer.py:102
Functionsurf
(Z, cmap='rainbow', figsize=None)
text_to_audio/Make_An_Audio/ldm/modules/image_degradation/utils_image.py:47
Methodsynthesis
Synthesis with PQMF. Args: x (Tensor): Input tensor (B, subbands, T // subbands). Returns: Tensor: Output te
NeuralSeq/modules/parallel_wavegan/layers/pqmf.py:118
Functiontensor2img
Converts a torch Tensor into an image Numpy array of BGR channel order Input: 4D(B,(3/1),H,W), 3D(C,H,W), or 2D(H,W), any range, RGB channel
text_to_audio/Make_An_Audio/ldm/modules/image_degradation/utils_image.py:342
Functiontensor2single
(img)
text_to_audio/Make_An_Audio/ldm/modules/image_degradation/utils_image.py:312
Functiontensor2single3
(img)
text_to_audio/Make_An_Audio/ldm/modules/image_degradation/utils_image.py:320
Functiontensor2uint
(img)
text_to_audio/Make_An_Audio/ldm/modules/image_degradation/utils_image.py:289
Methodtest_dataloader
(self)
NeuralSeq/tasks/base_task.py:298
Methodtest_dataloader
(self)
NeuralSeq/tasks/tts/tts_base.py:85
Methodtest_dataloader
(self)
NeuralSeq/tasks/tts/fs2.py:58
Methodtest_dataloader
(self)
NeuralSeq/tasks/vocoder/vocoder_base.py:33
Methodtest_end
(self, outputs)
NeuralSeq/tasks/base_task.py:213
Methodtest_end
(self, outputs)
NeuralSeq/tasks/tts/tts_base.py:284
Methodtest_end
(self, outputs)
NeuralSeq/tasks/vocoder/vocoder_base.py:65
Methodtest_item_names
(self)
NeuralSeq/data_gen/tts/base_binarizer.py:68
Methodtest_item_names
(self)
NeuralSeq/data_gen/tts/base_binarizer_emotion.py:72
Methodtest_start
(self)
NeuralSeq/tasks/base_task.py:207
Methodtest_start
(self)
NeuralSeq/tasks/tts/ps.py:155
Methodtest_start
(self)
NeuralSeq/tasks/tts/tts_base.py:164
Methodtest_start
(self)
NeuralSeq/tasks/tts/ps_adv.py:327
Methodtest_start
(self)
NeuralSeq/tasks/vocoder/vocoder_base.py:60
Methodtest_step
(self, sample, batch_idx)
NeuralSeq/modules/GenerSpeech/task/generspeech.py:125
Methodtest_step
(self, sample, batch_idx)
NeuralSeq/tasks/svs/diffsinger_task.py:208
Methodtest_step
(self, sample, batch_idx)
NeuralSeq/tasks/tts/ps.py:161
Methodtest_step
(self, sample, batch_idx)
NeuralSeq/tasks/tts/fs2.py:338
Methodtest_step
(self, sample, batch_idx)
NeuralSeq/tasks/tts/ps_adv.py:333
Methodtest_step
(self, batch, batch_idx)
text_to_audio/Make_An_Audio/ldm/models/autoencoder.py:197
Methodtest_step
(self, batch, batch_idx)
text_to_audio/Make_An_Audio/ldm/models/autoencoder.py:397
Methodtest_step
(self, batch, batch_idx)
text_to_audio/Make_An_Audio/ldm/models/autoencoder_multi.py:124
Methodtest_step
(self,batch,batch_idx)
text_to_audio/Make_An_Audio/ldm/models/diffusion/ddpm_audio.py:516
Methodtest_step
(self,batch,batch_idx)
text_to_audio/Make_An_Audio/ldm/models/diffusion/ddpm_audio_inpaint.py:512
Methodtoken_gen
()
NeuralSeq/utils/text_encoder.py:239
Functiontokenize
Returns the tokenized representation of given input string(s) Parameters ---------- texts : Union[str, List[str]] An input s
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/tokenizer.py:152
Functiontokenize_caption
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/tokenize_caption.py:7
Functiontrace_model
(model, batch_size=256, device=torch.device("cpu"))
text_to_audio/Make_An_Audio/ldm/modules/encoders/open_clap/model.py:897
Methodtrain
(self, mode)
audio_to_text/captioning/models/encoder.py:665
Methodtrain_dataloader
(self)
NeuralSeq/tasks/base_task.py:294
Methodtrain_dataloader
(self)
NeuralSeq/tasks/tts/tts_base.py:56
Methodtrain_dataloader
(self)
NeuralSeq/tasks/tts/fs2.py:47
Methodtrain_dataloader
(self)
NeuralSeq/tasks/vocoder/vocoder_base.py:23
Methodtrain_item_names
(self)
NeuralSeq/data_gen/tts/base_binarizer.py:60
Methodtrain_item_names
(self)
NeuralSeq/data_gen/tts/base_binarizer_emotion.py:64
Functiontrain_labelencoder
encode_labels Encodes labels :param labels: pd.Series representing the raw labels e.g., Speech, Water :param encoder (optional): Encoder
audio_detection/target_sound_detection/src/utils.py:116
Methodtraining_step
(self, batch, batch_idx, optimizer_idx)
text_to_audio/Make_An_Audio/ldm/models/autoencoder.py:142
Methodtraining_step
(self, batch, batch_idx, optimizer_idx)
text_to_audio/Make_An_Audio/ldm/models/autoencoder.py:372
Methodtraining_step
(self, batch, batch_idx, optimizer_idx)
text_to_audio/Make_An_Audio/ldm/models/autoencoder_multi.py:89
← previousnext →2,601–2,700 of 2,752, ranked by callers