MCPcopy Create free account

hub / github.com/bytedance/DreamID-V / functions

Functions524 in github.com/bytedance/DreamID-V

↓ 2 callersFunctionsmart_nframes
calculate the number of frames for video used for model inputs. Args: ele (dict): a dict contains the configuration of video.
dreamidv_wan/utils/qwen_vl_utils.py:133
↓ 2 callersMethodstep
Predict the sample from the previous timestep by reversing the SDE. This function propagates the sample with the multistep UniPC.
dreamidv_wan_faster/utils/fm_solvers_unipc.py:655
↓ 2 callersMethodstep
Predict the sample from the previous timestep by reversing the SDE. This function propagates the sample with the multistep UniPC.
dreamidv_wan/utils/fm_solvers_unipc.py:655
↓ 2 callersMethodunpatchify
r""" Reconstruct video tensors from patch embeddings. Args: x (List[Tensor]): List of patchified features
dreamidv_wan_faster/modules/model.py:589
↓ 2 callersMethodunpatchify
r""" Reconstruct video tensors from patch embeddings. Args: x (List[Tensor]): List of patchified features
dreamidv_wan/modules/model.py:626
↓ 2 callersFunctionwe
(t,r,e)
assets/bootstrap.min.js:6
↓ 2 callersFunctionwhitespace_clean
(text)
dreamidv_wan_faster/modules/tokenizers.py:18
↓ 2 callersFunctionwhitespace_clean
(text)
dreamidv_wan/modules/tokenizers.py:18
↓ 1 callersFunctionHWC3
(x)
pose/dwpose/wholebody.py:9
↓ 1 callersMethod__init__
( self, in_channels: int, patch_size: Union[int, Tuple[int, int, int]], dim: i
dreamidv_wan/modules/projector.py:47
↓ 1 callersMethod__init__
(self, cfg, device=None)
pose/extract.py:150
↓ 1 callersMethod_clean
(self, text)
dreamidv_wan_faster/modules/tokenizers.py:75
↓ 1 callersMethod_clean
(self, text)
dreamidv_wan/modules/tokenizers.py:75
↓ 1 callersFunction_clip
(pretrained=False, pretrained_name=None, model_cls=XLMRobertaCLIP, return_transf
dreamidv_wan_faster/modules/clip.py:434
↓ 1 callersFunction_clip
(pretrained=False, pretrained_name=None, model_cls=XLMRobertaCLIP, return_transf
dreamidv_wan/modules/clip.py:434
↓ 1 callersFunction_fix_aspect_ratio
Extend the scale to match the given aspect ratio. Args: scale (np.ndarray): The image scale (w, h) in shape (2, ) aspect_ratio (f
pose/dwpose/onnxpose.py:151
↓ 1 callersFunction_init_logging
(rank)
generate.py:208
↓ 1 callersFunction_init_logging
(rank)
generate_dreamidv.py:275
↓ 1 callersFunction_init_logging
(rank)
generate_dreamidv_dwpose.py:204
↓ 1 callersFunction_init_logging
(rank)
generate_dreamidv_faster.py:181
↓ 1 callersMethod_init_step_index
Initialize the step_index counter for the scheduler.
dreamidv_wan_faster/utils/fm_solvers.py:693
↓ 1 callersMethod_init_step_index
Initialize the step_index counter for the scheduler.
dreamidv_wan_faster/utils/fm_solvers_unipc.py:643
↓ 1 callersMethod_init_step_index
Initialize the step_index counter for the scheduler.
dreamidv_wan/utils/fm_solvers.py:693
↓ 1 callersMethod_init_step_index
Initialize the step_index counter for the scheduler.
dreamidv_wan/utils/fm_solvers_unipc.py:643
↓ 1 callersMethod_norm
(self, x)
dreamidv_wan_faster/modules/model.py:86
↓ 1 callersMethod_norm
(self, x)
dreamidv_wan/modules/model.py:86
↓ 1 callersFunction_parse_args
()
generate.py:60
↓ 1 callersFunction_parse_args
()
generate_dreamidv.py:136
↓ 1 callersFunction_parse_args
()
generate_dreamidv_dwpose.py:65
↓ 1 callersFunction_parse_args
()
generate_dreamidv_faster.py:64
↓ 1 callersMethod_relative_position_bucket
(self, rel_pos)
dreamidv_wan_faster/modules/t5.py:245
↓ 1 callersMethod_relative_position_bucket
(self, rel_pos)
dreamidv_wan/modules/t5.py:245
↓ 1 callersFunction_rotate_point
Rotate a point by an angle. Args: pt (np.ndarray): 2D point coordinates (x, y) in shape (2, ) angle_rad (float): rotation angle i
pose/dwpose/onnxpose.py:169
↓ 1 callersMethod_scale_iris
(self, lmks, verts)
express_adaption/media_pipe/__init__.py:111
↓ 1 callersMethod_scale_iris
(self, lmks, verts)
express_adaption/media_pipe/__init__.py:197
↓ 1 callersFunction_t5
(name, encoder_only=False, decoder_only=False, return_tokenizer=False, tokeniz
dreamidv_wan_faster/modules/t5.py:415
↓ 1 callersFunction_t5
(name, encoder_only=False, decoder_only=False, return_tokenizer=False, tokeniz
dreamidv_wan/modules/t5.py:415
↓ 1 callersFunction_validate_args
(args)
generate.py:37
↓ 1 callersFunction_validate_args
(args)
generate_dreamidv.py:113
↓ 1 callersFunction_validate_args
(args)
generate_dreamidv_dwpose.py:42
↓ 1 callersFunction_validate_args
(args)
generate_dreamidv_faster.py:41
↓ 1 callersFunction_video_vae
Autoencoder3d adapted from Stable Diffusion 1.x, 2.x and XL.
dreamidv_wan_faster/modules/vae.py:592
↓ 1 callersFunction_video_vae
Autoencoder3d adapted from Stable Diffusion 1.x, 2.x and XL.
dreamidv_wan/modules/vae.py:592
↓ 1 callersFunctionbbox_xyxy2cs
Transform the bbox format from (x,y,w,h) into (center, scale) Args: bbox (ndarray): Bounding box(es) in shape (4,) or (n, 4), formatted
pose/dwpose/onnxpose.py:117
↓ 1 callersFunctionc
(t,e)
assets/bootstrap.min.js:6
↓ 1 callersFunctioncanonicalize
(text, keep_punctuation_exact_string=None)
dreamidv_wan_faster/modules/tokenizers.py:24
↓ 1 callersFunctioncanonicalize
(text, keep_punctuation_exact_string=None)
dreamidv_wan/modules/tokenizers.py:24
↓ 1 callersFunctionclip_xlm_roberta_vit_h_14
( pretrained=False, pretrained_name='open-clip-xlm-roberta-large-vit-huge-14', **kwarg
dreamidv_wan_faster/modules/clip.py:471
↓ 1 callersFunctionclip_xlm_roberta_vit_h_14
( pretrained=False, pretrained_name='open-clip-xlm-roberta-large-vit-huge-14', **kwarg
dreamidv_wan/modules/clip.py:471
↓ 1 callersMethodconvert_model_output
Convert the model output to the corresponding type the DPMSolver/DPMSolver++ algorithm needs. DPM-Solver is designed to discretize an
dreamidv_wan_faster/utils/fm_solvers.py:341
↓ 1 callersMethodconvert_model_output
r""" Convert the model output to the corresponding type the UniPC algorithm needs. Args: model_output (`torch.Tensor`):
dreamidv_wan_faster/utils/fm_solvers_unipc.py:279
↓ 1 callersMethodconvert_model_output
Convert the model output to the corresponding type the DPMSolver/DPMSolver++ algorithm needs. DPM-Solver is designed to discretize an
dreamidv_wan/utils/fm_solvers.py:341
↓ 1 callersMethodconvert_model_output
r""" Convert the model output to the corresponding type the UniPC algorithm needs. Args: model_output (`torch.Tensor`):
dreamidv_wan/utils/fm_solvers_unipc.py:279
↓ 1 callersFunctionconvert_to_numpy
(image)
pose/extract.py:23
↓ 1 callersMethoddecide_system_prompt
(self, tar_lang="ch")
dreamidv_wan_faster/utils/prompt_extend.py:131
↓ 1 callersMethoddecide_system_prompt
(self, tar_lang="ch")
dreamidv_wan/utils/prompt_extend.py:131
↓ 1 callersFunctiondecode
Modulate simcc distribution with Gaussian. Args: simcc_x (np.ndarray[K, Wx]): model predicted simcc in x. simcc_y (np.ndarray[K,
pose/dwpose/onnxpose.py:335
↓ 1 callersMethoddecode
(self, z, scale)
dreamidv_wan_faster/modules/vae.py:544
↓ 1 callersMethoddecode
(self, z, scale)
dreamidv_wan/modules/vae.py:544
↓ 1 callersFunctiondemo_postprocess
(outputs, img_size, p6=False)
pose/dwpose/onnxdet.py:60
↓ 1 callersMethoddpm_solver_first_order_update
One step for the first-order DPMSolver (equivalent to DDIM). Args: model_output (`torch.Tensor`): The dir
dreamidv_wan_faster/utils/fm_solvers.py:415
↓ 1 callersMethoddpm_solver_first_order_update
One step for the first-order DPMSolver (equivalent to DDIM). Args: model_output (`torch.Tensor`): The dir
dreamidv_wan/utils/fm_solvers.py:415
↓ 1 callersFunctiondraw_face_mask_from_points
(faces, H, W)
pose/extract.py:120
↓ 1 callersMethoddraw_iris_points
(self, image, point_list, halfwidth=2, normed=False)
express_adaption/media_pipe/draw_util.py:136
↓ 1 callersFunctiondraw_pose
(pose, H, W, use_hand=False, use_body=False, use_face=False)
pose/extract.py:103
↓ 1 callersMethodextend_with_img
(self, prompt, system_prompt, image=No
dreamidv_wan_faster/utils/prompt_extend.py:119
↓ 1 callersMethodextend_with_img
(self, prompt, system_prompt, image=No
dreamidv_wan/utils/prompt_extend.py:119
↓ 1 callersFunctionextract_vision_info
( conversations: list[dict] | list[list[dict]])
dreamidv_wan_faster/utils/qwen_vl_utils.py:328
↓ 1 callersFunctionextract_vision_info
( conversations: list[dict] | list[list[dict]])
dreamidv_wan/utils/qwen_vl_utils.py:328
↓ 1 callersFunctionfetch_video
( ele: dict, image_factor: int = IMAGE_FACTOR)
dreamidv_wan_faster/utils/qwen_vl_utils.py:274
↓ 1 callersFunctionfetch_video
( ele: dict, image_factor: int = IMAGE_FACTOR)
dreamidv_wan/utils/qwen_vl_utils.py:274
↓ 1 callersMethodforward
r""" Args: x(Tensor): Shape [B, L1, C] e(Tensor): Shape [B, C]
dreamidv_wan_faster/modules/model.py:330
↓ 1 callersMethodforward
r""" Args: x(Tensor): Shape [B, L1, C] e(Tensor): Shape [B, C]
dreamidv_wan/modules/model.py:347
↓ 1 callersMethodforward
(self, image)
pose/extract.py:173
↓ 1 callersMethodforward_video
(self, frames)
pose/extract.py:237
↓ 1 callersFunctiongenerate
(args)
generate.py:223
↓ 1 callersFunctiongenerate
(args)
generate_dreamidv.py:290
↓ 1 callersFunctiongenerate
(args)
generate_dreamidv_dwpose.py:219
↓ 1 callersFunctiongenerate
(args)
generate_dreamidv_faster.py:196
↓ 1 callersFunctiongenerate_pose_and_mask_videos
(ref_video_path, ref_image_path)
generate_dreamidv.py:39
↓ 1 callersFunctionget_simcc_maximum
Get maximum response location and value from simcc representations. Note: instance number: N num_keypoints: K heatmap hei
pose/dwpose/onnxpose.py:290
↓ 1 callersFunctionget_video_reader_backend
()
dreamidv_wan_faster/utils/qwen_vl_utils.py:261
↓ 1 callersFunctionget_video_reader_backend
()
dreamidv_wan/utils/qwen_vl_utils.py:261
↓ 1 callersFunctionget_warp_matrix
Calculate the affine transformation matrix that can warp the bbox area in the input image to the output size. Args: center (np.ndarra
pose/dwpose/onnxpose.py:203
↓ 1 callersFunctioninference
Inference RTMPose model. Args: sess (ort.InferenceSession): ONNXRuntime session. img (np.ndarray): Input image in shape. Ret
pose/dwpose/onnxpose.py:54
↓ 1 callersFunctioninference_detector
(session, oriImg)
pose/dwpose/onnxdet.py:100
↓ 1 callersFunctioninference_pose
(session, out_bbox, oriImg)
pose/dwpose/onnxpose.py:355
↓ 1 callersMethodinit_weights
r""" Initialize model parameters using Xavier initialization.
dreamidv_wan_faster/modules/model.py:614
↓ 1 callersMethodinit_weights
r""" Initialize model parameters using Xavier initialization.
dreamidv_wan/modules/model.py:651
↓ 1 callersFunctionis_decord_available
()
dreamidv_wan_faster/utils/qwen_vl_utils.py:215
↓ 1 callersFunctionis_decord_available
()
dreamidv_wan/utils/qwen_vl_utils.py:215
↓ 1 callersMethodload_image_latent_ref_ip_video
(self,paths: str, size, device, frame_num)
dreamidv_wan_faster/wan_swapface.py:142
↓ 1 callersMethodload_image_latent_ref_ip_video
(self,paths: str, size, device, frame_num)
dreamidv_wan/wan_swapface.py:148
↓ 1 callersFunctionmatrix_to_euler_and_translation
(matrix)
express_adaption/media_pipe/pose_util.py:84
↓ 1 callersFunctionmulticlass_nms
Multiclass NMS implemented in Numpy. Class-aware version.
pose/dwpose/onnxdet.py:37
↓ 1 callersMethodmultistep_dpm_solver_second_order_update
One step for the second-order multistep DPMSolver. Args: model_output_list (`List[torch.Tensor]`): The di
dreamidv_wan_faster/utils/fm_solvers.py:486
↓ 1 callersMethodmultistep_dpm_solver_second_order_update
One step for the second-order multistep DPMSolver. Args: model_output_list (`List[torch.Tensor]`): The di
dreamidv_wan/utils/fm_solvers.py:486
↓ 1 callersMethodmultistep_dpm_solver_third_order_update
One step for the third-order multistep DPMSolver. Args: model_output_list (`List[torch.Tensor]`): The dir
dreamidv_wan_faster/utils/fm_solvers.py:596
↓ 1 callersMethodmultistep_dpm_solver_third_order_update
One step for the third-order multistep DPMSolver. Args: model_output_list (`List[torch.Tensor]`): The dir
dreamidv_wan/utils/fm_solvers.py:596
↓ 1 callersMethodmultistep_uni_c_bh_update
One step for the UniC (B(h) version). Args: this_model_output (`torch.Tensor`): The model outputs at `x_
dreamidv_wan_faster/utils/fm_solvers_unipc.py:486
← previousnext →101–200 of 524, ranked by callers