MCPcopy Create free account

hub / github.com/MyNiuuu/AniCrafter / functions

Functions5,947 in github.com/MyNiuuu/AniCrafter

↓ 2 callersFunctiondrop_add_residual_stochastic_depth_list
( x_list: List[Tensor], residual_func: Callable[[Tensor, Any], Tensor], sample_drop_ratio: float =
engine/pose_estimation/dinov2/dinov2/layers/block.py:188
↓ 2 callersFunctionedgeLoss
Args: preds_edges: with shape [b, c, h , w] edges: with shape [b, c, h, w] Returns: Edge losses
ProPainter/model/modules/flow_comp_raft.py:207
↓ 2 callersFunctionempty_frame_pad
(pose_results)
engine/pose_estimation/video2motion.py:325
↓ 2 callersMethodenable_auto_offload
(self, dtype=torch.bfloat16, device="cuda")
diffsynth/models/hunyuan_video_dit.py:664
↓ 2 callersMethodencode_image
(self, image, tiled=False, tile_size=64, tile_stride=32)
diffsynth/pipelines/flux_image.py:176
↓ 2 callersMethodencode_image
(self, image, tiled=False, tile_size=64, tile_stride=32)
diffsynth/pipelines/omnigen_image.py:157
↓ 2 callersMethodencode_prompt
(self, prompt, positive=True)
diffsynth/pipelines/step_video.py:135
↓ 2 callersMethodencode_prompt
(self, prompt, positive=True, clip_sequence_length=77, llm_sequence_length=256, input_images=None)
diffsynth/pipelines/hunyuan_video.py:105
↓ 2 callersMethodencode_prompt
(self, prompt, positive=True)
diffsynth/pipelines/cog_video.py:52
↓ 2 callersMethodencode_prompt
(self, prompt, positive=True)
diffsynth/pipelines/wan_video_v2v_combine.py:361
↓ 2 callersMethodencode_prompt
(self, prompt, positive=True)
diffsynth/pipelines/wan_video_v2v_combine.py:811
↓ 2 callersMethodencode_prompt
(self, prompt, positive=True)
diffsynth/pipelines/wan_video.py:623
↓ 2 callersMethodencode_prompt
(self, prompt, positive=True)
diffsynth/pipelines/wan_video.py:983
↓ 2 callersMethodencode_prompt
(self, prompt, positive=True)
diffsynth/pipelines/wan_video.py:1433
↓ 2 callersMethodencode_prompt_using_clip
(self, prompt, text_encoder, tokenizer, max_length, device)
diffsynth/prompters/sd3_prompter.py:39
↓ 2 callersMethodencode_prompt_using_signle_model
(self, prompt, text_encoder, tokenizer, max_length, clip_skip, device)
diffsynth/prompters/hunyuan_dit_prompter.py:34
↓ 2 callersMethodencode_small_video
(self, sample)
diffsynth/models/cog_vae.py:339
↓ 2 callersMethodencode_video
(self, processed_images, tiled=False, tile_size=64, tile_stride=32)
diffsynth/pipelines/sdxl_video.py:86
↓ 2 callersMethodencode_video
(self, frames, tile_size=(17, 30, 30), tile_stride=(12, 20, 20))
diffsynth/pipelines/hunyuan_video.py:125
↓ 2 callersMethodencode_video
(self, input_video, tiled=True, tile_size=(34, 34), tile_stride=(18, 16))
diffsynth/pipelines/wan_video_v2v_combine.py:1295
↓ 2 callersMethodencode_video
(self, input_video, tiled=True, tile_size=(34, 34), tile_stride=(18, 16))
diffsynth/pipelines/wan_video.py:1467
↓ 2 callersMethodencode_video_with_vae
(self, video)
diffsynth/pipelines/svd_video.py:60
↓ 2 callersFunctionevaluate_model
(*, logreg_model, logreg_metric, test_data_loader, device)
engine/pose_estimation/dinov2/dinov2/eval/log_regression.py:147
↓ 2 callersMethodevict_previous_layer
Moves the previous layer cache to the CPU
diffsynth/pipelines/omnigen_image.py:38
↓ 2 callersFunctionexponential_smoothing
(x, d_x, alpha=0.5)
engine/pose_estimation/pose_utils/postprocess.py:27
↓ 2 callersFunctionexponential_smoothing
(a, x, x_prev)
engine/pose_estimation/third-party/ViTPose/mmpose/core/post_processing/one_euro_filter.py:15
↓ 2 callersMethodextract_feat
Extract features from images.
LHM/models/encoders/dinov2/hub/depth/encoder_decoder.py:47
↓ 2 callersMethodextract_feat
Extract features from images.
engine/pose_estimation/dinov2/dinov2/hub/depth/encoder_decoder.py:47
↓ 2 callersMethodextract_number_from_filenames
(self, file_names)
diffsynth/extensions/FastBlend/api.py:113
↓ 2 callersFunctionextract_weight_to_half
(weight: torch.Tensor, scale_list: torch.Tensor, source_bit_width: int)
diffsynth/models/kolors_text_encoder.py:122
↓ 2 callersMethodfilter_bdy_cond
(self, bdy_, mask, cond)
engine/BiRefNet/evaluation/metrics.py:598
↓ 2 callersFunctionfind_joint_kin_chain
(joint_id, kinematic_tree)
LHM/models/rendering/smplx/smplx/utils.py:90
↓ 2 callersFunctionfind_joint_kin_chain
(joint_id, kinematic_tree)
LHM/models/rendering/smplx_gsavatar/utils.py:92
↓ 2 callersMethodfit
( self, init_poses, init_betas, init_dist, init_loc, cam_intri
engine/pose_estimation/smplify.py:260
↓ 2 callersFunctionflowwrite
Write optical flow to file. If the flow is not quantized, it will be saved as a .flo file losslessly, otherwise a jpeg image which is lossy b
ProPainter/utils/flow_util.py:67
↓ 2 callersMethodforward
Placeholder of forward function.
LHM/models/encoders/dinov2/hub/depth/decode_heads.py:108
↓ 2 callersMethodforward
( self, gs_hidden_features: Float[Tensor, "B Np Cp"], query_points: Float[Tensor, "B N
LHM/models/rendering/gs_renderer.py:1423
↓ 2 callersMethodforward
diffsynth/models/omnigen.py:489
↓ 2 callersMethodforward
imgs: [B, 3, H, W] of torch.float32. - mean: [0.48145466, 0.4578275, 0.40821073] - std: [0.26862954, 0.2613025
diffsynth/models/wan_video_image_encoder.py:571
↓ 2 callersMethodforward
( self, input_ids=None, attention_mask=None, )
diffsynth/models/stepvideo_text_encoder.py:508
↓ 2 callersMethodforward
(self, x)
diffsynth/models/wan_video_vae.py:67
↓ 2 callersMethodforward
(self, masked_flows, masks)
ProPainter/model/recurrent_flow_completion.py:272
↓ 2 callersMethodforward
Placeholder of forward function.
engine/pose_estimation/dinov2/dinov2/hub/depth/decode_heads.py:108
↓ 2 callersMethodforward
Calls either forward_train or forward_test depending on whether return_loss is True. Note: - batch_size: N -
engine/pose_estimation/third-party/ViTPose/mmpose/models/detectors/associative_embedding.py:82
↓ 2 callersMethodforward
Forward function.
engine/pose_estimation/third-party/ViTPose/mmpose/models/detectors/base.py:34
↓ 2 callersMethodforward
Forward function. Calls either forward_train or forward_test depending on whether return_loss=True. Note: - batc
engine/pose_estimation/third-party/ViTPose/mmpose/models/detectors/mesh.py:287
↓ 2 callersMethodforward_dummy
Used for computing network FLOPs. See ``tools/get_flops.py``. Args: img (torch.Tensor): Input image. Returns:
engine/pose_estimation/third-party/ViTPose/mmpose/models/detectors/multi_task.py:171
↓ 2 callersMethodforward_encode_image
(self, image)
LHM/models/modeling_human_lrm.py:286
↓ 2 callersMethodforward_features
(self, x, masks=None, mod=None)
LHM/models/encoders/dinov2/models/vision_transformer.py:281
↓ 2 callersMethodforward_features
(self, x, masks=None)
engine/pose_estimation/dinov2/dinov2/models/vision_transformer.py:254
↓ 2 callersMethodforward_gs_attr
x: [N, C] Float[Tensor, "Np Cp"], query_points: [N, 3] Float[Tensor, "Np 3"]
LHM/models/rendering/gs_renderer.py:1087
↓ 2 callersMethodforward_latent_points
Forward pass of the latent points generation. Args: image (torch.Tensor): Input image tensor of shape [B, C_img, H_img, W
LHM/models/modeling_human_lrm.py:310
↓ 2 callersMethodforward_latent_points
Forward pass of the latent points generation. Args: image (torch.Tensor): Input image tensor of shape [B, C_img, H_img, W
LHM/models/modeling_human_lrm.py:667
↓ 2 callersMethodforward_single_view
( self, gs: GaussianModel, viewpoint_camera: Camera, background_color: Optiona
LHM/models/rendering/gs_renderer.py:844
↓ 2 callersMethodforward_test
Args: imgs (List[Tensor]): the outer list indicates test-time augmentations and inner Tensor should have a shape
LHM/models/encoders/dinov2/hub/depth/encoder_decoder.py:218
↓ 2 callersMethodforward_test
Args: imgs (List[Tensor]): the outer list indicates test-time augmentations and inner Tensor should have a shape
engine/pose_estimation/dinov2/dinov2/hub/depth/encoder_decoder.py:218
↓ 2 callersMethodforward_test
Defines the computation performed at every call when testing.
engine/pose_estimation/third-party/ViTPose/mmpose/models/detectors/mesh.py:233
↓ 2 callersMethodforward_test
Defines the computation performed at training. Note: batch_size: N num_keypoints: K num_img_channel: C
engine/pose_estimation/third-party/ViTPose/mmpose/models/detectors/multiview_pose.py:621
↓ 2 callersMethodforward_train
Forward function for training. Args: img (Tensor): Input images. img_metas (list[dict]): List of image info dict wher
LHM/models/encoders/dinov2/hub/depth/encoder_decoder.py:87
↓ 2 callersMethodforward_train
Forward function for training. Args: img (Tensor): Input images. img_metas (list[dict]): List of image info dict wher
engine/pose_estimation/dinov2/dinov2/hub/depth/encoder_decoder.py:87
↓ 2 callersMethodforward_train
Defines the computation performed at training. Note: batch_size: N num_keypoints: K num_img_channel: C
engine/pose_estimation/third-party/ViTPose/mmpose/models/detectors/multiview_pose.py:519
↓ 2 callersMethodforward_with_coords
Positionally encode points that are not normalized to [0,1].
engine/BiRefNet/models/modules/prompt_encoder.py:211
↓ 2 callersFunctionfp16_clamp
(x)
diffsynth/models/wan_video_text_encoder.py:8
↓ 2 callersMethodfreeze_layers
(self)
engine/pose_estimation/third-party/ViTPose/mmpose/models/necks/posewarper_neck.py:205
↓ 2 callersMethodfrom_c2w
(c2w, intrinsic, height, width)
LHM/models/rendering/gs_renderer.py:143
↓ 2 callersMethodfrom_civitai
(self, state_dict)
diffsynth/models/sd3_dit.py:472
↓ 2 callersMethodfrom_diffusers
(self, state_dict)
diffsynth/models/sd3_dit.py:408
↓ 2 callersMethodfrom_diffusers
(self, state_dict)
diffsynth/models/cog_dit.py:347
↓ 2 callersMethodfrom_model_manager
(model_manager: ModelManager, controlnet_config_units: List[ControlNetConfigUnit]=[], prompt_refiner_classes=[
diffsynth/pipelines/sd_video.py:116
↓ 2 callersFunctiongate
(x, gate)
diffsynth/models/stepvideo_dit.py:615
↓ 2 callersFunctiongaussian_blur2d
r"""Create an operator that blurs a tensor using a Gaussian filter. .. image:: _static/img/gaussian_blur2d.png The operator smooths the give
ProPainter/model/canny/gaussian.py:10
↓ 2 callersMethodgenerate_parts_numel_combinations
(self, fg_fg_numel, fg_bg_numel, pred_fg_numel, pred_bg_numel)
engine/BiRefNet/evaluation/metrics.py:433
↓ 2 callersFunctiongenerate_rotation_matrix_y
(degrees)
LHM/runners/infer/utils.py:24
↓ 2 callersMethodget_1d_rotary_pos_embed
(self, dim: int, pos, theta: float = 10000.0, use_real=False)
diffsynth/pipelines/hunyuan_image.py:97
↓ 2 callersFunctionget_1d_sincos_pos_embed_from_grid
embed_dim: output dimension for each position pos: a list of positions to be encoded: size (M,) out: (M, D)
diffsynth/models/omnigen.py:286
↓ 2 callersMethodget_accuracy
Calculate accuracy for keypoint loss. Note: - batch_size: N - num_keypoints: K Args: output (tor
engine/pose_estimation/third-party/ViTPose/mmpose/models/heads/temporal_regression_head.py:128
↓ 2 callersFunctionget_activation
Helper function to get activation function from string. Args: act_fn (str): Name of activation function. Returns: nn.Module:
diffsynth/models/stepvideo_dit.py:86
↓ 2 callersFunctionget_attn_bias_and_cat
this will perform the index select, cat the tensors, and provide the attn_bias from cache
LHM/models/encoders/dinov2/layers/block.py:195
↓ 2 callersFunctionget_attn_bias_and_cat
this will perform the index select, cat the tensors, and provide the attn_bias from cache
engine/pose_estimation/dinov2/dinov2/layers/block.py:164
↓ 2 callersFunctionget_bbox
(mask)
lhm_runner.py:106
↓ 2 callersMethodget_block_name
(self, names)
diffsynth/models/svd_unet.py:423
↓ 2 callersMethodget_body
using skinning to find lower body vertices.
LHM/models/rendering/smpl_x_voxel_dense_sampling.py:325
↓ 2 callersMethodget_body_face_mapping
(self)
LHM/models/rendering/smpl_x_voxel_dense_sampling.py:379
↓ 2 callersMethodget_box
(self)
engine/pose_estimation/video2motion.py:112
↓ 2 callersMethodget_box
(self)
engine/SegmentAPI/base.py:112
↓ 2 callersFunctionget_camera_parameters
Given image size, fov and principal point coordinates, return K the camera parameter matrix
engine/pose_estimation/pose_utils/inference_utils.py:7
↓ 2 callersMethodget_camera_parameters
(self)
engine/pose_estimation/pose_estimator.py:63
↓ 2 callersFunctionget_cast_dtype
(precision: str)
diffsynth/extensions/ImageQualityMetric/open_clip/model.py:66
↓ 2 callersMethodget_cast_dtype
(self)
diffsynth/extensions/ImageQualityMetric/open_clip/transformer.py:310
↓ 2 callersMethodget_cos_sin
(self, D, seq_len, device, dtype)
diffsynth/models/stepvideo_dit.py:373
↓ 2 callersFunctionget_data_sample
()
engine/pose_estimation/third-party/ViTPose/tests/test_pipelines/test_pose3d_transform.py:17
↓ 2 callersMethodget_edges
(self, flows)
ProPainter/core/trainer_flow_w_edge.py:261
↓ 2 callersMethodget_error
(self, source_guide, target_guide, source_style, target_style, nnf)
diffsynth/extensions/FastBlend/patch_match.py:76
↓ 2 callersMethodget_extended_attention_mask
Makes broadcastable attention and causal masks so that future and masked tokens are ignored. Arguments: attention_mask (
diffsynth/extensions/ImageQualityMetric/BLIP/med.py:601
↓ 2 callersFunctionget_face_keypoint_ids
A helpfer function to get the keypoint indices of the face from the model config. Args: model_cfg (Config): pose model config. R
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/utils/pose.py:50
↓ 2 callersMethodget_faces
Return mesh faces. Note: F: number of faces Returns: faces: np.ndarray([F, 3]), mesh faces
engine/pose_estimation/third-party/ViTPose/mmpose/models/utils/smpl.py:92
↓ 2 callersFunctionget_fsdp_wrapper
(model_cfg, modules_to_wrap=set())
engine/pose_estimation/dinov2/dinov2/fsdp/__init__.py:22
↓ 2 callersFunctionget_global_rank
Returns: The rank of the current process within the global process group.
engine/pose_estimation/dinov2/dinov2/distributed/__init__.py:35
↓ 2 callersFunctionget_global_size
Returns: The number of processes in the process group
engine/pose_estimation/dinov2/dinov2/distributed/__init__.py:27
↓ 2 callersMethodget_ground_truth
(self, device, num_logits)
diffsynth/extensions/ImageQualityMetric/open_clip/loss.py:90
← previousnext →801–900 of 5,947, ranked by callers