MCPcopy Create free account

hub / github.com/ailia-ai/ailia-models / functions

Functions6,356 in github.com/ailia-ai/ailia-models

↓ 10 callersMethodconvert_tokens_to_ids
Converts a sequence of tokens into ids using the vocab.
natural_language_processing/presumm/tokenizer.py:86
↓ 10 callersMethodextent
Extent The extent of a timeline is the segment of minimum duration that contains every segments of the timeline. It is unique, by def
audio_processing/pyannote-audio/pyannote_audio_utils/core/timeline.py:763
↓ 10 callersFunctionlog_softmax
(x, axis=-1)
audio_processing/whisper/decode_utils.py:8
↓ 10 callersFunctionlogsumexp
(ns, axis=-1)
audio_processing/whisper/decode_utils.py:13
↓ 10 callersFunctionresize
resize to (W,H)
face_swapping/deepfacelive/deepfacelive.py:594
↓ 10 callersFunctionrun_on_batch
(inputs, net, face_pool_net, iters, avg_image, toonify=None, onnx=False)
generative_adversarial_networks/restyle-encoder/restyle-encoder.py:110
↓ 10 callersMethodsupport
Timeline support The support of a timeline is the timeline with the minimum number of segments with exactly the same time span as the
audio_processing/pyannote-audio/pyannote_audio_utils/core/timeline.py:844
↓ 10 callersMethodtokenize
(self, word)
natural_language_processing/g2p_en/g2p_en.py:108
↓ 9 callersFunctionC_ADDTO
(res, a)
audio_processing/rnnoise/kiss_fft.py:37
↓ 9 callersFunctionC_MUL
(m, a, b)
audio_processing/rnnoise/kiss_fft.py:42
↓ 9 callersMethodconvert_tokens_to_ids
( self, tokens: Union[bytes, str, List[Union[bytes, str]]] )
audio_language_model/qwen_audio/tokenizer/tokenization_qwen.py:252
↓ 9 callersFunctionletterbox_convert
Adjust the size of the frame from the webcam to the ailia input shape. Parameters ---------- frame: numpy array det_shape: tuple
util/detector_utils.py:41
↓ 9 callersFunctionto_image
converts to PIL image
image_manipulation/deep_white_balance/deep_white_balance_utils/utils.py:83
↓ 8 callersFunctionclip_value
(value, high, low=0)
face_detection/dbface/dbface_utils.py:138
↓ 8 callersMethodclosest_frame
Closest frame to timestamp. Parameters ---------- t : float Timestamp, in seconds. Returns -----
audio_processing/pyannote-audio/pyannote_audio_utils/core/segment.py:472
↓ 8 callersFunctioncompute_blazeface
(detector, frame, anchor_path='anchors.npy', back=False, min_score_thresh = DEFAULT_MIN_SCORE_THRESH)
face_detection/blazeface/blazeface_utils.py:323
↓ 8 callersMethoddecode
( self, attention_mask: np.ndarray, decoder_input_ids: np.ndarray,
natural_language_processing/fugumt-ja-en/fugumt-ja-en.py:100
↓ 8 callersFunctionextrapolate
( global_mesh, info_on_pix, image, depth, other_edge_with_id,
image_inpainting/3d-photo-inpainting/trid_photo_inpainting_utils.py:1319
↓ 8 callersMethodget_end_time
(self)
object_detection_3d/3d-object-detection.pytorch/detection_utils.py:27
↓ 8 callersFunctiongroup_edges
(1) add_new_node(G, node) : add "node" to graph "G" (2) add_new_edge(G, node_a, node_b) : add edge "node_a--node_b" to graph "G" (3) exce
image_inpainting/3d-photo-inpainting/trid_photo_inpainting_utils.py:2494
↓ 8 callersFunctionmap_with_specifications
Compute the function using arguments from each of the iterables Returns a tuple if provided `specifications` is a tuple, otherwise returns th
audio_processing/pyannote-audio/pyannote_audio_utils/audio/utils/multi_task.py:29
↓ 8 callersMethodmatch
Parameters ---------- rlabel : Reference label hlabel : Hypothesis label Returns
audio_processing/pyannote-audio/pyannote_audio_utils/metrics/matcher.py:53
↓ 8 callersFunctionnormalize
!!! 所有的处理都需要正确的输入 !!! 可以添加新的处理,只需要添加正则表达式和对应的处理函数即可
audio_processing/gpt-sovits-v3/text/en_normalization/expend.py:245
↓ 8 callersFunctionpreprocess
(img, size, crop_size, mask=False, keep_aspect = True)
anomaly_detection/padim/padim_utils.py:60
↓ 8 callersFunctionupdate_info
(mapping_dict, info_on_pix, *meshes)
image_inpainting/3d-photo-inpainting/trid_photo_inpainting_utils.py:1945
↓ 7 callersFunctionC_ADD
(res, a, b)
audio_processing/rnnoise/kiss_fft.py:27
↓ 7 callersMethodOnVoiceDetected
(self, valid_frame: int)
audio_processing/sensevoice/funasr_ailia/utils/e2e_vad.py:407
↓ 7 callersMethodOnVoiceEnd
(self, end_frame: int, fake_result: bool, is_last_frame: bool)
audio_processing/sensevoice/funasr_ailia/utils/e2e_vad.py:425
↓ 7 callersMethod_area
(bbox)
object_detection_3d/3d-object-detection.pytorch/detection_utils.py:273
↓ 7 callersMethodalpha_prod
(self, t)
diffusion/depth_anything_controlnet/depth_anything_controlnet.py:119
↓ 7 callersMethodco_iter
Iterate over pairs of intersecting segments >>> timeline1 = Timeline([Segment(0, 2), Segment(1, 2), Segment(3, 4)]) >>> timeline2 = T
audio_processing/pyannote-audio/pyannote_audio_utils/core/timeline.py:380
↓ 7 callersFunctionconvert2cpu
(gpu_matrix)
object_detection/yolov2-tiny/yolo_utils.py:104
↓ 7 callersFunctioncrop_blazeface
(obj, margin, frame)
face_detection/blazeface/blazeface_utils.py:328
↓ 7 callersMethodfix_alpha
(angle: float)
object_tracking/qd-3dt/tracker_model.py:61
↓ 7 callersFunctioninterpolate
(low_res_multimasks, image_size)
image_segmentation/segment-anything-2/sam2_video_predictor.py:92
↓ 7 callersMethodis_confirmed
Returns True if this track is confirmed.
object_tracking/deepsort/sort/track.py:157
↓ 7 callersFunctionk_resize
(x, k)
image_manipulation/style2paints/style2paints_utils.py:30
↓ 7 callersMethodpostprocess
(self, preds, origin_image=None, ratio=1.0)
object_detection/damo_yolo/damo_yolo.py:132
↓ 7 callersMethodpostprocess
(self, preds, img, orig_imgs,conf,iou)
image_segmentation/fast_sam/predict.py:55
↓ 7 callersMethodrename_labels
Rename labels Parameters ---------- mapping : dict, optional {old_name: new_name} mapping dictionary. gen
audio_processing/pyannote-audio/pyannote_audio_utils/core/annotation.py:1227
↓ 7 callersFunctionsoftmax
(x, axis=1)
image_segmentation/paddleseg/paddleseg.py:111
↓ 7 callersMethodunion
Create new timeline made of union of segments Parameters ---------- timeline : Timeline Timeline whose segments a
audio_processing/pyannote-audio/pyannote_audio_utils/core/timeline.py:359
↓ 7 callersFunctionurlretrieve
(remote_path, weight_path, progress_print)
util/model_utils.py:37
↓ 6 callersMethod__init__
(self, value: Any)
audio_processing/pyannote-audio/pyannote_audio_utils/pipeline/parameter.py:173
↓ 6 callersFunction_numeric_feature_by_regex
(regex, s)
audio_processing/gpt-sovits-v2/text/japanese.py:196
↓ 6 callersFunction_numeric_feature_by_regex
(regex, s)
audio_processing/bert-vits2/vits2utils.py:618
↓ 6 callersFunction_numeric_feature_by_regex
(regex, s)
audio_processing/gpt-sovits-v3/text/japanese.py:198
↓ 6 callersFunction_numeric_feature_by_regex
(regex, s)
audio_processing/gpt-sovits/text/japanese.py:176
↓ 6 callersMethodadd_field
(self, field, field_data)
object_detection/damo_yolo/damo_yolo_util.py:184
↓ 6 callersMethodapply
(self, logits, tokens)
audio_processing/whisper/decode_utils.py:177
↓ 6 callersFunctionapply_interfacegan
(latent, direction, factor=1, factor_range=None)
generative_adversarial_networks/encoder4editing/encoder4editing.py:162
↓ 6 callersMethodconstrain_to_multiple_of
(self, x, min_val=0, max_val=None)
depth_estimation/depth_anything/depth_anything_util/transform.py:94
↓ 6 callersMethodconstrain_to_multiple_of
(self, x, min_val=0, max_val=None)
image_segmentation/dense_prediction_transformers/dpt/transforms.py:93
↓ 6 callersMethoddecode
(self, token_ids: List[int], **kwargs)
audio_processing/whisper/tokenizer.py:45
↓ 6 callersFunctiondilate_valid_size
(isize_dict, imap, dilate=[0, 0])
image_inpainting/3d-photo-inpainting/trid_photo_inpainting_utils.py:1689
↓ 6 callersMethodenhance
(self, img, outscale=3.5)
super_resolution/real-esrgan/real_esrgan_utils.py:11
↓ 6 callersFunctionget_color
(c, x, max_val)
object_detection/yolov2-tiny/yolo_utils.py:195
↓ 6 callersFunctionget_detector_result
(detector, h, w)
object_tracking/deepsort/deepsort_utils.py:112
↓ 6 callersFunctionget_image_resize
()
anomaly_detection/padim/padim_gui.py:190
↓ 6 callersFunctionget_keep_aspect
()
anomaly_detection/padim/padim_gui.py:186
↓ 6 callersMethodget_labels
Query labels by segment Parameters ---------- segment : Segment Query unique : bool, optional
audio_processing/pyannote-audio/pyannote_audio_utils/core/annotation.py:916
↓ 6 callersFunctionget_numeric_feature
(regex, s)
audio_processing/tacotron2/tacotron2.py:86
↓ 6 callersFunctionget_seg_img
docstring
image_segmentation/yet-another-anime-segmenter/yet-another-anime-segmenter.py:58
↓ 6 callersFunctionget_valid_size
(imap)
image_inpainting/3d-photo-inpainting/trid_photo_inpainting_utils.py:1679
↓ 6 callersFunctioninfer
(net, params, train_outputs, img, crop_size)
anomaly_detection/padim/padim_utils.py:280
↓ 6 callersFunctioninit
Initialize all ailia models
action_recognition/action_clip/action_clip.py:96
↓ 6 callersFunctionload
( path: str, grayscale: bool = False, resize: int = None, fn: str = "max", interp: str = "
image_manipulation/lightglue/lightglue_utils.py:115
↓ 6 callersMethodmatch
Match incoming detection results with embedding and 3D infos Args: bboxes: (N, 5), [x1, y1, x2, y2, conf] labels: (N,
object_tracking/qd-3dt/motion_tracker.py:212
↓ 6 callersFunctionnorm
(pred)
background_removal/u2net/u2net_utils.py:47
↓ 6 callersFunctionnormalize
Normalize points based on weights. Args: pts (tensor): points weights (tensor): estimated weights Returns:
image_manipulation/dfe/dfe_utils.py:21
↓ 6 callersFunctionpredict
(wav, net, net_classifier=None)
audio_processing/auto_speech/auto_speech.py:156
↓ 6 callersFunctionprep_input
(image, width, height, mean=None, std=None)
face_recognition/mivolo/mivolo.py:100
↓ 6 callersMethodreset_states
(self, batch_size=1)
audio_processing/silero-vad/utils_vad.py:35
↓ 6 callersFunctionreshape_z
ensure z is a (dim_z, 1) shaped vector
pose_estimation_3d/gast/libs/filterpy/common/helpers.py:303
↓ 6 callersMethodrotate
(self, axis=[1, 0, 0], angle=0)
image_inpainting/3d-photo-inpainting/trid_photo_inpainting_utils.py:4348
↓ 6 callersMethodselect_state
Select state with relative ids in the main beam search. Args: state: Decoder state for prefix tokens i (int): Index
audio_processing/reazon_speech/seq_rnn_lm.py:13
↓ 6 callersMethodupdate
(self, *args, **kwargs)
diffusion/anything_v3/df/utils/outputs.py:67
↓ 6 callersMethodupdate
Update a matched track :type new_track: STrack :type frame_id: int :type update_feature: bool :return:
face_recognition/mivolo/tracker/byte_tracker.py:66
↓ 6 callersFunctionupdate_status
(2) clear_node_feat(G, *fts) : Clear all the node feature on graph G. (6) get_cross_nes(x, y) : Get the four cross neighbors of pixel(x, y).
image_inpainting/3d-photo-inpainting/trid_photo_inpainting_utils.py:2444
↓ 6 callersFunctionwarpCoord
(Minv, pt)
text_recognition/easyocr/craft_utils.py:14
↓ 6 callersFunctionwarp_coord
(Minv, pt)
text_detection/craft_pytorch/craft_pytorch_utils.py:121
↓ 6 callersFunctionxywh_to_xyxy
(bbox_xywh, org_h, org_w)
object_tracking/deepsort/deepsort_utils.py:78
↓ 5 callersFunctionadjust_frame_size
Adjust the size of the frame from the webcam to the ailia input shape. Parameters ---------- frame: numpy array height: int
util/webcamera_utils.py:22
↓ 5 callersFunctionboxes_cat
(boxlist)
object_tracking/siam-mot/this_utils.py:145
↓ 5 callersFunctioncheck
(path)
generative_adversarial_networks/restyle-encoder/restyle-encoder.py:105
↓ 5 callersFunctioncheck_file_existance
(filename)
util/arg_utils.py:32
↓ 5 callersMethodco_iter
Iterate over pairs of intersecting tracks Parameters ---------- other : Annotation Second annotation Ret
audio_processing/pyannote-audio/pyannote_audio_utils/core/annotation.py:1366
↓ 5 callersFunctioncrop_maps_by_size
(size, *imaps)
image_inpainting/3d-photo-inpainting/trid_photo_inpainting_utils.py:2147
↓ 5 callersMethoddecode
(self, tokens)
image_segmentation/group_vit/tokenizer.py:158
↓ 5 callersMethodencode
(self, text)
image_segmentation/group_vit/tokenizer.py:150
↓ 5 callersFunctionfit_in
fit image in w,h keeping aspect ratio TW,TH int/None target width,height pad_to_target bool pad remain area
face_swapping/deepfacelive/deepfacelive.py:543
↓ 5 callersFunctiongather_feat
(feat, ind)
object_detection/centernet/centernet_utils.py:92
↓ 5 callersFunctionget_kp_info
(models, x)
generative_adversarial_networks/live_portrait/live_portrait.py:678
↓ 5 callersFunctionget_one_face
(vision_frame, nets, min_score=0.5, position=0)
face_swapping/facefusion/facefusion_utils/face_analyser.py:157
↓ 5 callersFunctionget_preds
(hm, return_conf=False)
pose_estimation_3d/pose-hg-3d/lib_pose_hg_3d/utils/eval.py:3
↓ 5 callersFunctiongo_tail
(net_tail, x)
image_manipulation/style2paints/style2paints.py:156
↓ 5 callersFunctionhsv_to_rgb
(h, s, v)
util/detector_utils.py:35
↓ 5 callersMethodimgputText
(self, img, txt, pos, lt, tf)
road_detection/cdnet/post_utils.py:82
↓ 5 callersMethodinitialize_model
(self, model, camera_config=DEFAULT_CONFIG, max_dist=10)
depth_estimation/crestereo/crestereo_util.py:24
↓ 5 callersFunctionintv
(*value)
face_detection/dbface/dbface_utils.py:106
← previousnext →101–200 of 6,356, ranked by callers