MCPcopy Create free account

hub / github.com/MotrixLab/ADHMR / functions

Functions2,101 in github.com/MotrixLab/ADHMR

Functioncreate
Method for creating a model from a path and a model type Parameters ---------- model_path: str Either the path t
ADHMR/lib/dataset/humandata_utils/smplx/smplx/body_models.py:2310
Functioncreate
Method for creating a model from a path and a model type Parameters ---------- model_path: str Either the path t
HMR-Scorer/common/utils/smplx/smplx/body_models_origin.py:2269
Functioncreate
Method for creating a model from a path and a model type Parameters ---------- model_path: str Either the path t
HMR-Scorer/common/utils/smplx/smplx/body_models.py:2671
Methodcreate_mean_pose
(self, data_struct)
ADHMR/lib/utils/smplx/smplx/body_models.py:259
Methodcreate_mean_pose
(self, data_struct, flat_hand_mean=False)
ADHMR/lib/utils/smplx/smplx/body_models.py:1015
Methodcreate_mean_pose
(self, data_struct)
ADHMR/lib/dataset/humandata_utils/smplx/smplx/body_models.py:260
Methodcreate_mean_pose
(self, data_struct, flat_hand_mean=False)
ADHMR/lib/dataset/humandata_utils/smplx/smplx/body_models.py:1016
Methodcreate_mean_pose
(self, data_struct)
HMR-Scorer/common/utils/smplx/smplx/body_models_origin.py:260
Methodcreate_mean_pose
(self, data_struct, flat_hand_mean=False)
HMR-Scorer/common/utils/smplx/smplx/body_models_origin.py:1016
Methodcreate_mean_pose
(self, data_struct)
HMR-Scorer/common/utils/smplx/smplx/body_models.py:260
Methodcreate_mean_pose
(self, data_struct, flat_hand_mean=False)
HMR-Scorer/common/utils/smplx/smplx/body_models.py:1070
Methodcritical
(self, msg)
HMR-Scorer/common/logger.py:45
Functioncv_cropBoxInverse
Paste the cropped bbox to the original image. Parameters ---------- inp: torch.Tensor A tensor with shape: `(3, height, width)`.
ADHMR/lib/utils/transforms.py:345
Functioncv_rotate
Rotate image by Affinetransform. Parameters ---------- img: torch.Tensor A tensor with shape: `(3, H, W)`. rot: int R
ADHMR/lib/utils/transforms.py:401
Methoddebug
(self, msg)
HMR-Scorer/common/logger.py:36
Methoddecode
Decode keypoints from heatmaps. Args: img_metas (list(dict)): Information about data augmentation By default this
HMR-Scorer/main/transformer_utils/mmpose/models/heads/topdown_heatmap_base_head.py:40
Functiondeepapply
r"""Applies `fn` to all tensors referenced in `obj`
HMR-Scorer/main/transformer_utils/mmpose/models/heads/poseur_head.py:111
Functiondenormalize_pose_cuda
pose: [N, 17*3]
ADHMR/lib/utils/pose_utils copy.py:75
Functiondraw
(path,data,num_joints,mode=0)
ADHMR/lib/utils/draw.py:209
Functiondraw2
(path)
ADHMR/lib/utils/draw.py:251
Functiondraw3D
(data,num_joints)
ADHMR/lib/utils/draw.py:233
FunctiondrawGaussian
Draw 2d gaussian on input image. Parameters ---------- img: torch.Tensor A tensor with shape: `(3, H, W)`. pt: list or tuple
ADHMR/lib/utils/transforms.py:462
Functiondrawbbox
(bbox)
ADHMR/lib/utils/draw.py:220
Methodevaluate
(self, preds, result_dir)
ADHMR/lib/dataset/hp3d.py:472
Methodevaluate
(self, outs, cur_sample_idx=None)
ADHMR/lib/dataset/humandata.py:791
Methodevaluate
(self, outs, cur_sample_idx=None)
HMR-Scorer/data/humandata.py:707
Methodevaluate
(self, outs, cur_sample_idx=None)
HMR-Scorer/data/humandata_scorer_test.py:607
Methodevaluate
(self, outs, cur_sample_idx)
HMR-Scorer/data/Human36M/Human36M.py:243
Methodevaluate
(self, cfg, preds, output_dir, *args, **kwargs)
HMR-Scorer/main/transformer_utils/mmpose/deprecated.py:28
Methodevaluate
(self, cfg, preds, output_dir, *args, **kwargs)
HMR-Scorer/main/transformer_utils/mmpose/deprecated.py:45
Methodevaluate
(self, cfg, preds, output_dir, *args, **kwargs)
HMR-Scorer/main/transformer_utils/mmpose/deprecated.py:62
Methodevaluate_uvd_24
(self, preds, result_dir)
ADHMR/lib/dataset/h36m_dpo.py:391
Methodevaluate_uvd_24
(self, preds, result_dir)
ADHMR/lib/dataset/h36m.py:364
Methodevaluate_uvd_24
(self, preds, result_dir)
ADHMR/lib/dataset/pw3d.py:441
Methodevaluate_uvd_24
(self, preds, result_dir)
ADHMR/lib/dataset/pw3d_dpo.py:477
Methodevaluate_xyz_17
(self, preds, result_dir,flip=False)
ADHMR/lib/dataset/h36m_dpo.py:537
Methodevaluate_xyz_17
(self, preds, result_dir,flip=False)
ADHMR/lib/dataset/h36m.py:510
Methodevaluate_xyz_17
(self, preds, result_dir,flip=False)
ADHMR/lib/dataset/pw3d.py:558
Methodevaluate_xyz_17
(self, preds, result_dir,flip=False)
ADHMR/lib/dataset/pw3d_dpo.py:594
Methodevaluate_xyz_24
(self, preds, result_dir)
ADHMR/lib/dataset/h36m_dpo.py:465
Methodevaluate_xyz_24
(self, preds, result_dir)
ADHMR/lib/dataset/h36m.py:438
Methodevaluate_xyz_24
(self, preds, result_dir)
ADHMR/lib/dataset/pw3d.py:504
Methodevaluate_xyz_24
(self, preds, result_dir)
ADHMR/lib/dataset/pw3d_dpo.py:540
Methodextra_repr
(self)
ADHMR/lib/utils/smplx/smplx/body_models.py:654
Methodextra_repr
(self)
ADHMR/lib/utils/smplx/smplx/body_models.py:1033
Methodextra_repr
(self)
ADHMR/lib/utils/smplx/smplx/body_models.py:1590
Methodextra_repr
(self)
ADHMR/lib/utils/smplx/smplx/body_models.py:1939
Methodextra_repr
(self)
ADHMR/lib/dataset/humandata_utils/smplx/smplx/body_models.py:655
Methodextra_repr
(self)
ADHMR/lib/dataset/humandata_utils/smplx/smplx/body_models.py:1034
Methodextra_repr
(self)
ADHMR/lib/dataset/humandata_utils/smplx/smplx/body_models.py:1591
Methodextra_repr
(self)
ADHMR/lib/dataset/humandata_utils/smplx/smplx/body_models.py:1940
Methodextra_repr
(self)
HMR-Scorer/main/transformer_utils/mmpose/models/backbones/vit.py:27
Methodextra_repr
(Optional) Set the extra information about this module.
HMR-Scorer/main/transformer_utils/mmpose/models/backbones/hrformer.py:391
Methodextra_repr
(self)
HMR-Scorer/main/transformer_utils/mmpose/models/backbones/modules/transformer_block.py:52
Methodextra_repr
(self)
HMR-Scorer/common/utils/smplx/smplx/body_models_origin.py:655
Methodextra_repr
(self)
HMR-Scorer/common/utils/smplx/smplx/body_models_origin.py:1034
Methodextra_repr
(self)
HMR-Scorer/common/utils/smplx/smplx/body_models_origin.py:1550
Methodextra_repr
(self)
HMR-Scorer/common/utils/smplx/smplx/body_models_origin.py:1899
Methodextra_repr
(self)
HMR-Scorer/common/utils/smplx/smplx/body_models.py:663
Methodextra_repr
(self)
HMR-Scorer/common/utils/smplx/smplx/body_models.py:1088
Methodextra_repr
(self)
HMR-Scorer/common/utils/smplx/smplx/body_models.py:1952
Methodextra_repr
(self)
HMR-Scorer/common/utils/smplx/smplx/body_models.py:2301
Functionfind_dynamic_lmk_idx_and_bcoords
Compute the faces, barycentric coordinates for the dynamic landmarks To do so, we first compute the rotation of the neck around the y-axis
ADHMR/lib/models/layers/smpl/lbs.py:37
Functionfind_dynamic_lmk_idx_and_bcoords
Compute the faces, barycentric coordinates for the dynamic landmarks To do so, we first compute the rotation of the neck around the y-axis
HMR-Scorer/common/utils/smplx/smplx/lbs_origin.py:30
Functionfix_cropBox
Crop bbox from image by Affinetransform. Parameters ---------- img: torch.Tensor A tensor with shape: `(3, H, W)`. bbox: list
ADHMR/lib/utils/transforms.py:248
Functionfix_cropBox_rot
Crop bbox from image by Affinetransform. Parameters ---------- img: torch.Tensor A tensor with shape: `(3, H, W)`. bbox: list
ADHMR/lib/utils/transforms.py:288
Functionflatten_prelate
(score,mpjpe,eps=1e-12)
ADHMR/lib/utils/relation.py:47
Functionflip_coord
Flip pose heatmap according to joint pairs. Parameters ---------- heatmap : numpy.ndarray Heatmap of joints. joint_pairs : li
ADHMR/lib/utils/transforms.py:554
Functionflip_coord_2d
Flip pose heatmap according to joint pairs. Parameters ---------- heatmap : numpy.ndarray Heatmap of joints. joint_pairs : li
ADHMR/lib/utils/transforms.py:688
Functionflip_coord_bone
Flip pose heatmap according to joint pairs. Parameters ---------- heatmap : numpy.ndarray Heatmap of joints. joint_pairs : li
ADHMR/lib/utils/transforms.py:804
Functionflip_feature_maps
Flip the feature maps and swap the channels. Args: feature_maps (list[Tensor]): Feature maps. flip_index (list[int] | None): Chan
HMR-Scorer/main/transformer_utils/mmpose/core/evaluation/bottom_up_eval.py:46
Functionflip_heatmap
Flip pose heatmap according to joint pairs. Parameters ---------- heatmap : numpy.ndarray Heatmap of joints. joint_pairs : li
ADHMR/lib/utils/transforms.py:516
Functionflip_heatmap_coord
Flip pose heatmap and coord_z according to joint pairs. Parameters ---------- preds : [[torch.Tensor, torch.Tensor], torch.Tensor]
ADHMR/lib/utils/transforms.py:725
Functionflip_heatmap_dz
(heatmap, joint_pairs, bone_pairs, num_joints, num_bones, shift=False)
ADHMR/lib/utils/transforms.py:769
Functionflip_joints_3d_valid
Flip 3d joints. Parameters ---------- joints_3d : numpy.ndarray Joints in shape (num_joints, 3, 2) width : int Image
ADHMR/lib/utils/transforms.py:929
Functionflip_refine_coord
Flip pose heatmap according to joint pairs. Parameters ---------- heatmap : numpy.ndarray Heatmap of joints. joint_pairs : li
ADHMR/lib/utils/transforms.py:853
Functionflip_uvd_coord
Flip pose heatmap according to joint pairs. Parameters ---------- heatmap : numpy.ndarray Heatmap of joints. joint_pairs : li
ADHMR/lib/utils/transforms.py:600
Functionflip_xyz_coord
Flip pose heatmap according to joint pairs. Parameters ---------- xyz_jts : torch.Tensor Heatmap of joints. joint_pairs : lis
ADHMR/lib/utils/transforms.py:646
Functionfliplr_joints
flip coords: 2d or 3d joints
ADHMR/lib/utils/draw.py:136
Functionfliplr_joints
Flip human joints horizontally. Note: - num_keypoints: K Args: joints_3d (np.ndarray([K, 3])): Coordinates of keypoints.
HMR-Scorer/main/transformer_utils/mmpose/core/post_processing/post_transforms.py:13
Functionfliplr_regression
Flip human joints horizontally. Note: - batch_size: N - num_keypoint: K Args: regression (np.ndarray([..., K, C])):
HMR-Scorer/main/transformer_utils/mmpose/core/post_processing/post_transforms.py:54
Functionforce_fp32
Decorator to convert input arguments to fp32 in force. This decorator is useful when you write custom modules and want to support mixed preci
HMR-Scorer/main/transformer_utils/mmpose/core/fp16/decorators.py:95
Functionforce_fp32_wrapper
(old_func)
HMR-Scorer/main/transformer_utils/mmpose/core/fp16/decorators.py:132
Methodforward
(self,depth)
ADHMR/lib/utils/inference.py:136
Methodforward
(self,depth,beta)
ADHMR/lib/utils/inference.py:144
Methodforward
(self, vertices, joints)
ADHMR/lib/utils/smplx/smplx/vertex_joint_selector.py:73
Methodforward
Forward pass for the SMPL model Parameters ---------- global_orient: torch.tensor, optional, shape Bx3
ADHMR/lib/utils/smplx/smplx/body_models.py:287
Methodforward
Forward pass for the SMPL model Parameters ---------- global_orient: torch.tensor, optional, shape Bx3
ADHMR/lib/utils/smplx/smplx/body_models.py:390
Methodforward
ADHMR/lib/utils/smplx/smplx/body_models.py:662
Methodforward
ADHMR/lib/utils/smplx/smplx/body_models.py:747
Methodforward
Forward pass for the SMPLX model Parameters ---------- global_orient: torch.tensor, optional, shape Bx3
ADHMR/lib/utils/smplx/smplx/body_models.py:1041
Methodforward
Forward pass for the SMPLX model Parameters ---------- global_orient: torch.tensor, optional, shape Bx3
ADHMR/lib/utils/smplx/smplx/body_models.py:1273
Methodforward
Forward pass for the MANO model
ADHMR/lib/utils/smplx/smplx/body_models.py:1597
Methodforward
Forward pass for the MANO model
ADHMR/lib/utils/smplx/smplx/body_models.py:1669
Methodforward
Forward pass for the SMPLX model Parameters ---------- global_orient: torch.tensor, optional, shape Bx3
ADHMR/lib/utils/smplx/smplx/body_models.py:1947
Methodforward
Forward pass for the SMPLX model Parameters ---------- global_orient: torch.tensor, optional, shape Bx3
ADHMR/lib/utils/smplx/smplx/body_models.py:2100
Methodforward
(self, vertices, joints)
ADHMR/lib/dataset/humandata_utils/smplx/smplx/vertex_joint_selector.py:73
Methodforward
Forward pass for the SMPL model Parameters ---------- global_orient: torch.tensor, optional, shape Bx3
ADHMR/lib/dataset/humandata_utils/smplx/smplx/body_models.py:288
Methodforward
Forward pass for the SMPL model Parameters ---------- global_orient: torch.tensor, optional, shape Bx3
ADHMR/lib/dataset/humandata_utils/smplx/smplx/body_models.py:391
Methodforward
ADHMR/lib/dataset/humandata_utils/smplx/smplx/body_models.py:663
← previousnext →1,401–1,500 of 2,101, ranked by callers