MCPcopy Create free account

hub / github.com/aigc3d/LHM / functions

Functions3,669 in github.com/aigc3d/LHM

↓ 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 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_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_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_encoder_fn
(encoder_type: str)
LHM/models/modeling_human_lrm.py:200
↓ 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 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 callersMethod_get_max_step_folder
Helper to find the deepest 'step_*' folder or return current_path if none exist.
LHM/utils/model_download_utils.py:71
↓ 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 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 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_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
↓ 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 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 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_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 callersMethodapproximate_RDP
(self, boundaries, epsilon=1.0)
engine/BiRefNet/evaluation/metrics.py:649
↓ 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/runners/infer/human_lrm.py:72
↓ 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 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 callersFunctionbuild_edge_closure
Builds the closure for the edge objective
LHM/models/rendering/smplx/transfer_model/transfer_model.py:107
↓ 2 callersFunctionbuild_loss
(type='l2', reduction='mean', **kwargs)
LHM/models/rendering/smplx/transfer_model/losses/losses.py:45
↓ 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_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 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 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 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 callersFunctioncompute_psnr
(src, tar)
tools/metrics/compute_psnr_anigs.py:56
↓ 2 callersFunctioncompute_psnr
(src, tar)
tools/metrics/compute_psnr.py:55
↓ 2 callersMethodcontrast
Contrast distortion.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/shared_transform.py:349
↓ 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 callersFunctioncreate_intrinsics
return: (3, 2)
LHM/datasets/cam_utils.py:183
← previousnext →401–500 of 3,669, ranked by callers