MCPcopy Create free account

hub / github.com/AIFSH/NativeSpeaker / functions

Functions601 in github.com/AIFSH/NativeSpeaker

↓ 2 callersFunctionscale_coords
(img1_shape, coords, img0_shape, ratio_pad=None)
src/third_part/facelib/detection/yolov5face/utils/general.py:42
↓ 2 callersMethodset_realesrgan
(self)
src/upscale.py:248
↓ 2 callersFunctionswish
(x)
src/third_part/codeformer/vqgan_arch.py:19
↓ 2 callersMethodto_2d
(self, face_sequences)
src/third_part/wav2lip/models/wav2lip.py:158
↓ 2 callersMethodtranscribe
( self, audio: Union[str, np.ndarray], batch_size=None, num_workers=0, language=None, task=None, chunk
src/third_part/whisperx/asr.py:173
↓ 2 callersFunctionxywh2xyxy
(x)
src/third_part/facelib/detection/yolov5face/utils/general.py:32
↓ 1 callersMethod__align_multi
(self, image, boxes, landmarks, limit=None)
src/third_part/facelib/detection/retinaface/retinaface.py:240
↓ 1 callersMethod__call__
Binarize detection scores Parameters ---------- scores : SlidingWindowFeature Detection scores. Returns
src/third_part/whisperx/vad.py:118
↓ 1 callersMethod__init__
( self, onset: float = 0.5, offset: Optional[float] = None, min_duration_on: f
src/third_part/whisperx/vad.py:94
↓ 1 callersMethod__init__
(self, nin, ch, dilations=(4, 8, 16, 32))
src/third_part/uvr5_pack/lib_v5/nets_33966KB.py:9
↓ 1 callersMethod__init__
(self, nin, ch, dilations=(4, 8, 16))
src/third_part/uvr5_pack/lib_v5/nets_537227KB.py:10
↓ 1 callersMethod__init__
(self, nin, ch, dilations=(4, 8, 16))
src/third_part/uvr5_pack/lib_v5/nets_537238KB.py:10
↓ 1 callersMethod__init__
(self, nin, ch, dilations=(4, 8, 16))
src/third_part/uvr5_pack/lib_v5/nets_123812KB.py:9
↓ 1 callersMethod__init__
(self, nin, ch, dilations=(4, 8, 16))
src/third_part/uvr5_pack/lib_v5/nets_61968KB.py:9
↓ 1 callersMethod__init__
(self, nin, ch, dilations=(4, 8, 16))
src/third_part/uvr5_pack/lib_v5/nets.py:10
↓ 1 callersMethod__init__
(self, nin, ch, dilations=(4, 8, 16))
src/third_part/uvr5_pack/lib_v5/nets_123821KB.py:9
↓ 1 callersMethod__init__
( self, nin, nout, nin_lstm, nout_lstm, dilations=((4, 2), (8, 4), (12, 6)) )
src/third_part/uvr5_pack/lib_v5/nets_new.py:9
↓ 1 callersMethod__init__
(self, cfg="yolov5s.yaml", ch=3, nc=None)
src/third_part/facelib/detection/yolov5face/models/yolo.py:96
↓ 1 callersMethod__init__
(self, c1, c2, k=3, s=1, g=1, e=1.0, shortcut=False)
src/third_part/facelib/detection/yolov5face/models/experimental.py:12
↓ 1 callersMethod__init__
(self)
src/third_part/facelib/parsing/resnet.py:50
↓ 1 callersMethod__init__
(self)
src/third_part/wav2lip/face_detection/detection/sfd/net_s3fd.py:23
↓ 1 callersMethod__init__
(self)
src/third_part/wav2lip/models/wav2lip.py:9
↓ 1 callersMethod__init_console_handle
创建终端日志记录器handler,用于输出到控制台
src/log_helper.py:54
↓ 1 callersMethod__set_color_formatter
设置输出格式-控制台 :param console_handle: 终端日志记录器 :param color_config: 控制台打印颜色配置信息 :return:
src/log_helper.py:78
↓ 1 callersMethod__set_color_handle
设置handler级别并添加到终端logger收集器 :param console_handle: 终端日志记录器 :param level: 日志记录器级别
src/log_helper.py:68
↓ 1 callersFunction_build_mel_basis
()
src/third_part/wav2lip/audio.py:98
↓ 1 callersMethod_forward
(self, level, inp)
src/third_part/wav2lip/face_detection/models.py:119
↓ 1 callersFunction_gaussian
( size=3, sigma=0.25, amplitude=1, normalize=False, width=None, height=None, sigma_horz=None,
src/third_part/wav2lip/face_detection/utils.py:11
↓ 1 callersMethod_generate_network
(self, level)
src/third_part/wav2lip/face_detection/models.py:107
↓ 1 callersFunction_get_activation_fn
Return an activation function given a string
src/third_part/codeformer/codeformer_arch.py:87
↓ 1 callersMethod_initialize_biases
(self, cf=None)
src/third_part/facelib/detection/yolov5face/models/yolo.py:134
↓ 1 callersFunction_linear_to_mel
(spectogram)
src/third_part/wav2lip/audio.py:92
↓ 1 callersMethod_load
(self)
src/lipsync.py:155
↓ 1 callersFunction_lws_processor
()
src/third_part/wav2lip/audio.py:53
↓ 1 callersMethod_make_grid
(nx=20, ny=20)
src/third_part/facelib/detection/yolov5face/models/yolo.py:89
↓ 1 callersMethod_postprocess
Postprocessing of raw pytorch model output. Returns: bboxes: list of arrays with 4 coordinates of bounding boxes with for
src/third_part/facelib/detection/yolov5face/face_detector.py:69
↓ 1 callersMethod_preprocess
Preprocessing image before passing through the network. Resize and conversion to torch tensor.
src/third_part/facelib/detection/yolov5face/face_detector.py:48
↓ 1 callersMethod_sanitize_parameters
(self, **kwargs)
src/third_part/whisperx/asr.py:135
↓ 1 callersFunction_scandir
(dir_path, suffix, recursive)
src/third_part/facelib/utils/misc.py:125
↓ 1 callersFunctionadain_npy
Adaptive instance normalization for numpy. Args: content_feat (numpy): The input feature. style_feat (numpy): The reference featu
src/third_part/facelib/utils/misc.py:191
↓ 1 callersFunctionadaptive_instance_normalization
Adaptive instance normalization. Adjust the reference features to have the similar color and illuminations as those in the degradate features
src/third_part/codeformer/codeformer_arch.py:28
↓ 1 callersMethodadd_restored_face
(self, restored_face, input_face=None)
src/third_part/facelib/utils/face_restoration_helper.py:362
↓ 1 callersFunctionalign
Align phoneme recognition predictions to known transcription.
src/third_part/whisperx/alignment.py:94
↓ 1 callersFunctionalign_crop_face_landmarks
Align and crop face with landmarks. The output_size and transform_size are based on width. The height is adjusted based on shrink_ratio_h/shr
src/third_part/facelib/utils/face_utils.py:31
↓ 1 callersMethodalign_warp_face
Align and warp faces with face template.
src/third_part/facelib/utils/face_restoration_helper.py:317
↓ 1 callersFunctionalign_wave_head_and_tail
(a, b)
src/third_part/uvr5_pack/lib_v5/spec_utils.py:200
↓ 1 callersFunctionanalyse_frame
(frame)
src/nfsw.py:60
↓ 1 callersFunctionanalyse_video
(video_path : str)
src/nfsw.py:15
↓ 1 callersFunctionassign_word_speakers
(diarize_df, transcript_result, fill_nearest=False)
src/third_part/whisperx/diarize.py:35
↓ 1 callersFunctionautopad
(k, p=None)
src/third_part/facelib/detection/yolov5face/models/common.py:18
↓ 1 callersFunctionbacktrack
(trellis, emission, tokens, blank_id=0)
src/third_part/whisperx/alignment.py:381
↓ 1 callersFunctionbatch_decode
Decode locations from predictions using priors to undo the encoding we did for offset regression at train time. Args: loc (tensor): lo
src/third_part/wav2lip/face_detection/detection/sfd/bbox.py:111
↓ 1 callersFunctionbatch_detect
(net, imgs, device)
src/third_part/wav2lip/face_detection/detection/sfd/detect.py:58
↓ 1 callersFunctionbatched_decode
Decode locations from predictions using priors to undo the encoding we did for offset regression at train time. Args: b_loc (tensor):
src/third_part/facelib/detection/retinaface/retinaface_utils.py:297
↓ 1 callersFunctionbatched_decode_landm
Decode landm from predictions using priors to undo the encoding we did for offset regression at train time. Args: pre (tensor): landm
src/third_part/facelib/detection/retinaface/retinaface_utils.py:320
↓ 1 callersMethodbatched_transform
Arguments: frames: a list of PIL.Image, or torch.Tensor(shape=[n, h, w, c], type=np.float32, BGR format).
src/third_part/facelib/detection/retinaface/retinaface.py:266
↓ 1 callersMethodbgm_map_vocal
(self,bgm_audio:AudioSegment,vocal_audio:AudioSegment)
src/core.py:157
↓ 1 callersFunctionbgr2gray
(img, out_channel=3)
src/third_part/facelib/utils/misc.py:169
↓ 1 callersFunctionchannel_shuffle
(x, groups)
src/third_part/facelib/detection/yolov5face/models/common.py:25
↓ 1 callersFunctioncheck_anchor_order
(m)
src/third_part/facelib/detection/yolov5face/utils/autoanchor.py:4
↓ 1 callersFunctioncheck_img_size
(img_size, s=32)
src/third_part/facelib/detection/yolov5face/utils/general.py:9
↓ 1 callersMethodcleanup
(cls)
src/temp_manager.py:21
↓ 1 callersFunctionclip_coords
(boxes, img_shape)
src/third_part/facelib/detection/yolov5face/utils/general.py:58
↓ 1 callersMethodcombie_audio
(self,vocal_audio:AudioSegment,bgm_audio:AudioSegment,file_path)
src/core.py:153
↓ 1 callersFunctioncopy_attr
(a, b, include=(), exclude=())
src/third_part/facelib/detection/yolov5face/utils/torch_utils.py:34
↓ 1 callersFunctioncount_video_frame_total
(video_path : str)
src/nfsw.py:32
↓ 1 callersFunctioncvt_tform_mat_for_cv2
Function: ---------- Convert Transform Matrix 'trans' into 'cv2_trans' which could be directly used by cv2.warpAffine():
src/third_part/facelib/detection/matlab_cp2tform.py:170
↓ 1 callersMethoddatagen
(self,frames, mels)
src/lipsync.py:165
↓ 1 callersMethoddebug
(self, message)
src/log_helper.py:137
↓ 1 callersFunctiondecode
Decode locations from predictions using priors to undo the encoding we did for offset regression at train time. Args: loc (tensor): lo
src/third_part/facelib/detection/retinaface/retinaface_utils.py:254
↓ 1 callersFunctiondecode
Decode locations from predictions using priors to undo the encoding we did for offset regression at train time. Args: loc (tensor): lo
src/third_part/wav2lip/face_detection/detection/sfd/bbox.py:91
↓ 1 callersFunctiondecode_execution_providers
(execution_providers: List[str])
src/nfsw.py:82
↓ 1 callersFunctiondecode_landm
Decode landm from predictions using priors to undo the encoding we did for offset regression at train time. Args: pre (tensor): landm
src/third_part/facelib/detection/retinaface/retinaface_utils.py:274
↓ 1 callersFunctiondetect_fps
(video_path : str)
src/nfsw.py:41
↓ 1 callersMethoddetect_from_batch
(self, images)
src/third_part/wav2lip/face_detection/detection/sfd/sfd_detector.py:41
↓ 1 callersMethoddetect_from_image
Detects faces in a given image. This function detects the faces present in a provided BGR(usually) image. The input can be either the
src/third_part/wav2lip/face_detection/detection/core.py:32
↓ 1 callersMethoddetermine_advanced_split_points
(self, segment, next_segment_start_time=None)
src/third_part/whisperx/SubtitlesProcessor.py:100
↓ 1 callersFunctionencode
Encode the variances from the priorbox layers into the ground truth boxes we have matched (based on jaccard overlap) with the prior boxes. Arg
src/third_part/facelib/detection/retinaface/retinaface_utils.py:200
↓ 1 callersFunctionencode_execution_providers
(execution_providers : List[str])
src/nfsw.py:78
↓ 1 callersFunctionencode_landm
Encode the variances from the priorbox layers into the ground truth boxes we have matched (based on jaccard overlap) with the prior boxes. Arg
src/third_part/facelib/detection/retinaface/retinaface_utils.py:224
↓ 1 callersFunctionensembling
(a, specs)
src/third_part/uvr5_pack/lib_v5/spec_utils.py:489
↓ 1 callersFunctionfindSimilarity
(uv, xy, options=None)
src/third_part/facelib/detection/matlab_cp2tform.py:94
↓ 1 callersFunctionfind_numeral_symbol_tokens
(tokenizer)
src/third_part/whisperx/asr.py:16
↓ 1 callersFunctionformat_timestamp
( seconds: float, always_include_hours: bool = False, decimal_marker: str = "." )
src/third_part/whisperx/utils.py:170
↓ 1 callersMethodforward
(self, x, aggressiveness=None)
src/third_part/uvr5_pack/lib_v5/nets_33966KB.py:60
↓ 1 callersMethodforward
(self, x, aggressiveness=None)
src/third_part/uvr5_pack/lib_v5/nets_537227KB.py:61
↓ 1 callersMethodforward
(self, x, aggressiveness=None)
src/third_part/uvr5_pack/lib_v5/nets_537238KB.py:61
↓ 1 callersMethodforward
(self, x, aggressiveness=None)
src/third_part/uvr5_pack/lib_v5/nets_123812KB.py:60
↓ 1 callersMethodforward
(self, x, aggressiveness=None)
src/third_part/uvr5_pack/lib_v5/nets_61968KB.py:60
↓ 1 callersMethodforward
(self, x, aggressiveness=None)
src/third_part/uvr5_pack/lib_v5/nets.py:61
↓ 1 callersMethodforward
(self, x, aggressiveness=None)
src/third_part/uvr5_pack/lib_v5/nets_123821KB.py:60
↓ 1 callersMethodforward
(self)
src/third_part/facelib/detection/retinaface/retinaface_utils.py:19
↓ 1 callersMethodforward
(self, x)
src/third_part/facelib/detection/yolov5face/models/yolo.py:120
↓ 1 callersMethodforward_once
(self, x)
src/third_part/facelib/detection/yolov5face/models/yolo.py:123
↓ 1 callersFunctionfuse_conv_and_bn
(conv, bn)
src/third_part/facelib/detection/yolov5face/utils/torch_utils.py:5
↓ 1 callersFunctiongenerate_config
(network_name)
src/third_part/facelib/detection/retinaface/retinaface.py:18
↓ 1 callersMethodgenerate_segment_batched
(self, features: np.ndarray, tokenizer: faster_whisper.tokenizer.Tokenizer, options: faster_whisper.transcribe
src/third_part/whisperx/asr.py:31
↓ 1 callersMethodgenerate_subtitles_from_split_points
(self, segment, split_points, next_start_time=None)
src/third_part/whisperx/SubtitlesProcessor.py:142
↓ 1 callersFunctionget_affine_transform_matrix
Function: ---------- get affine transform matrix 'tfm' from src_pts to dst_pts Parameters: ---------- @src_pts: Kx2 n
src/third_part/facelib/detection/align_trans.py:112
↓ 1 callersFunctionget_center_face
(det_faces, h=0, w=0, center=None)
src/third_part/facelib/utils/face_restoration_helper.py:39
← previousnext →101–200 of 601, ranked by callers