MCPcopy Create free account

hub / github.com/aigc3d/LHM / functions

Functions3,669 in github.com/aigc3d/LHM

↓ 1 callersMethod_init_inputs
Check and initialize input transforms. The in_channels, in_index and input_transform must match. Specifically, when input_transform i
engine/pose_estimation/third-party/ViTPose/mmpose/models/heads/deconv_head.py:129
↓ 1 callersMethod_init_inputs
Check and initialize input transforms. The in_channels, in_index and input_transform must match. Specifically, when input_transform i
engine/pose_estimation/third-party/ViTPose/mmpose/models/heads/topdown_heatmap_simple_head.py:229
↓ 1 callersMethod_init_resource
(self, resource_file)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/xdwendwen_node.py:67
↓ 1 callersMethod_initialize_weights
(self)
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/v2v_net.py:250
↓ 1 callersFunction_is_power_of_2
(n)
engine/pose_estimation/dinov2/dinov2/eval/segmentation_m2f/ops/modules/ms_deform_attn.py:57
↓ 1 callersFunction_is_slurm_job_process
()
engine/pose_estimation/dinov2/dinov2/distributed/__init__.py:124
↓ 1 callersFunction_is_url
Check if the file is a url link. Args: filename (str): the file name or url link. Returns: bool: is url or not.
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/utils/misc.py:29
↓ 1 callersMethod_load_camera_param
Load camera parameters from file.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/body3d/body3d_h36m_dataset.py:335
↓ 1 callersMethod_load_camera_param
Load camera parameters from file.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/body3d/body3d_mpi_inf_3dhp_dataset.py:410
↓ 1 callersMethod_load_coco_keypoint_annotation_kernel
load annotation from COCOAPI. Note: bbox:[x1, y1, w, h] Args: img_id: coco image id Returns:
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/top_down/topdown_posetrack18_video_dataset.py:133
↓ 1 callersMethod_load_coco_keypoint_annotation_kernel
load annotation from COCOAPI. Note: bbox:[x1, y1, w, h] Args: img_id: coco image id Returns:
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/top_down/topdown_coco_dataset.py:114
↓ 1 callersMethod_load_coco_keypoint_annotation_kernel
load annotation from COCOAPI. Note: bbox:[x1, y1, w, h] Args: img_id: coco image id Returns:
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/animal/animal_ap10k_dataset.py:116
↓ 1 callersMethod_load_coco_keypoint_annotation_kernel
load annotation from COCOAPI. Note: bbox:[x1, y1, w, h] Args: img_id: coco image id Returns:
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/animal/animal_macaque_dataset.py:112
↓ 1 callersMethod_load_coco_keypoint_annotation_kernel
load annotation from COCOAPI. Note: bbox:[x1, y1, w, h] Args: img_id: coco image id Returns:
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/animal/animal_pose_dataset.py:114
↓ 1 callersMethod_load_coco_keypoint_annotation_kernel
load annotation from COCOAPI. Note: bbox:[x1, y1, w, h] Args: img_id: coco image id Returns:
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/animal/animal_atrw_dataset.py:110
↓ 1 callersMethod_load_coco_keypoint_annotations
Ground truth bbox and keypoints.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/top_down/topdown_posetrack18_video_dataset.py:126
↓ 1 callersMethod_load_coco_keypoint_annotations
Ground truth bbox and keypoints.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/animal/animal_ap10k_dataset.py:106
↓ 1 callersMethod_load_coco_keypoint_annotations
Ground truth bbox and keypoints.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/animal/animal_macaque_dataset.py:105
↓ 1 callersMethod_load_coco_keypoint_annotations
Ground truth bbox and keypoints.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/animal/animal_pose_dataset.py:107
↓ 1 callersMethod_load_coco_keypoint_annotations
Ground truth bbox and keypoints.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/animal/animal_atrw_dataset.py:103
↓ 1 callersMethod_load_coco_person_detection_results
Load coco person detection results.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/top_down/topdown_coco_dataset.py:184
↓ 1 callersMethod_load_joint_2d_detection
Load 2D joint detection results from file.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/body3d/body3d_h36m_dataset.py:223
↓ 1 callersMethod_load_joint_2d_detection
Load 2D joint detection results from file.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/body3d/body3d_mpi_inf_3dhp_dataset.py:227
↓ 1 callersMethod_load_posetrack_person_detection_results
Load Posetrack person detection results. Only in test mode.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/top_down/topdown_posetrack18_video_dataset.py:241
↓ 1 callersFunction_load_test_data
()
engine/pose_estimation/third-party/ViTPose/tests/test_pipelines/test_mesh_pipelines.py:67
↓ 1 callersMethod_load_uids
(meta_path: str)
LHM/datasets/base.py:42
↓ 1 callersMethod_make_branches
Make branches.
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/hrnet.py:117
↓ 1 callersMethod_make_deconv_layer
Make deconv layers.
engine/pose_estimation/third-party/ViTPose/mmpose/models/heads/vipnas_heatmap_simple_head.py:298
↓ 1 callersMethod_make_deconv_layer
Make deconv layers.
engine/pose_estimation/third-party/ViTPose/mmpose/models/heads/deconv_head.py:198
↓ 1 callersMethod_make_deconv_layer
Make deconv layers.
engine/pose_estimation/third-party/ViTPose/mmpose/models/heads/topdown_heatmap_simple_head.py:306
↓ 1 callersMethod_make_deconv_layer
Make deconv layers.
engine/pose_estimation/third-party/ViTPose/mmpose/models/heads/interhand_3d_head.py:117
↓ 1 callersMethod_make_deconv_layer
Make deconv layers.
engine/pose_estimation/third-party/ViTPose/mmpose/models/heads/topdown_heatmap_multi_stage_head.py:220
↓ 1 callersMethod_make_deconv_layer
Make deconv layers.
engine/pose_estimation/third-party/ViTPose/mmpose/models/heads/ae_multi_stage_head.py:163
↓ 1 callersMethod_make_deconv_layers
Make deconv layers.
engine/pose_estimation/third-party/ViTPose/mmpose/models/heads/ae_higher_resolution_head.py:125
↓ 1 callersFunction_make_dinov2_dpt_depth_head
(*, embed_dim: int, min_depth: float, max_depth: float)
LHM/models/encoders/dinov2/hub/depthers.py:167
↓ 1 callersFunction_make_dinov2_dpt_depth_head
(*, embed_dim: int, min_depth: float, max_depth: float)
engine/pose_estimation/dinov2/dinov2/hub/depthers.py:167
↓ 1 callersFunction_make_dinov2_linear_classification_head
( *, arch_name: str = "vit_large", patch_size: int = 14, embed_dim: int = 1024, layers: in
LHM/models/encoders/dinov2/hub/classifiers.py:20
↓ 1 callersFunction_make_dinov2_linear_classification_head
( *, arch_name: str = "vit_large", patch_size: int = 14, embed_dim: int = 1024, layers: in
engine/pose_estimation/dinov2/dinov2/hub/classifiers.py:20
↓ 1 callersFunction_make_dinov2_linear_depth_head
( *, embed_dim: int, layers: int, min_depth: float, max_depth: float, **kwargs, )
LHM/models/encoders/dinov2/hub/depthers.py:36
↓ 1 callersFunction_make_dinov2_linear_depth_head
( *, embed_dim: int, layers: int, min_depth: float, max_depth: float, **kwargs, )
engine/pose_estimation/dinov2/dinov2/hub/depthers.py:36
↓ 1 callersMethod_make_final_layers
Make final layers.
engine/pose_estimation/third-party/ViTPose/mmpose/models/heads/ae_higher_resolution_head.py:88
↓ 1 callersMethod_make_fuse_layers
Make fuse layer.
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/hrnet.py:127
↓ 1 callersMethod_make_fuse_layers
Make fuse layer.
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/litehrnet.py:623
↓ 1 callersMethod_make_layer
(self)
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/mobilenet_v3.py:112
↓ 1 callersMethod_make_layer
Make layer.
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/hrnet.py:441
↓ 1 callersMethod_make_layer
Stack blocks to make a layer. Args: out_channels (int): out_channels of the block. num_blocks (int): number of blocks
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/shufflenet_v2.py:228
↓ 1 callersMethod_make_layer
(self)
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/vipnas_mbv3.py:91
↓ 1 callersMethod_make_linear_layers
Make linear layers.
engine/pose_estimation/third-party/ViTPose/mmpose/models/heads/interhand_3d_head.py:217
↓ 1 callersMethod_make_linear_layers
Make linear layers.
engine/pose_estimation/third-party/ViTPose/mmpose/models/heads/interhand_3d_head.py:259
↓ 1 callersMethod_make_naive_branches
Make branches.
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/litehrnet.py:614
↓ 1 callersMethod_make_one_branch
Make one branch.
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/hrnet.py:71
↓ 1 callersMethod_make_one_branch
Make one branch.
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/litehrnet.py:589
↓ 1 callersFunction_make_scratch
(in_shape, out_shape, groups=1, expand=False)
LHM/models/encoders/dpt_util/blocks.py:4
↓ 1 callersMethod_make_stage
(self, stages_spec, stage_index, in_channels,
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/litehrnet.py:899
↓ 1 callersMethod_make_stem_layer
Make stem layer.
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/vipnas_resnet.py:483
↓ 1 callersMethod_make_stem_layer
Make stem layer.
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/resnet.py:573
↓ 1 callersMethod_make_stem_layer
(self, in_channels, base_channels)
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/regnet.py:197
↓ 1 callersMethod_make_transition_layer
Make transition layer.
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/litehrnet.py:831
↓ 1 callersMethod_make_weighting_blocks
Make channel weighting blocks.
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/litehrnet.py:574
↓ 1 callersFunction_match_by_tag
Match joints by tags. Use Munkres algorithm to calculate the best match for keypoints grouping. Note: number of keypoints: K
engine/pose_estimation/third-party/ViTPose/mmpose/core/post_processing/group.py:28
↓ 1 callersMethod_max_pool
(self, inputs)
engine/pose_estimation/third-party/ViTPose/mmpose/models/heads/voxelpose_head.py:69
↓ 1 callersMethod_merge_pose_results
(pose_results)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/faceswap_node.py:238
↓ 1 callersFunction_nms
easy non maximal supression (as in CenterNet)
engine/pose_estimation/model.py:820
↓ 1 callersMethod_nms_by_max_pool
(self, heatmap_volumes)
engine/pose_estimation/third-party/ViTPose/mmpose/models/heads/voxelpose_head.py:58
↓ 1 callersMethod_ohkm
Online hard keypoint mining.
engine/pose_estimation/third-party/ViTPose/mmpose/models/losses/mse_loss.py:115
↓ 1 callersMethod_on_keyboard_input
Handle the keyboard input.
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/webcam_runner.py:216
↓ 1 callersFunction_parse_h36m_imgname
Parse imgname to get information of subject, action and camera. A typical h36m image filename is like: S1_Directions_1.54138969_00000
engine/pose_estimation/third-party/ViTPose/tests/test_pipelines/test_pose3d_transform.py:19
↓ 1 callersMethod_parse_keypoint_info
Parse keypoint information. - keypoint_num (int): number of keypoints. - keypoint_id2name (dict): mapping keypoint id to keypoint nam
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/dataset_info.py:45
↓ 1 callersMethod_parse_losses
(losses)
LHM/models/encoders/dinov2/hub/depth/encoder_decoder.py:318
↓ 1 callersMethod_parse_losses
(losses)
engine/pose_estimation/dinov2/dinov2/hub/depth/encoder_decoder.py:318
↓ 1 callersMethod_parse_mpi_inf_3dhp_imgname
Parse imgname to get information of subject, sequence and camera. A typical mpi-inf-3dhp training image filename is like: S1_Seq1_Cam
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/body3d/body3d_mpi_inf_3dhp_dataset.py:154
↓ 1 callersMethod_parse_skeleton_info
Parse skeleton information. - link_num (int): number of links. - skeleton (list((2,))): list of links (id). - skeleton_name (
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/dataset_info.py:21
↓ 1 callersFunction_parse_slurm_node_list
(s: str)
engine/pose_estimation/dinov2/dinov2/distributed/__init__.py:128
↓ 1 callersMethod_post_process
(self, preds)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/mmdet_node.py:57
↓ 1 callersMethod_postprocess
(self, bbox, scores, flame_params, conf_threshold)
LHM/utils/face_detector.py:132
↓ 1 callersMethod_preprocess
(self, image)
LHM/utils/face_detector.py:112
↓ 1 callersMethod_preprocess
(self, img)
LHM/models/encoders/sapiens_warpper.py:62
↓ 1 callersMethod_preprocess
(self, img_np)
engine/pose_estimation/pose_estimator.py:90
↓ 1 callersMethod_preprocess_image
( self, image: torch.tensor, resolution: int = 1024 )
LHM/models/encoders/dinov2_fusion_wrapper.py:134
↓ 1 callersMethod_preprocess_image
( self, image: torch.tensor, resolution: int = 1024 )
LHM/models/encoders/sapiens_warpper.py:156
↓ 1 callersFunction_process_mmcls_checkpoint
(checkpoint)
engine/pose_estimation/third-party/ViTPose/mmcv_custom/checkpoint.py:220
↓ 1 callersFunction_py_max_match
Apply munkres algorithm to get the best match. Args: scores(np.ndarray): cost matrix. Returns: np.ndarray: best match.
engine/pose_estimation/third-party/ViTPose/mmpose/core/post_processing/group.py:13
↓ 1 callersMethod_report_metric
Keypoint evaluation. Report Mean Acc of skeleton, contour and all joints.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/top_down/topdown_mpii_trb_dataset.py:272
↓ 1 callersFunction_rescore
Rescoring mechanism gaussian or linear. Args: overlap: calculated ious scores: target scores. thr: retain oks overlap < t
engine/pose_estimation/third-party/ViTPose/mmpose/core/post_processing/nms.py:131
↓ 1 callersMethod_reset_parameters
(self)
engine/pose_estimation/dinov2/dinov2/eval/segmentation_m2f/ops/modules/ms_deform_attn.py:99
↓ 1 callersFunction_resize_average
Resize the feature maps and compute the average. Args: feature_maps (list[Tensor]): Feature maps. align_corners (bool): Align cor
engine/pose_estimation/third-party/ViTPose/mmpose/core/evaluation/bottom_up_eval.py:68
↓ 1 callersFunction_resize_unsqueeze_concat
Resize, unsqueeze and concatenate the feature_maps. Args: feature_maps (list[Tensor]): Feature maps. align_corners (bool): Align
engine/pose_estimation/third-party/ViTPose/mmpose/core/evaluation/bottom_up_eval.py:96
↓ 1 callersMethod_restore_root_target_weight
Restore the target weight of the root joint after the restoration of the global position. Args: target_weight (np.ndarray
engine/pose_estimation/third-party/ViTPose/mmpose/models/heads/temporal_regression_head.py:295
↓ 1 callersFunction_restrict_print_to_main_process
This function disables printing when not in the main process
engine/pose_estimation/dinov2/dinov2/distributed/__init__.py:74
↓ 1 callersFunction_rotate_joints_3d
Rotate the 3D joints in the local coordinates. Note: Joints number: K Args: joints_3d (np.ndarray([K, 3])): Coordinates of k
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/mesh_transform.py:87
↓ 1 callersFunction_rotate_smpl_pose
Rotate SMPL pose parameters. SMPL (https://smpl.is.tue.mpg.de/) is a 3D human model. Args: pose (np.ndarray([72])): SMPL pose paramet
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/mesh_transform.py:110
↓ 1 callersMethod_sample_neg
Sample negative samples.
engine/pose_estimation/dinov2/dinov2/eval/segmentation_m2f/core/box/samplers/base_sampler.py:30
↓ 1 callersMethod_sample_pos
Sample positive samples.
engine/pose_estimation/dinov2/dinov2/eval/segmentation_m2f/core/box/samplers/base_sampler.py:25
↓ 1 callersFunction_save_to_state_dict
Saves module state to `destination` dictionary. This method is modified from :meth:`torch.nn.Module._save_to_state_dict`. Args: modu
engine/pose_estimation/third-party/ViTPose/mmcv_custom/checkpoint.py:426
↓ 1 callersMethod_set_from_local
(self)
engine/pose_estimation/dinov2/dinov2/distributed/__init__.py:210
↓ 1 callersMethod_set_from_preset_env
(self)
engine/pose_estimation/dinov2/dinov2/distributed/__init__.py:198
↓ 1 callersMethod_set_from_slurm_env
(self)
engine/pose_estimation/dinov2/dinov2/distributed/__init__.py:181
↓ 1 callersMethod_setup_args
(self)
engine/pose_estimation/dinov2/dinov2/run/eval/linear.py:35
↓ 1 callersMethod_setup_args
(self)
engine/pose_estimation/dinov2/dinov2/run/eval/log_regression.py:35
↓ 1 callersMethod_setup_args
(self)
engine/pose_estimation/dinov2/dinov2/run/eval/knn.py:35
← previousnext →901–1,000 of 3,669, ranked by callers