MCPcopy Create free account

hub / github.com/TMElyralab/MuseTalk / functions

Functions394 in github.com/TMElyralab/MuseTalk

Methodforward
(self, x)
musetalk/utils/face_parsing/model.py:26
Methodforward
(self, x)
musetalk/utils/face_parsing/model.py:44
Methodforward
(self, x)
musetalk/utils/face_parsing/model.py:76
Methodforward
(self, x)
musetalk/utils/face_parsing/model.py:104
Methodforward
(self, x)
musetalk/utils/face_parsing/model.py:155
Methodforward
(self, fsp, fcp)
musetalk/utils/face_parsing/model.py:200
Methodforward
(self, x)
musetalk/utils/face_parsing/model.py:241
Methodforward
(self, x)
musetalk/utils/face_parsing/resnet.py:36
Methodforward
(self, x)
musetalk/utils/face_parsing/resnet.py:71
Methodforward
(self, x: Tensor)
musetalk/whisper/whisper/model.py:30
Methodforward
( self, x: Tensor, xa: Optional[Tensor] = None, mask: Optional[Tensor] = None,
musetalk/whisper/whisper/model.py:66
Methodforward
( self, x: Tensor, xa: Optional[Tensor] = None, mask: Optional[Tensor] = None,
musetalk/whisper/whisper/model.py:117
Methodforward
x : torch.Tensor, shape = (batch_size, n_mels, n_ctx) the mel spectrogram of the audio include_embeddings: bool
musetalk/whisper/whisper/model.py:143
Methodforward
x : torch.LongTensor, shape = (batch_size, <= n_ctx) the text tokens xa : torch.Tensor, shape = (batch_size, n_mels, n_au
musetalk/whisper/whisper/model.py:189
Methodforward
(self, mel: torch.Tensor, tokens: torch.Tensor)
musetalk/whisper/whisper/model.py:245
Methodforward
(self, x)
musetalk/models/unet.py:23
Methodforward
(self, image_sequences, audio_sequences)
musetalk/models/syncnet.py:39
Methodforward
(self, input_tensor)
musetalk/models/syncnet.py:117
Methodforward
(self, hidden_states)
musetalk/models/syncnet.py:162
Methodforward
(self, hidden_states)
musetalk/models/syncnet.py:229
Methodforward
(self, input)
musetalk/loss/basic_loss.py:19
Methodforward
(self, audio_sequences, face_sequences)
musetalk/loss/syncnet.py:84
Methodforward
(self, x)
musetalk/loss/discriminator.py:24
Methodforward
(self, x)
musetalk/loss/discriminator.py:56
Methodforward
(self, x)
musetalk/loss/discriminator.py:81
Methodforward
(self, x, generated, gan_mode='ls')
musetalk/loss/discriminator.py:117
Methodforward
(self, x)
musetalk/loss/vgg_face.py:89
Methodforward
(self, x)
musetalk/loss/vgg_face.py:118
Methodforward
(self, X)
musetalk/loss/vgg_face.py:161
Methodforward
(self, input)
musetalk/loss/vgg_face.py:211
Methodforward
(self, x)
musetalk/loss/vgg_face.py:233
Methodforward
(self, x)
musetalk/loss/conv.py:15
Methodforward
(self, x)
musetalk/loss/conv.py:29
Methodforward
(self, x)
musetalk/loss/conv.py:42
Methodforward
(self, x)
musetalk/loss/resnet.py:25
Methodforward
(self, x)
musetalk/loss/resnet.py:59
Methodforward
(self, x)
musetalk/loss/resnet.py:126
Methodget_params
(self)
musetalk/utils/face_parsing/model.py:55
Methodget_params
(self)
musetalk/utils/face_parsing/model.py:133
Methodget_params
(self)
musetalk/utils/face_parsing/model.py:168
Methodget_params
(self)
musetalk/utils/face_parsing/model.py:218
Functionget_preds_fromhm
Obtain (x,y) coordinates given a set of N heatmaps. If the center and the scale is provided the function will return the points also in the or
musetalk/utils/face_detection/utils.py:132
Functionget_preds_fromhm_batch
Obtain (x,y) coordinates given a set of N heatmaps. If the centers and the scales is provided the function will return the points also in the
musetalk/utils/face_detection/utils.py:172
Methodget_sliced_feature_sparse
Get sliced features based on a given index :param feature_array: :param start_idx: the start index of the feature :p
musetalk/whisper/audio2feature.py:47
Functioninference
(audio_path, video_path, bbox_shift, extra_margin=10, parsing_mode="jaw", left_cheek_width=90,
app.py:184
Methodinstall_hooks
(layer: nn.Module)
musetalk/whisper/whisper/model.py:280
Functioninv_preemphasis
(wav, k, inv_preemphasize=True)
musetalk/data/audio.py:57
Methodis_multilingual
(self)
musetalk/whisper/whisper/model.py:253
Methodlanguage_token
Returns the token id corresponding to the value of the `language` field
musetalk/whisper/whisper/tokenizer.py:196
Functionlibrosa_pad_lr
(x, fsize, fshift)
musetalk/data/audio.py:118
Functionlinearspectrogram
(wav)
musetalk/data/audio.py:69
Functionload_wav
(path, sr)
musetalk/data/audio.py:36
Methodlogits
(self, tokens: Tensor, audio_features: Tensor, include_embeddings=False)
musetalk/whisper/whisper/decoding.py:139
Methodlogits
(self, tokens: torch.Tensor, audio_features: torch.Tensor)
musetalk/whisper/whisper/model.py:242
Functionmain
()
musetalk/loss/discriminator.py:138
Functionmelspectrogram
(wav)
musetalk/data/audio.py:77
Methodno_speech
(self)
musetalk/whisper/whisper/tokenizer.py:181
Methodno_timestamps
(self)
musetalk/whisper/whisper/tokenizer.py:186
Methodnon_speech_tokens
Returns the list of tokens to suppress in order to avoid any speaker tags or non-speech annotations, to prevent sampling texts that a
musetalk/whisper/whisper/tokenizer.py:237
Functionoptional_float
(string)
musetalk/whisper/whisper/utils.py:22
Functionoptional_int
(string)
musetalk/whisper/whisper/utils.py:18
Functionpad_lr
Compute left and right padding
musetalk/data/audio.py:108
Functionprint_directory_contents
(path)
app.py:125
Methodprocess_frames
(self, res_frame_queue, video_len, skip_save_images)
scripts/realtime_inference.py:212
Functionpts_to_bb
(pts)
musetalk/utils/face_detection/detection/sfd/detect.py:111
Functionrand_log_normal
Draws samples from an lognormal distribution.
musetalk/utils/utils.py:88
Methodrank
(self, tokens: List[List[Tensor]], sum_logprobs: List[List[float]])
musetalk/whisper/whisper/decoding.py:182
Methodrearrange_kv_cache
(self, source_indices)
musetalk/whisper/whisper/decoding.py:158
Methodreference_scale
(self)
musetalk/utils/face_detection/detection/core.py:104
Methodreference_scale
(self)
musetalk/utils/face_detection/detection/sfd/sfd_detector.py:50
Methodreference_x_shift
(self)
musetalk/utils/face_detection/detection/core.py:108
Methodreference_x_shift
(self)
musetalk/utils/face_detection/detection/sfd/sfd_detector.py:54
Methodreference_y_shift
(self)
musetalk/utils/face_detection/detection/core.py:112
Methodreference_y_shift
(self)
musetalk/utils/face_detection/detection/sfd/sfd_detector.py:58
Functionremove_symbols
Replace any other markers, symbols, punctuations with a space, keeping diacritics
musetalk/whisper/whisper/normalizers/basic.py:46
Methodreset
(self)
musetalk/whisper/whisper/decoding.py:292
Functionresize_landmark
(landmark, w, h, new_w, new_h)
musetalk/utils/preprocessing.py:28
Functionresnet50
Constructs a ResNet-50 model.
musetalk/loss/resnet.py:148
Methodsave_to_cache
(module, _, output)
musetalk/whisper/whisper/model.py:273
Functionsave_wav
(wav, path, sr)
musetalk/data/audio.py:44
Functionsave_wavenet_wav
(wav, path, sr)
musetalk/data/audio.py:49
Methodscores
(logprobs, lengths)
musetalk/whisper/whisper/decoding.py:183
Methodsot
(self)
musetalk/whisper/whisper/tokenizer.py:166
Methodsot_lm
(self)
musetalk/whisper/whisper/tokenizer.py:171
Methodsot_prev
(self)
musetalk/whisper/whisper/tokenizer.py:176
Methodsot_sequence_including_notimestamps
(self)
musetalk/whisper/whisper/tokenizer.py:232
Functionstr2bool
(string)
musetalk/whisper/whisper/utils.py:10
Functionsummarize_tensor
(x)
musetalk/data/sample_method.py:4
Methodtimestamp_begin
(self)
musetalk/whisper/whisper/tokenizer.py:191
Methodto_fraction
(s: str)
musetalk/whisper/whisper/normalizers/english.py:165
Methodupdate
(self, tokens: Tensor, logits: Tensor, sum_logprobs: Tensor)
musetalk/whisper/whisper/decoding.py:258
Methodupdate
(self, tokens: Tensor, logits: Tensor, sum_logprobs: Tensor)
musetalk/whisper/whisper/decoding.py:295
Functionvggface
VGGFace model. Args: pretrained (bool): If True, returns pre-trained model
musetalk/loss/vgg_face.py:50
Functionvggface2
(pretrained=True)
musetalk/loss/vgg_face.py:45
← previous301–394 of 394, ranked by callers