MCPcopy Create free account

hub / github.com/MyNiuuu/AniCrafter / functions

Functions5,947 in github.com/MyNiuuu/AniCrafter

↓ 3 callersMethodupdate
(self, preds: Tensor, target: Tensor)
engine/pose_estimation/dinov2/dinov2/eval/metrics.py:87
↓ 3 callersFunctionupdate_intrinsics_from_bbox
update intrinsics for cropped images
engine/pose_estimation/pose_utils/render.py:70
↓ 3 callersMethodupdate_route_info
Append new node information to the route information. Args: node (Node, optional): An instance of Node that provides basic
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/utils/message.py:33
↓ 3 callersFunctionvideo_to_pil_images
(video_path, height, width, max_frames=81)
run_pipeline_with_preprocess_usp.py:107
↓ 3 callersFunctionvideo_to_pil_images
(video_path, height, width)
run_pipeline_usp.py:107
↓ 3 callersFunctionvideo_to_pil_images
(video_path, height, width)
run_pipeline.py:106
↓ 3 callersFunctionvideo_to_pil_images
(video_path, height, width, max_frames=81)
run_pipeline_with_preprocess.py:106
↓ 3 callersMethodwait
(self, event_name: str = None, is_keyboard: Optional[bool] = False, tim
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/utils/event.py:25
↓ 3 callersMethodworld_to_pixel
Project points from world coordinates to pixel coordinates.
engine/pose_estimation/third-party/ViTPose/mmpose/core/camera/camera_base.py:42
↓ 3 callersFunctionwrap_fp16_model
Wrap the FP32 model to FP16. 1. Convert FP32 model to FP16. 2. Remain some necessary layers to be FP32, e.g., normalization layers. Args
engine/pose_estimation/third-party/ViTPose/mmpose/core/fp16/hooks.py:109
↓ 2 callersFunctionFB_blur_fusion_foreground_estimator
(image, F, B, alpha, r=90)
engine/BiRefNet/image_proc.py:25
↓ 2 callersMethod__getitem__
(self, item)
diffsynth/extensions/FastBlend/data.py:136
↓ 2 callersMethod__init__
(self, inner_dim: int, num_heads: int, eps: float, attn_drop: float = 0., attn_bias: bool = F
LHM/models/block.py:27
↓ 2 callersMethod__init__
(self, output_dim=128, only_global=False)
LHM/models/encoders/dinov2_unet.py:15
↓ 2 callersMethod__init__
( self, in_channels, features=256, use_bn=False, out_channels=[256, 51
LHM/models/encoders/dinov2_dpt.py:41
↓ 2 callersMethod__init__
(self, n_features: int, hidden_dim: int = 64, num_layers: int = 4, activation: nn.Module = nn
LHM/models/rendering/synthesizer.py:33
↓ 2 callersMethod__init__
(self, model_path: str)
diffsynth/prompters/kolors_prompter.py:13
↓ 2 callersMethod__init__
(self, tokenizer_path=None, model=None, system_prompt="")
diffsynth/prompters/prompt_refiners.py:60
↓ 2 callersMethod__init__
(self, input_size)
diffsynth/extensions/ImageQualityMetric/imagereward.py:25
↓ 2 callersMethod__init__
(self, inplanes, planes, stride=1)
diffsynth/extensions/ImageQualityMetric/open_clip/modified_resnet.py:13
↓ 2 callersMethod__init__
(self, **kwargs)
diffsynth/extensions/RIFE/__init__.py:61
↓ 2 callersMethod__init__
(self)
diffsynth/models/svd_vae_decoder.py:72
↓ 2 callersMethod__init__
(self, cross_attention_dim=768, id_embeddings_dim=512, num_tokens=4)
diffsynth/models/flux_ipadapter.py:8
↓ 2 callersMethod__init__
(self, num_attention_heads, attention_head_dim, in_channels, num_layers=1, norm_num_groups=32, eps=1e-5)
diffsynth/models/sd_motion.py:54
↓ 2 callersMethod__init__
(self, vocab_size=49408)
diffsynth/models/sd3_text_encoder.py:8
↓ 2 callersMethod__init__
(self, loss_weight=1.0, use_input_norm=True, range_norm=False,)
ProPainter/core/loss.py:117
↓ 2 callersMethod__init__
(self, roll=False)
ProPainter/core/utils.py:131
↓ 2 callersMethod__init__
(self, loader)
ProPainter/core/prefetch_dataloader.py:70
↓ 2 callersMethod__init__
Initializes Unit3D module.
ProPainter/core/metrics.py:222
↓ 2 callersMethod__init__
(self, normalized: bool = True, eps: float = 1e-6)
ProPainter/model/canny/sobel.py:254
↓ 2 callersMethod__init__
(self, channel, hidden, kernel_size, stride, padding)
ProPainter/model/modules/base_module.py:65
↓ 2 callersMethod__init__
(self, classifiers_dict)
engine/pose_estimation/dinov2/dinov2/eval/linear.py:205
↓ 2 callersMethod__init__
(self, name: str, frame_buffer: str, output_buffer: Union[s
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/helper_node.py:123
↓ 2 callersMethod__init__
(self, depth, in_channels=3, num_stages=4,
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/vipnas_resnet.py:392
↓ 2 callersMethod__init__
(self, depth, **kwargs)
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/scnet.py:245
↓ 2 callersMethod__init__
(self, loss_type)
engine/pose_estimation/third-party/ViTPose/mmpose/models/losses/multi_loss_factory.py:77
↓ 2 callersMethod__init__
(self, use_target_weight=False, loss_weight=1.)
engine/pose_estimation/third-party/ViTPose/mmpose/models/losses/mse_loss.py:18
↓ 2 callersMethod__len__
(self)
diffsynth/data/video.py:107
↓ 2 callersFunction_angle_from_tan
Extract the first or third Euler angle from the two members of the matrix which are positive constant times its sine and cosine. Args:
LHM/utils/rot6d.py:304
↓ 2 callersFunction_angle_from_tan
Extract the first or third Euler angle from the two members of the matrix which are positive constant times its sine and cosine. Args:
engine/pose_estimation/pose_utils/rot6d.py:293
↓ 2 callersMethod_as
Return a Body object with the specified joint names.
LHM/models/rendering/smplx/smplx/joint_names.py:298
↓ 2 callersMethod_block_fn
(self, inner_dim, cond_dim, mod_dim)
LHM/models/transformer.py:101
↓ 2 callersMethod_build_camera
(self, param)
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/pose3d_transform.py:287
↓ 2 callersMethod_cal_angle
calculate the angle of vectors v1(constructed by points p2 and p1) and v2(constructed by points p4 and p3)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/valentinemagic_node.py:72
↓ 2 callersMethod_calculate_score
Calculate the aesthetic score for a single image. Args: image (torch.Tensor): The processed image tensor. Returns:
diffsynth/extensions/ImageQualityMetric/aesthetic.py:76
↓ 2 callersMethod_calculate_score
Calculate the CLIP score for a single image and prompt. Args: image (torch.Tensor): The processed image tensor. promp
diffsynth/extensions/ImageQualityMetric/clip.py:44
↓ 2 callersMethod_calculate_score
Calculate the reward score for a single image and prompt. Args: image (torch.Tensor): The processed image tensor. pro
diffsynth/extensions/ImageQualityMetric/mps.py:45
↓ 2 callersMethod_calculate_score
Calculate the HPS score for a single image and prompt. Args: image (torch.Tensor): The processed image tensor. prompt
diffsynth/extensions/ImageQualityMetric/hps.py:62
↓ 2 callersMethod_calculate_score
Calculate the score for a single image and prompt. Args: prompt (str): The prompt text. image (torch.Tensor): The pro
diffsynth/extensions/ImageQualityMetric/imagereward.py:125
↓ 2 callersMethod_calculate_score
Calculate the score for a single image and prompt. Args: image (torch.Tensor): The processed image tensor. prompt (st
diffsynth/extensions/ImageQualityMetric/pickscore.py:22
↓ 2 callersMethod_cam2pixel
Transform the joints from their camera coordinates to their pixel coordinates. Note: - N: number of joints Args:
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/hand/interhand2d_dataset.py:99
↓ 2 callersFunction_check_env_variable
(key: str, new_value: str)
engine/pose_estimation/dinov2/dinov2/distributed/__init__.py:145
↓ 2 callersFunction_check_flip
Check if the origin_imgs are flipped correctly.
engine/pose_estimation/third-party/ViTPose/tests/test_pipelines/test_bottom_up_pipelines.py:66
↓ 2 callersFunction_check_flip
Check if the origin_imgs are flipped correctly.
engine/pose_estimation/third-party/ViTPose/tests/test_pipelines/test_mesh_pipelines.py:21
↓ 2 callersFunction_compute_iou
Compute the Intersection over Union (IoU) between two boxes . Args: bboxA (list): The first bbox info (left, top, right, bottom, score).
engine/pose_estimation/third-party/ViTPose/mmpose/apis/inference_tracking.py:9
↓ 2 callersFunction_compute_padding
Compute padding tuple.
ProPainter/model/canny/filter.py:9
↓ 2 callersFunction_construct_rotation_matrix
Construct the in-plane rotation matrix. Args: rot (float): Rotation angle (degree). size (int): The size of the rotation matrix.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/mesh_transform.py:66
↓ 2 callersFunction_convert_batchnorm
Convert the syncBNs into normal BN3ds.
engine/pose_estimation/third-party/ViTPose/tools/deployment/pytorch2onnx.py:22
↓ 2 callersMethod_crop_face_by_contour
(self, img, contour)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/faceswap_node.py:89
↓ 2 callersFunction_demo_inputs
Create a superset of inputs needed to run backbone. Args: input_shape (tuple): input batch dimensions. Default: (1, 3, 64, 64
engine/pose_estimation/third-party/ViTPose/tests/test_necks/test_gap_neck.py:33
↓ 2 callersFunction_demo_inputs
Create a superset of inputs needed to run mesh head. Args: input_shape (tuple): input batch dimensions. Default: (1, 3, 64, 6
engine/pose_estimation/third-party/ViTPose/tests/test_models/test_mesh_head.py:65
↓ 2 callersFunction_demo_inputs
Create a superset of inputs needed to run backbone. Args: input_shape (tuple): input batch dimensions. Default: (1, 3, 64, 64
engine/pose_estimation/third-party/ViTPose/tests/test_models/test_layer.py:57
↓ 2 callersFunction_demo_mm_inputs
Create a superset of inputs needed to run test or train batches. Args: input_shape (tuple): input batch dimensions
engine/pose_estimation/third-party/ViTPose/tests/test_models/test_mesh_forward.py:109
↓ 2 callersMethod_encode_text
(self, text, normalize=True, embed_cls=True)
diffsynth/extensions/ImageQualityMetric/open_clip/coca_model.py:136
↓ 2 callersMethod_encoder_fn
(encoder_type: str)
LHM/models/modeling_human_lrm.py:200
↓ 2 callersMethod_filter2d
(self, input, kernel)
diffsynth/pipelines/svd_video.py:248
↓ 2 callersMethod_forward_pass
Additional filtering is applied to filter out-of-box samples. Modifications made by Zexin He.
LHM/models/rendering/utils/renderer.py:109
↓ 2 callersMethod_freeze_stages
Freeze parameters.
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/vit_moe.py:293
↓ 2 callersMethod_freeze_stages
Freeze parameters.
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/hrnet.py:509
↓ 2 callersMethod_freeze_stages
Freeze parameters.
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/vipnas_resnet.py:529
↓ 2 callersMethod_freeze_stages
Freeze parameters.
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/resnet.py:619
↓ 2 callersMethod_freeze_stages
(self)
engine/BiRefNet/models/backbones/swin_v1.py:685
↓ 2 callersMethod_gaussian
(self, window_size: int, sigma)
diffsynth/pipelines/svd_video.py:271
↓ 2 callersFunction_gaussian_blur
Modulate heatmap distribution with Gaussian. sigma = 0.3*((kernel_size-1)*0.5-1)+0.8 sigma~=3 if k=17 sigma=2 if k=11; sigma~=1.5
engine/pose_estimation/third-party/ViTPose/mmpose/core/evaluation/top_down_eval.py:399
↓ 2 callersFunction_get_3rd_point
To calculate the affine matrix, three pairs of points are required. This function is used to get the 3rd point, given 2D points a & b. The 3r
engine/pose_estimation/third-party/ViTPose/mmpose/core/post_processing/post_transforms.py:271
↓ 2 callersFunction_get_adaptive_threshold
(matrix: np.ndarray, max_value: float = 1)
engine/BiRefNet/evaluation/metrics.py:139
↓ 2 callersFunction_get_depth_range
(pretrained: bool, weights: Weights = Weights.NYU)
LHM/models/encoders/dinov2/hub/depthers.py:22
↓ 2 callersFunction_get_depth_range
(pretrained: bool, weights: Weights = Weights.NYU)
engine/pose_estimation/dinov2/dinov2/hub/depthers.py:22
↓ 2 callersMethod_get_face_info
(pose_pred)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/faceswap_node.py:151
↓ 2 callersMethod_get_knn_sims_and_labels
(self, similarity, train_labels)
engine/pose_estimation/dinov2/dinov2/eval/knn.py:124
↓ 2 callersFunction_get_mask
(coco, anno, img_id)
engine/pose_estimation/third-party/ViTPose/tests/test_pipelines/test_bottom_up_pipelines.py:19
↓ 2 callersFunction_get_mmcv_home
()
engine/pose_estimation/third-party/ViTPose/mmcv_custom/checkpoint.py:36
↓ 2 callersMethod_get_model
(self, model_name: str)
LHM/losses/perceptual.py:34
↓ 2 callersMethod_get_single
Get anno for a single image.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/base/kpt_2d_sview_rgb_img_bottom_up_dataset.py:159
↓ 2 callersMethod_global_pool
(self, x: torch.Tensor)
diffsynth/extensions/ImageQualityMetric/open_clip/transformer.py:452
↓ 2 callersFunction_index_from_letter
(letter: str)
LHM/utils/rot6d.py:337
↓ 2 callersFunction_index_from_letter
(letter: str)
engine/pose_estimation/pose_utils/rot6d.py:326
↓ 2 callersMethod_init_models
(self)
LHM/utils/face_detector.py:79
↓ 2 callersMethod_make_layer
(self, block, out_channels, blocks,
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/rsn.py:180
↓ 2 callersMethod_make_layer
(self, block, out_channels, blocks, stride=1)
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/mspn.py:75
↓ 2 callersMethod_megvii_generate_target
Generate the target heatmap via "Megvii" approach. Args: cfg (dict): data config joints_3d: np.ndarray ([num_joints,
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/top_down_transform.py:386
↓ 2 callersMethod_meshgrid
(self, x, y, row_major=True)
engine/pose_estimation/dinov2/dinov2/eval/segmentation_m2f/core/anchor/point_generator.py:40
↓ 2 callersFunction_modified_bessel_0
r"""Adapted from: https://github.com/Project-MONAI/MONAI/blob/master/monai/networks/layers/convutils.py
ProPainter/model/canny/kernels.py:43
↓ 2 callersMethod_msra_generate_target
Generate the target heatmap via "MSRA" approach. Args: cfg (dict): data config joints_3d: np.ndarray ([num_joints, 3]
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/top_down_transform.py:299
↓ 2 callersMethod_pe_encoding
Positionally encode points that are normalized to [0,1].
engine/BiRefNet/models/modules/prompt_encoder.py:189
↓ 2 callersMethod_preprocess
(self, img_np)
engine/pose_estimation/pose_estimator.py:91
↓ 2 callersMethod_read_image
(self, path)
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/loading.py:39
↓ 2 callersMethod_report_3d_auc
Cauculate the Area Under the Curve (AUC) computed for a range of 3DPCK thresholds. Args: keypoint_results (list): Keypoin
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/body3d/body3d_mpi_inf_3dhp_dataset.py:368
↓ 2 callersMethod_report_3d_pck
Cauculate Percentage of Correct Keypoints (3DPCK) w. or w/o Procrustes alignment. Args: keypoint_results (list): Keypoint
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/body3d/body3d_mpi_inf_3dhp_dataset.py:327
↓ 2 callersMethod_report_metric
Keypoint evaluation. Args: res_file (str): Json file stored prediction results. metrics (str | list[str]): Metric to
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/top_down/topdown_jhmdb_dataset.py:181
← previousnext →601–700 of 5,947, ranked by callers