MCPcopy Create free account

hub / github.com/AIFSH/NativeSpeaker / functions

Functions601 in github.com/AIFSH/NativeSpeaker

↓ 1 callersMethodget_codebook_feat
(self, indices, shape)
src/third_part/codeformer/vqgan_arch.py:72
↓ 1 callersFunctionget_comma
(lang_code)
src/third_part/whisperx/conjunctions.py:42
↓ 1 callersFunctionget_conjunctions
(lang_code)
src/third_part/whisperx/conjunctions.py:39
↓ 1 callersMethodget_detections_for_batch
(self, images)
src/third_part/wav2lip/face_detection/api.py:63
↓ 1 callersMethodget_face_landmarks_5
(self, only_keep_largest=False, only_center_face=Fal
src/third_part/facelib/utils/face_restoration_helper.py:194
↓ 1 callersMethodget_face_landmarks_5_dlib
(self, only_keep_largest=False, scale=1)
src/third_part/facelib/utils/face_restoration_helper.py:162
↓ 1 callersMethodget_fps
(self)
src/third_part/codeformer/video_util.py:55
↓ 1 callersMethodget_frame_from_stream
(self)
src/third_part/codeformer/video_util.py:66
↓ 1 callersMethodget_inverse_affine
Get inverse affine matrix.
src/third_part/facelib/utils/face_restoration_helper.py:349
↓ 1 callersFunctionget_similarity_transform_for_cv2
Function: ---------- Find Similarity Transform Matrix 'cv2_trans' which could be directly used by cv2.warpAffine():
src/third_part/facelib/detection/matlab_cp2tform.py:198
↓ 1 callersMethodget_smoothened_boxes
(self,boxes, T)
src/lipsync.py:247
↓ 1 callersFunctionget_trellis
(emission, tokens, blank_id=0)
src/third_part/whisperx/alignment.py:353
↓ 1 callersFunctionget_video_frame
(video_path : str, frame_number : int = 0)
src/nfsw.py:48
↓ 1 callersFunctionget_video_meta_info
(video_path)
src/third_part/codeformer/video_util.py:17
↓ 1 callersFunctionget_writer
( output_format: str, output_dir: str )
src/third_part/whisperx/utils.py:405
↓ 1 callersFunctioninference
data : dic configs
src/third_part/uvr5_pack/utils.py:25
↓ 1 callersMethodinit_dlib
Initialize the dlib detectors and predictors.
src/third_part/facelib/utils/face_restoration_helper.py:150
↓ 1 callersFunctioninit_parsing_model
(model_name='bisenet', half=False, device='cuda')
src/third_part/facelib/parsing/__init__.py:8
↓ 1 callersFunctioninit_retinaface_model
(model_name, half=False, device='cuda')
src/third_part/facelib/detection/__init__.py:25
↓ 1 callersFunctioninit_yolov5face_model
(model_name, device='cuda')
src/third_part/facelib/detection/__init__.py:50
↓ 1 callersFunctionintersect
We resize both tensors to [A,B,2] without new malloc: [A,2] -> [A,1,2] -> [A,B,2] [B,2] -> [1,B,2] -> [A,B,2] Then we compute the area of
src/third_part/facelib/detection/retinaface/retinaface_utils.py:79
↓ 1 callersFunctionisListempty
(inList)
src/third_part/facelib/detection/yolov5face/face_detector.py:22
↓ 1 callersFunctionis_gray
(img, threshold=10)
src/third_part/facelib/utils/misc.py:146
↓ 1 callersFunctionjaccard
Compute the jaccard overlap of two sets of boxes. The jaccard overlap is simply the intersection over union of two boxes. Here we operate on
src/third_part/facelib/detection/retinaface/retinaface_utils.py:98
↓ 1 callersFunctionload_data
(file_name: str = "./infer/lib/uvr5_pack/name_params.json")
src/third_part/uvr5_pack/utils.py:8
↓ 1 callersMethodload_model
(self)
src/lipsync.py:143
↓ 1 callersFunctionload_vad_model
(device, vad_onset=0.500, vad_offset=0.363, use_auth_token=None, model_fp=None)
src/third_part/whisperx/vad.py:20
↓ 1 callersFunctionload_wav
(path, sr)
src/third_part/wav2lip/audio.py:9
↓ 1 callersFunctionmain
(args)
speak.py:5
↓ 1 callersFunctionmake_bbox_head
(fpn_num=3, inchannels=64, anchor_num=2)
src/third_part/facelib/detection/retinaface/retinaface_net.py:185
↓ 1 callersFunctionmake_class_head
(fpn_num=3, inchannels=64, anchor_num=2)
src/third_part/facelib/detection/retinaface/retinaface_net.py:178
↓ 1 callersFunctionmake_landmark_head
(fpn_num=3, inchannels=64, anchor_num=2)
src/third_part/facelib/detection/retinaface/retinaface_net.py:192
↓ 1 callersFunctionmake_padding
(width, cropsize, offset)
src/third_part/uvr5_pack/utils.py:15
↓ 1 callersFunctionmel_filters
load the mel filterbank matrix for projecting STFT into a Mel spectrogram. Allows decoupling librosa dependency; saved using: np.sav
src/third_part/whisperx/audio.py:95
↓ 1 callersFunctionmelspectrogram
(wav)
src/third_part/wav2lip/audio.py:45
↓ 1 callersFunctionmerge_chunks
Merge operation described in paper
src/third_part/whisperx/vad.py:264
↓ 1 callersFunctionmerge_repeats
(path, transcript)
src/third_part/whisperx/alignment.py:432
↓ 1 callersFunctionnon_max_suppression_face
Performs Non-Maximum Suppression (NMS) on inference results Returns: detections with shape: nx6 (x1, y1, x2, y2, conf, cls)
src/third_part/facelib/detection/yolov5face/utils/general.py:89
↓ 1 callersFunctionnormal_round
(n)
src/third_part/whisperx/SubtitlesProcessor.py:5
↓ 1 callersFunctionnum_frames
Compute number of time frames of spectrogram
src/third_part/wav2lip/audio.py:65
↓ 1 callersFunctionparse_model
(d, ch)
src/third_part/facelib/detection/yolov5face/models/yolo.py:181
↓ 1 callersFunctionpaste_face_back
(img, face, inverse_affine)
src/third_part/facelib/utils/face_utils.py:190
↓ 1 callersFunctionpoint_form
Convert prior_boxes to (xmin, ymin, xmax, ymax) representation for comparison to point form ground truth data. Args: boxes: (tensor)
src/third_part/facelib/detection/retinaface/retinaface_utils.py:50
↓ 1 callersFunctionprepare_frame
(frame)
src/nfsw.py:71
↓ 1 callersFunctionpreprocess
(X_spec)
src/third_part/uvr5_pack/utils.py:58
↓ 1 callersMethodprocess_segments
(self, advanced_splitting=True)
src/third_part/whisperx/SubtitlesProcessor.py:77
↓ 1 callersMethodread_image
img can be image path or cv2 loaded image.
src/third_part/facelib/utils/face_restoration_helper.py:128
↓ 1 callersFunctionreduce_vocal_aggressively
(X, y, softmask)
src/third_part/uvr5_pack/lib_v5/spec_utils.py:151
↓ 1 callersFunctionscale_coords_landmarks
(img1_shape, coords, img0_shape, ratio_pad=None)
src/third_part/facelib/detection/yolov5face/utils/general.py:249
↓ 1 callersFunctionshuffle_lr
Shuffle the points left-right according to the axis of symmetry of the object. Arguments: parts {torch.tensor} -- a 3D or 4D object c
src/third_part/wav2lip/face_detection/utils.py:212
↓ 1 callersMethodspeech_to_text
(self, vocal_file)
src/core.py:183
↓ 1 callersMethodtensor_or_path_to_ndarray
Convert path (represented as a string) or torch.tensor to a numpy.ndarray Arguments: tensor_or_path {numpy.ndarray, torch.tensor
src/third_part/wav2lip/face_detection/detection/core.py:116
↓ 1 callersFunctiontforminv
Function: ---------- apply the inverse of affine transform 'trans' to uv Parameters: ---------- @trans: 3x3 np.array
src/third_part/facelib/detection/matlab_cp2tform.py:37
↓ 1 callersMethodtransform
(self, image, use_origin_size)
src/third_part/facelib/detection/retinaface/retinaface.py:166
↓ 1 callersMethodvideo_map_vocal
(self,vido_clip:VideoFileClip,vocal_audio:AudioSegment)
src/core.py:170
↓ 1 callersFunctionwarp_and_crop_face
Function: ---------- apply affine transform 'trans' to uv Parameters: ---------- @src_img: 3x3 np.array i
src/third_part/facelib/detection/align_trans.py:145
↓ 1 callersMethodwith_pos_embed
(self, tensor, pos: Optional[Tensor])
src/third_part/codeformer/codeformer_arch.py:114
↓ 1 callersMethodwrite_result
(self, result: dict, file: TextIO, options: dict)
src/third_part/whisperx/utils.py:207
↓ 1 callersFunctionxyxy2xywh
(x)
src/third_part/facelib/detection/yolov5face/utils/general.py:22
FunctionDWConv
(c1, c2, k=1, s=1, act=True)
src/third_part/facelib/detection/yolov5face/models/common.py:37
FunctionIOU
(ax1, ay1, ax2, ay2, bx1, by1, bx2, by2)
src/third_part/wav2lip/face_detection/detection/sfd/bbox.py:17
Method__call__
(self,text,from_lang,to_lang,*args: Any, **kwds: Any)
src/translator.py:12
Method__call__
(self, text, lang_code, speaker_wav,*args: Any, **kwds: Any)
src/voice_clone.py:38
Method__call__
(self, text, lang_code, speaker_wav,speed=1.0,*args: Any, **kwds: Any)
src/voice_clone.py:76
Method__call__
(self, *args: Any, **kwds: Any)
src/core.py:42
Method__call__
(self,input_path:str,output_path:str,audio,*args: Any, **kwds: Any)
src/upscale.py:42
Method__call__
(self, face,audio,outfile,voice,*args: Any, **kwds: Any)
src/lipsync.py:49
Method__call__
(self, result: dict, audio_path: str, options: dict)
src/third_part/whisperx/utils.py:197
Method__call__
(self, audio: Union[str, np.ndarray], min_speakers=None, max_speakers=None)
src/third_part/whisperx/diarize.py:21
Method__call__
(self, x)
src/third_part/uvr5_pack/lib_v5/nets_33966KB.py:23
Method__call__
(self, x)
src/third_part/uvr5_pack/lib_v5/layers_123812KB .py:25
Method__call__
(self, x)
src/third_part/uvr5_pack/lib_v5/layers_123812KB .py:48
Method__call__
(self, x)
src/third_part/uvr5_pack/lib_v5/layers_123812KB .py:58
Method__call__
(self, x, skip=None)
src/third_part/uvr5_pack/lib_v5/layers_123812KB .py:73
Method__call__
(self, x)
src/third_part/uvr5_pack/lib_v5/layers_33966KB.py:25
Method__call__
(self, x)
src/third_part/uvr5_pack/lib_v5/layers_33966KB.py:48
Method__call__
(self, x)
src/third_part/uvr5_pack/lib_v5/layers_33966KB.py:58
Method__call__
(self, x, skip=None)
src/third_part/uvr5_pack/lib_v5/layers_33966KB.py:73
Method__call__
(self, x)
src/third_part/uvr5_pack/lib_v5/nets_537227KB.py:24
Method__call__
(self, x)
src/third_part/uvr5_pack/lib_v5/layers.py:25
Method__call__
(self, x)
src/third_part/uvr5_pack/lib_v5/layers.py:48
Method__call__
(self, x)
src/third_part/uvr5_pack/lib_v5/layers.py:58
Method__call__
(self, x, skip=None)
src/third_part/uvr5_pack/lib_v5/layers.py:73
Method__call__
(self, x)
src/third_part/uvr5_pack/lib_v5/nets_537238KB.py:24
Method__call__
(self, x)
src/third_part/uvr5_pack/lib_v5/layers_537227KB.py:25
Method__call__
(self, x)
src/third_part/uvr5_pack/lib_v5/layers_537227KB.py:48
Method__call__
(self, x)
src/third_part/uvr5_pack/lib_v5/layers_537227KB.py:58
Method__call__
(self, x, skip=None)
src/third_part/uvr5_pack/lib_v5/layers_537227KB.py:73
Method__call__
(self, x)
src/third_part/uvr5_pack/lib_v5/nets_123812KB.py:23
Method__call__
(self, x)
src/third_part/uvr5_pack/lib_v5/nets_61968KB.py:23
Method__call__
(self, x)
src/third_part/uvr5_pack/lib_v5/layers_123821KB.py:25
Method__call__
(self, x)
src/third_part/uvr5_pack/lib_v5/layers_123821KB.py:48
Method__call__
(self, x)
src/third_part/uvr5_pack/lib_v5/layers_123821KB.py:58
Method__call__
(self, x, skip=None)
src/third_part/uvr5_pack/lib_v5/layers_123821KB.py:73
Method__call__
(self, x)
src/third_part/uvr5_pack/lib_v5/nets.py:24
Method__call__
(self, x)
src/third_part/uvr5_pack/lib_v5/nets_123821KB.py:23
Method__call__
(self, x)
src/third_part/uvr5_pack/lib_v5/nets_new.py:27
Method__call__
(self, x)
src/third_part/uvr5_pack/lib_v5/layers_new.py:25
Method__call__
(self, x)
src/third_part/uvr5_pack/lib_v5/layers_new.py:35
Method__call__
(self, x, skip=None)
src/third_part/uvr5_pack/lib_v5/layers_new.py:51
← previousnext →201–300 of 601, ranked by callers