MCPcopy Create free account

hub / github.com/MotrixLab/ADHMR / functions

Functions2,101 in github.com/MotrixLab/ADHMR

↓ 1 callersMethodmake_res_layer
Make a ViPNAS ResLayer.
HMR-Scorer/main/transformer_utils/mmpose/models/backbones/vipnas_resnet.py:474
↓ 1 callersFunctionmake_vgg_layer
(in_channels, out_channels, num_blocks, conv_cfg=None
HMR-Scorer/main/transformer_utils/mmpose/models/backbones/vgg.py:10
↓ 1 callersFunctionmap2token
Transform feature map to vision tokens. This function only works when the resolution of the feature map is not higher than the initial grid st
HMR-Scorer/main/transformer_utils/mmpose/models/utils/tcformer_utils.py:160
↓ 1 callersMethodmask_weights
(self, layer, mask, mshape)
HMR-Scorer/common/nets/scorernet.py:190
↓ 1 callersMethodmatch
Group keypoints to human poses in a batch. Args: tag_k (np.ndarray[NxKxMxL]): tag corresponding to the top k valu
HMR-Scorer/main/transformer_utils/mmpose/core/post_processing/group.py:179
↓ 1 callersFunctionmerge_models
(smplh_fn, mano_left_fn, mano_right_fn, output_folder='output')
ADHMR/lib/utils/smplx/tools/merge_smplh_mano.py:29
↓ 1 callersFunctionmerge_models
(smplh_fn, mano_left_fn, mano_right_fn, output_folder='output')
ADHMR/lib/dataset/humandata_utils/smplx/tools/merge_smplh_mano.py:29
↓ 1 callersFunctionmerge_models
(smplh_fn, mano_left_fn, mano_right_fn, output_folder='output')
HMR-Scorer/common/utils/smplx/tools/merge_smplh_mano.py:29
↓ 1 callersFunctionmerge_tokens
Merge tokens in the same cluster to a single cluster. Implemented by torch.index_add(). Flops: B*N*(C+2) Note: B: batch size
HMR-Scorer/main/transformer_utils/mmpose/models/utils/tcformer_utils.py:405
↓ 1 callersFunctionmulti_scale_deformable_post_v
CPU version of multi-scale deformable attention. Args: value (Tensor): The value has shape (bs, num_keys, mum_heads, embed_dim
HMR-Scorer/main/transformer_utils/mmpose/ops/multi_scale_deform_attn.py:788
↓ 1 callersMethodname
(self)
ADHMR/lib/utils/smplx/smplx/body_models.py:262
↓ 1 callersMethodname
(self)
ADHMR/lib/utils/smplx/smplx/body_models.py:1008
↓ 1 callersMethodname
(self)
ADHMR/lib/utils/smplx/smplx/body_models.py:1936
↓ 1 callersMethodname
(self)
ADHMR/lib/dataset/humandata_utils/smplx/smplx/body_models.py:263
↓ 1 callersMethodname
(self)
ADHMR/lib/dataset/humandata_utils/smplx/smplx/body_models.py:1009
↓ 1 callersMethodname
(self)
ADHMR/lib/dataset/humandata_utils/smplx/smplx/body_models.py:1937
↓ 1 callersMethodname
(self)
HMR-Scorer/common/utils/smplx/smplx/body_models_origin.py:263
↓ 1 callersMethodname
(self)
HMR-Scorer/common/utils/smplx/smplx/body_models_origin.py:1009
↓ 1 callersMethodname
(self)
HMR-Scorer/common/utils/smplx/smplx/body_models_origin.py:1896
↓ 1 callersMethodname
(self)
HMR-Scorer/common/utils/smplx/smplx/body_models.py:263
↓ 1 callersMethodname
(self)
HMR-Scorer/common/utils/smplx/smplx/body_models.py:1063
↓ 1 callersMethodname
(self)
HMR-Scorer/common/utils/smplx/smplx/body_models.py:2298
↓ 1 callersFunctionnets
()
HMR-Scorer/main/transformer_utils/mmpose/models/heads/rle_regression_head.py:83
↓ 1 callersFunctionnett
()
HMR-Scorer/main/transformer_utils/mmpose/models/heads/rle_regression_head.py:90
↓ 1 callersMethodnms
Non-Maximum Suppression for heatmaps. Args: heatmap(torch.Tensor): Heatmaps before nms. Returns: torch.Tenso
HMR-Scorer/main/transformer_utils/mmpose/core/post_processing/group.py:163
↓ 1 callersMethodnorm0
(self)
HMR-Scorer/main/transformer_utils/mmpose/models/backbones/resnest.py:97
↓ 1 callersMethodnorm1
(self)
HMR-Scorer/main/transformer_utils/mmpose/models/backbones/resnest.py:101
↓ 1 callersMethodnorm1
nn.Module: the normalization layer named "norm1"
HMR-Scorer/main/transformer_utils/mmpose/models/backbones/hrnet.py:385
↓ 1 callersMethodnorm1
nn.Module: the normalization layer named "norm1"
HMR-Scorer/main/transformer_utils/mmpose/models/backbones/vipnas_resnet.py:124
↓ 1 callersMethodnorm1
nn.Module: the normalization layer named "norm1"
HMR-Scorer/main/transformer_utils/mmpose/models/backbones/vipnas_resnet.py:479
↓ 1 callersMethodnorm1
nn.Module: the normalization layer named "norm1"
HMR-Scorer/main/transformer_utils/mmpose/models/backbones/resnet.py:92
↓ 1 callersMethodnorm1
nn.Module: the normalization layer named "norm1"
HMR-Scorer/main/transformer_utils/mmpose/models/backbones/resnet.py:569
↓ 1 callersMethodnorm1
nn.Module: normalization layer after the first convolution layer
HMR-Scorer/main/transformer_utils/mmpose/models/backbones/modules/bottleneck_block.py:77
↓ 1 callersMethodnorm2
nn.Module: the normalization layer named "norm2"
HMR-Scorer/main/transformer_utils/mmpose/models/backbones/hrnet.py:390
↓ 1 callersMethodnorm2
nn.Module: the normalization layer named "norm2"
HMR-Scorer/main/transformer_utils/mmpose/models/backbones/vipnas_resnet.py:129
↓ 1 callersMethodnorm2
nn.Module: the normalization layer named "norm2"
HMR-Scorer/main/transformer_utils/mmpose/models/backbones/resnet.py:97
↓ 1 callersMethodnorm2
nn.Module: the normalization layer named "norm2"
HMR-Scorer/main/transformer_utils/mmpose/models/backbones/resnet.py:232
↓ 1 callersMethodnorm2
nn.Module: normalization layer after the second convolution layer
HMR-Scorer/main/transformer_utils/mmpose/models/backbones/modules/bottleneck_block.py:82
↓ 1 callersMethodnorm3
nn.Module: the normalization layer named "norm3"
HMR-Scorer/main/transformer_utils/mmpose/models/backbones/vipnas_resnet.py:134
↓ 1 callersMethodohkm
(self, loss, weight)
HMR-Scorer/main/transformer_utils/mmpose/models/losses/rle_loss.py:96
↓ 1 callersMethodori
(self, loss, weight)
HMR-Scorer/main/transformer_utils/mmpose/models/losses/rle_loss.py:112
↓ 1 callersFunctionoutput2original_scale
(meta, output, vis=False,start=0)
ADHMR/lib/utils/inference.py:35
↓ 1 callersMethodpad_if_needed
(self, x, size)
HMR-Scorer/main/transformer_utils/mmpose/models/backbones/modules/multihead_isa_attention.py:382
↓ 1 callersFunctionparse_args
()
HMR-Scorer/main/test_scorer.py:13
↓ 1 callersFunctionparse_args_and_config
()
ADHMR/main/main.py:35
↓ 1 callersFunctionparse_line
Parse information from a line in a requirements text file.
HMR-Scorer/main/transformer_utils/setup.py:50
↓ 1 callersFunctionpatch_forward_method
Patch the forward method of a module. Args: func (callable): The original forward method. src_type (torch.dtype): Type of input a
HMR-Scorer/main/transformer_utils/mmpose/core/fp16/hooks.py:147
↓ 1 callersFunctionpatch_norm_fp32
Recursively convert normalization layers from FP16 to FP32. Args: module (nn.Module): The modules to be converted in FP16. Returns:
HMR-Scorer/main/transformer_utils/mmpose/core/fp16/hooks.py:128
↓ 1 callersFunctionperspective_projection
This function computes the perspective projection of a set of 3D points. Note: - batch size: B - point number: N Args:
HMR-Scorer/main/transformer_utils/mmpose/models/losses/mesh_loss.py:9
↓ 1 callersFunctionperspective_projection
(vertices, cam_param)
HMR-Scorer/common/utils/vis.py:132
↓ 1 callersFunctionpixel2cam_batch
(pixel_coord, f, c)
ADHMR/lib/utils/pose_utils copy.py:300
↓ 1 callersFunctionpixel2cam_batch
(pixel_coord, f, c)
ADHMR/lib/utils/pose_utils.py:300
↓ 1 callersFunctionpixel2cam_matrix
(pixel_coord, intrinsic_param)
ADHMR/lib/utils/pose_utils.py:314
↓ 1 callersFunctionpixel2cam_test
(coords, f,c)
ADHMR/lib/utils/pose_utils.py:354
↓ 1 callersFunctionpoint_sample
A wrapper around :function:`torch.nn.functional.grid_sample` to support 3D point_coords tensors. Unlike :function:`torch.nn.functional.grid_s
HMR-Scorer/main/transformer_utils/mmpose/models/utils/transformer.py:33
↓ 1 callersFunctionpositionalencoding2d
:param d_model: dimension of the model :param height: height of the positions :param width: width of the positions :return: d_model*h
ADHMR/lib/models/hyponet.py:35
↓ 1 callersFunctionpositionalencoding2d
:param d_model: dimension of the model :param height: height of the positions :param width: width of the positions :return: d_model*h
ADHMR/lib/models/scorenet.py:34
↓ 1 callersFunctionpositionalencoding2d
:param d_model: dimension of the model :param height: height of the positions :param width: width of the positions :return: d_model*h
HMR-Scorer/common/nets/scorernet.py:37
↓ 1 callersMethodprepare_dirs
(self, exp_name)
HMR-Scorer/main/config.py:29
↓ 1 callersMethodprint_eval_result
(self, eval_result)
HMR-Scorer/data/PW3D/PW3D.py:255
↓ 1 callersMethodproject_joints
Project 3D joint coordinates to 2D image plane using camera intrinsic parameters. Args: x (torch.Tensor[N, K, 3]): 3D joi
HMR-Scorer/main/transformer_utils/mmpose/models/losses/regression_loss.py:478
↓ 1 callersMethodproject_points
Perform orthographic projection of 3D points using the camera parameters, return projected 2D points in image plane. Note:
HMR-Scorer/main/transformer_utils/mmpose/models/losses/mesh_loss.py:148
↓ 1 callersMethodprojection
(self, xyz, camera, f)
ADHMR/lib/utils/presets/simple_transform_3d_smpl_cam.py:713
↓ 1 callersFunctionpvt_convert
(ckpt)
HMR-Scorer/main/transformer_utils/mmpose/models/utils/ckpt_convert.py:12
↓ 1 callersFunctionqsort_bbox_list
Sort a list of bboxes, by their area in pixel(W*H). Args: input_list (list): A list of bboxes. Each item is a list of (x1, y1
HMR-Scorer/common/utils/inference_utils.py:46
↓ 1 callersMethodquantize_float
Converts a float to closest non-zero int divisible by divior. Args: number (int): Original number to be quantized. di
HMR-Scorer/main/transformer_utils/mmpose/models/backbones/regnet.py:244
↓ 1 callersFunctionquat_to_rotmat
Convert quaternion coefficients to rotation matrix. Args: quat: size = [B, 4] 4 <===>(w, x, y, z) Returns: Rotation matrix cor
HMR-Scorer/main/transformer_utils/mmpose/models/utils/geometry.py:43
↓ 1 callersFunctionquaternion_to_angle_axis
This function is borrowed from https://github.com/kornia/kornia Convert quaternion vector to angle axis of rotation. Adapted from ceres
ADHMR/lib/utils/transforms_humandata.py:417
↓ 1 callersFunctionquaternion_to_angle_axis
This function is borrowed from https://github.com/kornia/kornia Convert quaternion vector to angle axis of rotation. Adapted from ceres
ADHMR/lib/models/layers/smpl/lbs.py:1725
↓ 1 callersFunctionquaternion_to_rotation_matrix
Convert quaternion coefficients to rotation matrix. Args: quat: size = [B, 4] 4 <===>(w, x, y, z) Returns: Rotation matrix cor
ADHMR/lib/utils/transforms_humandata.py:395
↓ 1 callersFunctionreadme
()
HMR-Scorer/main/transformer_utils/setup.py:10
↓ 1 callersMethodrefine
Given initial keypoint predictions, we identify missing joints. Note: number of keypoints: K heatmap height: H
HMR-Scorer/main/transformer_utils/mmpose/core/post_processing/group.py:290
↓ 1 callersFunctionrender_frame
(framestamp, anno_ps, image_base_path, seq, smplx_model, args)
HMR-Scorer/main/render.py:154
↓ 1 callersMethodreport
Report timing information. Returns: dict: The key is the timer name and the value is the \ corresponding average
HMR-Scorer/main/transformer_utils/mmpose/utils/timer.py:80
↓ 1 callersMethodreset_parameters
(self)
ADHMR/lib/models/hyponet.py:86
↓ 1 callersMethodreset_parameters
(self)
ADHMR/lib/models/hyponet.py:259
↓ 1 callersMethodresize_pos_embed
Resize pos_embed weights. Resize pos_embed using bilinear interpolate method. Args: pos_embed (torch.Tensor): Position e
HMR-Scorer/main/transformer_utils/mmpose/models/backbones/pvt.py:322
↓ 1 callersMethodrev_permute
(self, x, size)
HMR-Scorer/main/transformer_utils/mmpose/models/backbones/modules/multihead_isa_attention.py:424
↓ 1 callersFunctionrgetattr
(obj, attr, *args)
HMR-Scorer/main/transformer_utils/mmpose/utils/hooks.py:55
↓ 1 callersFunctionrigid_transform_3D
(A, B)
ADHMR/lib/utils/transforms_humandata.py:56
↓ 1 callersFunctionrigid_transform_3D
(A, B)
HMR-Scorer/common/utils/transforms.py:34
↓ 1 callersFunctionrle_fliplr_regression
Flip human joints horizontally. Note: batch_size: N num_keypoint: K Args: regression (np.ndarray([..., K, C])): Coord
HMR-Scorer/main/transformer_utils/mmpose/models/heads/rle_regression_head.py:15
↓ 1 callersFunctionrot_mat_to_euler
(rot_mats)
ADHMR/lib/utils/smplx/smplx/utils.py:119
↓ 1 callersFunctionrot_mat_to_euler
(rot_mats)
ADHMR/lib/dataset/humandata_utils/smplx/smplx/utils.py:119
↓ 1 callersFunctionrot_mat_to_euler
(rot_mats)
ADHMR/lib/models/layers/smpl/lbs.py:28
↓ 1 callersFunctionrotate_point
Rotate a point by an angle. Args: pt (list[float]): 2 dimensional point to be rotated angle_rad (float): rotation angle by radian
HMR-Scorer/main/transformer_utils/mmpose/core/post_processing/post_transforms.py:293
↓ 1 callersFunctionrotation_matrix_to_quaternion
This function is borrowed from https://github.com/kornia/kornia Convert 3x4 rotation matrix to 4d quaternion vector This algorithm is b
ADHMR/lib/utils/transforms_humandata.py:313
↓ 1 callersFunctionrotation_matrix_to_quaternion
This function is borrowed from https://github.com/kornia/kornia Convert 3x4 rotation matrix to 4d quaternion vector This algorithm is bas
HMR-Scorer/common/utils/smplx/smplx/lbs.py:1310
↓ 1 callersMethodsample
(self, state)
ADHMR/lib/runners/hyponet.py:399
↓ 1 callersMethodsample
(self, state, construct_dpo=False)
ADHMR/lib/runners/scorenet.py:296
↓ 1 callersMethodsample
(self, state)
ADHMR/lib/runners/inference.py:190
↓ 1 callersMethodsample_pose
(self, xj,xt, model, content = None, last = True, gen_multi = False)
ADHMR/lib/runners/hyponet.py:507
↓ 1 callersMethodsample_pose
(self, xj, xt, model,content=None, last=True,gen_multi=True)
ADHMR/lib/runners/scorenet.py:510
↓ 1 callersMethodsample_pose
(self, xj,xt, model,content=None, last=True,gen_multi=True)
ADHMR/lib/runners/inference.py:377
↓ 1 callersFunctionsanitize_bbox
(bbox, img_width, img_height)
ADHMR/lib/utils/preprocessing.py:47
↓ 1 callersFunctionsanitize_bbox
(bbox, img_width, img_height)
HMR-Scorer/common/utils/preprocessing.py:47
↓ 1 callersMethodsave
(cls, save_path, data_list, data_strategy)
ADHMR/lib/dataset/humandata.py:62
↓ 1 callersMethodsave
(cls, save_path, data_list, data_strategy)
HMR-Scorer/data/humandata.py:61
↓ 1 callersMethodsave
(cls, save_path, data_list, data_strategy)
HMR-Scorer/data/InstaVariety_DPO.py:176
↓ 1 callersMethodsave
(cls, save_path, data_list, data_strategy)
HMR-Scorer/data/Human36M_DPO.py:179
← previousnext →701–800 of 2,101, ranked by callers