MCPcopy Create free account

hub / github.com/MyNiuuu/AniCrafter / functions

Functions5,947 in github.com/MyNiuuu/AniCrafter

↓ 2 callersMethod_report_mpjpe
Cauculate mean per joint position error (MPJPE) or its variants P-MPJPE. Args: keypoint_results (list): Keypoint predicti
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/body3d/body3d_mpi_inf_3dhp_dataset.py:286
↓ 2 callersFunction_rescan_model_configs
()
diffsynth/extensions/ImageQualityMetric/open_clip/factory.py:33
↓ 2 callersMethod_reset_dynamic
(self)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/xdwendwen_node.py:134
↓ 2 callersFunction_resize_concate
Resize and concatenate the feature_maps. Args: feature_maps (list[Tensor]): Feature maps. align_corners (bool): Align corners whe
engine/pose_estimation/third-party/ViTPose/mmpose/core/evaluation/bottom_up_eval.py:125
↓ 2 callersMethod_send_output_to_buffers
Send output of the process method to registered output buffers. Args: output_msg (Message): output message force (boo
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/node.py:240
↓ 2 callersFunction_totensor
(img, bgr2rgb, float32)
ProPainter/utils/img_util.py:22
↓ 2 callersMethod_transform_inputs
Transform inputs for decoder. Args: inputs (list[Tensor] | Tensor): multi-level img features. Returns: Tenso
engine/pose_estimation/third-party/ViTPose/mmpose/models/necks/posewarper_neck.py:238
↓ 2 callersMethod_udp_generate_target
Generate the target heatmap via 'UDP' approach. Paper ref: Huang et al. The Devil is in the Details: Delving into Unbiased Data Processing
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/top_down_transform.py:431
↓ 2 callersMethod_world2cam
Transform the joints from their world coordinates to their camera coordinates. Note: - N: number of joints Args:
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/hand/interhand2d_dataset.py:123
↓ 2 callersMethodactivation_factory
(options: dict)
LHM/models/rendering/utils/renderer.py:102
↓ 2 callersMethodalign_res_stack_to_original_blocks
(self, res_stack, num_blocks, hidden_states)
diffsynth/models/flux_controlnet.py:51
↓ 2 callersMethodalign_v_to_vt
remap v/f and vn/fn to vt/ft. Args: vmapping (np.ndarray, optional): the mapping relationship from f to ft. Defaults to None.
LHM/models/rendering/mesh_utils.py:671
↓ 2 callersFunctionall_zeros
Check if the weight(and bias) is all zero.
engine/pose_estimation/third-party/ViTPose/tests/test_backbones/test_litehrnet.py:18
↓ 2 callersFunctionanchor
(name)
engine/pose_estimation/third-party/ViTPose/docs/zh_cn/stats.py:12
↓ 2 callersFunctionanchor
(name)
engine/pose_estimation/third-party/ViTPose/docs/en/stats.py:12
↓ 2 callersMethodanimate_gs_model
query_points: [N, 3]
LHM/models/rendering/gs_renderer.py:961
↓ 2 callersMethodapply_rope1d
(self, tokens, pos1d, cos, sin)
diffsynth/models/stepvideo_dit.py:389
↓ 2 callersMethodapply_rope3d
(self, x, fhw_positions, rope_ch_split, parallel=True)
diffsynth/models/stepvideo_dit.py:473
↓ 2 callersMethodapply_rotary_emb
(self, xq, xk, freqs_cis)
diffsynth/models/hunyuan_dit.py:25
↓ 2 callersMethodapply_rotary_emb
(self, x, freqs_cis)
diffsynth/models/cog_dit.py:61
↓ 2 callersFunctionapply_rotary_pos_emb
(x: torch.Tensor, rope_cache: torch.Tensor)
diffsynth/models/kolors_text_encoder.py:419
↓ 2 callersMethodapproximate_RDP
(self, boundaries, epsilon=1.0)
engine/BiRefNet/evaluation/metrics.py:649
↓ 2 callersMethodattention
( self, q_x: torch.Tensor, k_x: Optional[torch.Tensor] = None,
diffsynth/extensions/ImageQualityMetric/open_clip/transformer.py:217
↓ 2 callersMethodattn_processor
(self, attn_type)
diffsynth/models/stepvideo_dit.py:330
↓ 2 callersMethodauto_normal
auto calculate the vertex normals.
LHM/models/rendering/mesh_utils.py:596
↓ 2 callersMethodauto_uv
auto calculate the uv coordinates. Args: cache_path (str, optional): path to save/load the uv cache as a npz file, this can avoid
LHM/models/rendering/mesh_utils.py:632
↓ 2 callersFunctionavaliable_device
()
lhm_runner.py:67
↓ 2 callersFunctionavaliable_device
()
LHM/runners/infer/human_lrm.py:66
↓ 2 callersFunctionavaliable_device
()
LHM/models/rendering/smpl_x_voxel_dense_sampling.py:45
↓ 2 callersFunctionaxis_angle_to_euler_angles
Convert rotations given as Euler angles in radians to axis/angle. Args: axis_angle: Rotations given as a vector in axis angle form,
LHM/utils/rot6d.py:286
↓ 2 callersFunctionaxis_angle_to_matrix
Convert rotations given as axis/angle to rotation matrices. Args: axis_angle: Rotations given as a vector in axis angle form,
engine/pose_estimation/pose_utils/rot6d.py:230
↓ 2 callersFunctionaxis_angle_to_rotation_6d
(axis_angle: torch.Tensor)
engine/pose_estimation/pose_utils/rot6d.py:420
↓ 2 callersFunctionbase_conv2d
(x, conv_layer, channel_last=False, residual=None)
diffsynth/models/stepvideo_vae.py:62
↓ 2 callersFunctionbase_conv3d_channel_last
(x, conv_layer, residual=None)
diffsynth/models/stepvideo_vae.py:120
↓ 2 callersFunctionbasic_clean
(text)
diffsynth/extensions/ImageQualityMetric/open_clip/tokenizer.py:63
↓ 2 callersFunctionbatch_rodrigues
Calculates the rotation matrices for a batch of rotation vectors Parameters ---------- rot_vecs: torch.tensor Nx3 array of N axis-
LHM/models/rendering/smplx/smplx/lbs.py:312
↓ 2 callersFunctionbatch_rodrigues
Calculates the rotation matrices for a batch of rotation vectors Parameters ---------- rot_vecs: torch.tensor Nx3
LHM/models/rendering/smplx_gsavatar/lbs.py:299
↓ 2 callersFunctionbinary_mask
(mask, th=0.1)
ProPainter/inference_propainter.py:83
↓ 2 callersMethodbuild_1d_mask
(self, length, left_bound, right_bound, border_width)
diffsynth/models/stepvideo_vae.py:1032
↓ 2 callersMethodbuild_1d_mask
(self, length, left_bound, right_bound, border_width)
diffsynth/models/wan_video_vae.py:621
↓ 2 callersFunctionbuild_camera_principle
RT: (N, 3, 4) intrinsics: (N, 3, 2), [[fx, fy], [cx, cy], [width, height]]
LHM/datasets/cam_utils.py:103
↓ 2 callersFunctionbuild_camera_standard
RT: (N, 3, 4) intrinsics: (N, 3, 2), [[fx, fy], [cx, cy], [width, height]]
LHM/datasets/cam_utils.py:115
↓ 2 callersFunctionbuild_edge_closure
Builds the closure for the edge objective
LHM/models/rendering/smplx/transfer_model/transfer_model.py:107
↓ 2 callersMethodbuild_file_dict
(path)
ProPainter/core/utils.py:67
↓ 2 callersFunctionbuild_layer
Method for creating a model from a path and a model type Parameters ---------- model_path: str Either the path to the model you w
LHM/models/rendering/smplx/smplx/body_models.py:2538
↓ 2 callersFunctionbuild_loss
(type='l2', reduction='mean', **kwargs)
LHM/models/rendering/smplx/transfer_model/losses/losses.py:45
↓ 2 callersMethodbuild_mask
(self, data, is_bound, border_width)
diffsynth/models/wan_video_vae.py:630
↓ 2 callersFunctionbuild_model_forward_closure
( body_model: nn.Module, var_dict: Dict[str, Tensor], per_part: bool = True, part_key: Optiona
LHM/models/rendering/smplx/transfer_model/transfer_model.py:56
↓ 2 callersFunctionbuild_model_from_cfg
(cfg, only_teacher=False)
engine/pose_estimation/dinov2/dinov2/models/__init__.py:42
↓ 2 callersFunctionbuild_model_from_openai_state_dict
( state_dict: dict, quick_gelu=True, cast_dtype=torch.float16, )
diffsynth/extensions/ImageQualityMetric/open_clip/model.py:354
↓ 2 callersMethodbuild_single_message
(self, role, metadata, message)
diffsynth/prompters/kolors_prompter.py:196
↓ 2 callersFunctionbuild_topk_accuracy_metric
(average_type: AccuracyAveraging, num_classes: int, ks: tuple = (1, 5))
engine/pose_estimation/dinov2/dinov2/eval/metrics.py:59
↓ 2 callersFunctionbuild_vertex_closure
Builds the closure for the vertex objective
LHM/models/rendering/smplx/transfer_model/transfer_model.py:154
↓ 2 callersFunctionbytes_to_unicode
Returns list of utf-8 byte and a corresponding list of unicode strings. The reversible bpe codes work on unicode strings. This means you
diffsynth/extensions/ImageQualityMetric/open_clip/tokenizer.py:29
↓ 2 callersMethodcamera_to_pixel
(self, X)
engine/pose_estimation/third-party/ViTPose/mmpose/core/camera/single_camera.py:95
↓ 2 callersMethodchannels
Return the output dimension
engine/pose_estimation/blocks/camera_embed.py:20
↓ 2 callersMethodcheck
(self, dit: HunyuanVideoDiT, img, vec)
diffsynth/pipelines/hunyuan_video.py:261
↓ 2 callersFunctioncheck_keys_equal
Check if all elements in target_keys is in result_keys.
engine/pose_estimation/third-party/ViTPose/tests/test_pipelines/test_shared_transform.py:12
↓ 2 callersFunctioncheck_norm_state
Check if norm layer is in correct train state.
engine/pose_estimation/third-party/ViTPose/tests/test_backbones/test_mobilenet_v2.py:25
↓ 2 callersFunctioncheck_norm_state
Check if norm layer is in correct train state.
engine/pose_estimation/third-party/ViTPose/tests/test_backbones/test_shufflenet_v2.py:25
↓ 2 callersFunctioncheck_norm_state
Check if norm layer is in correct train state.
engine/pose_estimation/third-party/ViTPose/tests/test_backbones/test_shufflenet_v1.py:25
↓ 2 callersFunctioncheck_norm_state
Check if norm layer is in correct train state.
engine/pose_estimation/third-party/ViTPose/tests/test_backbones/test_seresnet.py:25
↓ 2 callersMethodclear
(self, event_name: str = None, is_keyboard: Optional[bool] = False)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/utils/event.py:40
↓ 2 callersMethodclear_cache
(self)
diffsynth/models/cog_vae.py:175
↓ 2 callersMethodclear_cache
(self)
diffsynth/models/wan_video_vae.py:589
↓ 2 callersFunctioncol
(A)
LHM/models/rendering/smplx/transfer_model/utils/mesh_utils.py:25
↓ 2 callersMethodcompute
(self)
engine/pose_estimation/dinov2/dinov2/eval/metrics.py:111
↓ 2 callersMethodcompute_edges
(self, points, connections)
LHM/models/rendering/smplx/transfer_model/losses/losses.py:125
↓ 2 callersMethodcompute_grid
(self, box_size, box_center, num_bins, device=None)
engine/pose_estimation/third-party/ViTPose/mmpose/models/detectors/multiview_pose.py:34
↓ 2 callersMethodcompute_weight
(self, module, do_power_iteration)
ProPainter/model/modules/spectral_norm.py:40
↓ 2 callersMethodcontrast
Contrast distortion.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/shared_transform.py:349
↓ 2 callersMethodconvert_state_dict
(self, state_dict, lora_prefix="lora_unet_", alpha=1.0)
diffsynth/models/lora.py:23
↓ 2 callersFunctionconvert_weights_to_lp
Convert applicable model parameters to low-precision (bf16 or fp16)
diffsynth/extensions/ImageQualityMetric/open_clip/model.py:308
↓ 2 callersFunctioncoords_grid
(batch, ht, wd)
ProPainter/RAFT/utils/utils.py:74
↓ 2 callersFunctioncopy_and_paste
Copy the image region and paste to the background. Args: img (np.ndarray): Image data. background_img (np.ndarray): Background im
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/utils/misc.py:254
↓ 2 callersFunctioncount_conv3d
(model)
diffsynth/models/wan_video_vae.py:484
↓ 2 callersFunctioncreate_dir
Creates a directory if not exist.
ProPainter/scripts/evaluate_flow_completion.py:27
↓ 2 callersFunctioncreate_linear_input
(x_tokens_list, use_n_blocks, use_avgpool)
engine/pose_estimation/dinov2/dinov2/eval/linear.py:171
↓ 2 callersFunctioncreate_model
( model_name: str, pretrained: Optional[str] = None, precision: str = 'fp32',
diffsynth/extensions/ImageQualityMetric/open_clip/factory.py:108
↓ 2 callersFunctioncreate_model_and_transforms
( model_name: str, pretrained: Optional[str] = None, precision: str = 'fp32',
diffsynth/extensions/ImageQualityMetric/open_clip/factory.py:309
↓ 2 callersFunctioncreate_random_shape_with_random_motion
(video_length, imageHeight=240,
ProPainter/core/utils.py:178
↓ 2 callersFunctioncreate_window
(window_size, channel)
engine/BiRefNet/loss.py:193
↓ 2 callersMethodcriterion
Criterion of wingloss. Note: batch_size: N num_keypoints: K Args: pred (torch.Tensor[NxKxHxW]):
engine/pose_estimation/third-party/ViTPose/mmpose/models/losses/heatmap_loss.py:36
↓ 2 callersMethodcriterion
Criterion of wingloss. Note: batch_size: N num_keypoints: K dimension of keypoints: D (D=2 or D=3)
engine/pose_estimation/third-party/ViTPose/mmpose/models/losses/regression_loss.py:157
↓ 2 callersMethodcropped_pos_embed
Crops positional embeddings for SD3 compatibility.
diffsynth/models/omnigen.py:426
↓ 2 callersMethoddecode_images
(self, images)
diffsynth/extensions/RIFE/__init__.py:144
↓ 2 callersMethoddecode_images
(self, images)
diffsynth/processors/RIFE.py:38
↓ 2 callersMethoddecode_small_video
(self, sample)
diffsynth/models/cog_vae.py:254
↓ 2 callersMethoddecode_video
(self, latents, tiled=False, tile_size=64, tile_stride=32)
diffsynth/pipelines/sdxl_video.py:78
↓ 2 callersFunctiondecompose_extrinsic_RT
Decompose the standard extrinsic matrix into RT. Batched I/O.
LHM/datasets/cam_utils.py:56
↓ 2 callersFunctiondefault
Code modified from https://github.com/shubham-goel/4D-Humans/blob/a0def798c7eac811a63c8220fcc22d983b39785e/hmr2/models/components/pose_transformer.py#
engine/pose_estimation/blocks/cross_attn_transformer.py:65
↓ 2 callersMethoddepth_pred
Prediction each pixel.
LHM/models/encoders/dinov2/hub/depth/decode_heads.py:149
↓ 2 callersMethoddepth_pred
Prediction each pixel.
engine/pose_estimation/dinov2/dinov2/hub/depth/decode_heads.py:149
↓ 2 callersMethoddist_loss
(self, teacher_logits, student_logits)
diffsynth/extensions/ImageQualityMetric/open_clip/loss.py:236
↓ 2 callersFunctiondo_test
(cfg, model, iteration)
engine/pose_estimation/dinov2/dinov2/train/train.py:122
↓ 2 callersFunctiondownload_pretrained_from_url
( url: str, cache_dir: Union[str, None] = None, )
diffsynth/extensions/ImageQualityMetric/open_clip/pretrained.py:283
↓ 2 callersMethoddraw
(self, frame_msg)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/frame_effect_node.py:777
↓ 2 callersFunctiondrop_add_residual_stochastic_depth
( x: Tensor, residual_func: Callable[[Tensor], Tensor], sample_drop_ratio: float = 0.0, )
LHM/models/encoders/dinov2/layers/block.py:148
↓ 2 callersFunctiondrop_add_residual_stochastic_depth
( x: Tensor, residual_func: Callable[[Tensor], Tensor], sample_drop_ratio: float = 0.0, )
engine/pose_estimation/dinov2/dinov2/layers/block.py:117
↓ 2 callersFunctiondrop_add_residual_stochastic_depth_list
( x_list: List[Tensor], residual_func: Callable[[Tensor, Any], Tensor], sample_drop_ratio: float =
LHM/models/encoders/dinov2/layers/block.py:219
← previousnext →701–800 of 5,947, ranked by callers