MCPcopy Create free account

hub / github.com/MotrixLab/ADHMR / functions

Functions2,101 in github.com/MotrixLab/ADHMR

Methodreduce_joint_set
(self, joint)
HMR-Scorer/common/utils/human_models.py:145
Methodregister
Register the hook function to the module. Args: module (pytorch module): the module to register the hook. Returns:
HMR-Scorer/main/transformer_utils/mmpose/core/utils/regularizations.py:32
Functionrender_mesh
(img, mesh, face, cam_param, mesh_as_vertices=False)
HMR-Scorer/common/utils/vis.py:142
Methodreport_strings
Report timing information in texture strings. Returns: list(str): Each element is the information string of a timed \
HMR-Scorer/main/transformer_utils/mmpose/utils/timer.py:99
Methodreset
(self)
HMR-Scorer/main/transformer_utils/mmpose/utils/timer.py:115
Methodreset_params
(self, **params_dict)
ADHMR/lib/utils/smplx/smplx/body_models.py:266
Methodreset_params
(self, **params_dict)
ADHMR/lib/dataset/humandata_utils/smplx/smplx/body_models.py:267
Methodreset_params
(self, **params_dict)
HMR-Scorer/common/utils/smplx/smplx/body_models_origin.py:267
Methodreset_params
(self, **params_dict)
HMR-Scorer/common/utils/smplx/smplx/body_models.py:267
Functionresize_bbox
(bbox, scale=1.2)
ADHMR/lib/utils/preprocessing.py:547
Functionresize_bbox
(bbox, scale=1.2)
HMR-Scorer/common/utils/preprocessing.py:849
Methodrestore
Restore the parameters stored with the `store` method. Useful to validate the model with EMA parameters without affecting the original op
HMR-Scorer/common/nets/ema.py:89
Functionrestore_bbox
(bbox_center, bbox_size, aspect_ratio, extension_ratio)
ADHMR/lib/utils/transforms_humandata.py:232
Functionrestore_bbox
(bbox_center, bbox_size, aspect_ratio, extension_ratio)
HMR-Scorer/common/utils/transforms.py:211
Functionrnd
(x)
ADHMR/lib/utils/transforms.py:11
Functionrot6d_to_axis_angle
(x)
ADHMR/lib/utils/transforms_humandata.py:95
Functionrot6d_to_axis_angle
(x)
HMR-Scorer/common/utils/transforms.py:123
Functionrot6d_to_rotmat
Convert 6D rotation representation to 3x3 rotation matrix. Based on Zhou et al., "On the Continuity of Rotation Representations in Neural Net
HMR-Scorer/main/transformer_utils/mmpose/models/utils/geometry.py:6
Functionrot_theta
Rotate axis angle parameters.
ADHMR/lib/utils/transforms.py:1482
Functionrotmat_to_aa
(rotmat)
ADHMR/lib/models/layers/smpl/lbs.py:1711
Functionrotmat_to_aa
(rotmat)
HMR-Scorer/common/utils/smplx/smplx/lbs.py:1104
Methodsample
(self, batchSize)
HMR-Scorer/main/transformer_utils/mmpose/models/heads/rle_regression_head.py:168
Functionsample_joint_features
(img_feat, joint_xy)
ADHMR/lib/utils/transforms_humandata.py:179
Methodsave_cache
(self, annot_path_cache, datalist)
HMR-Scorer/data/humandata_scorer_test.py:128
Functionsave_checkpoint
Save checkpoint to file. The checkpoint will have 3 fields: ``meta``, ``state_dict`` and ``optimizer``. By default ``meta`` will contain vers
HMR-Scorer/main/transformer_utils/mmpose/models/backbones/hrt_checkpoint.py:438
Functionsave_checkpoint
Save checkpoint to file. The checkpoint will have 3 fields: ``meta``, ``state_dict`` and ``optimizer``. By default ``meta`` will contain versi
HMR-Scorer/main/transformer_utils/mmpose/models/backbones/utils/utils.py:469
Methodsave_model
(self, state, epoch)
HMR-Scorer/common/base.py:129
Functionscorehypo_init_weights
(m)
HMR-Scorer/main/HMR_Scorer.py:363
Functionset_seed
(seed)
HMR-Scorer/common/utils/distribute_utils.py:15
Functionsetup_for_distributed
This function disables printing when not in master process.
HMR-Scorer/common/utils/distribute_utils.py:28
Functionsetup_multi_processes
Setup multi-processing environment variables.
HMR-Scorer/main/transformer_utils/mmpose/utils/setup_env.py:10
Methodshareable
(self)
HMR-Scorer/main/transformer_utils/mmpose/core/post_processing/temporal_filters/filter.py:25
Methodshow_result
Draw `result` over `img`. Args: img (str or Tensor): The image to be displayed. result (list[dict]): The results to d
HMR-Scorer/main/transformer_utils/mmpose/models/detectors/top_down.py:226
Methodshow_result
Visualize the results.
HMR-Scorer/main/transformer_utils/mmpose/models/detectors/base.py:129
Functionshuffle_joints
Shuffle 3d joints. Parameters ---------- joints : numpy.ndarray Joints in shape (num_joints, 3, 2) width : int Image
ADHMR/lib/utils/transforms.py:1157
Methodsmooth
Apply temporal smoothing on pose estimation sequences. Args: results (list[dict] | list[list[dict]]): The pose results of a
HMR-Scorer/main/transformer_utils/mmpose/core/post_processing/smoother.py:157
Functionsoft_argmax_2d
(heatmap2d)
ADHMR/lib/utils/transforms_humandata.py:189
Functionsoft_argmax_3d
(heatmap3d)
ADHMR/lib/utils/transforms_humandata.py:209
Functionsoft_oks_nms
Soft OKS NMS implementations. Args: kpts_db thr: retain oks overlap < thr. max_dets: max number of detections to keep.
HMR-Scorer/main/transformer_utils/mmpose/core/post_processing/nms.py:155
Functionspearman
(x, y)
ADHMR/lib/utils/relation.py:59
Functionsplit_ae_outputs
Split multi-stage outputs into heatmaps & tags. Args: outputs (list(Tensor)): Outputs of network num_joints (int): Number of join
HMR-Scorer/main/transformer_utils/mmpose/core/evaluation/bottom_up_eval.py:9
Methodstore
Save the current parameters for restoring later. Args: parameters: Iterable of `torch.nn.Parameter`; the parameters to be temp
HMR-Scorer/common/nets/ema.py:79
Functionsync_random_seed
Make sure different ranks share the same seed. All workers must call this function, otherwise it will deadlock. This method is generally used
HMR-Scorer/main/transformer_utils/mmpose/core/utils/dist_utils.py:57
Methodtest_transform
(self, src, bbox)
ADHMR/lib/utils/presets/simple_transform.py:71
Methodtest_transform
(self, src, bbox)
ADHMR/lib/utils/presets/simple_transform_3d_smpl_cam.py:150
Methodtest_transform
(self, src, bbox)
ADHMR/lib/utils/presets/simple_transform_3d_smpl_dpo.py:123
Methodtest_transform
(self, src, bbox)
ADHMR/lib/utils/presets/simple_transform_3d_smpl.py:123
Methodtest_transform
(self, src, bbox)
ADHMR/lib/utils/presets/simple_transform_3d_cam_eft.py:125
Methodtest_transform
(self, src, bbox)
ADHMR/lib/utils/presets/simple_transform_3d_smpl_humandata.py:123
Methodtest_transform
(self, src, bbox)
ADHMR/lib/utils/presets/simple_transform_cam.py:78
Methodtic
(self)
HMR-Scorer/common/timer.py:20
Functiontime_synchronized
()
HMR-Scorer/common/utils/distribute_utils.py:23
Methodtimeit
Timing a code snippet with an assigned name. Args: timer_name (str): The unique name of the interested code snippet to
HMR-Scorer/main/transformer_utils/mmpose/utils/timer.py:60
Methodtoc
(self, average=True)
HMR-Scorer/common/timer.py:25
Functiontorch_meshgrid_ij
(*tensors)
HMR-Scorer/main/transformer_utils/mmpose/models/utils/misc.py:9
Functiontorch_rigid_align
(A, B)
ADHMR/lib/utils/transforms_humandata.py:32
Methodtrain
(self)
ADHMR/lib/runners/scorenet.py:71
Methodtrain
Convert the model into training mode.
HMR-Scorer/main/transformer_utils/mmpose/models/necks/posewarper_neck.py:322
Methodtrain
(self, mode=True)
HMR-Scorer/main/transformer_utils/mmpose/models/backbones/mobilenet_v3.py:182
Methodtrain
Convert the model into training mode.
HMR-Scorer/main/transformer_utils/mmpose/models/backbones/hrnet.py:597
Methodtrain
Convert the model into training mode.
HMR-Scorer/main/transformer_utils/mmpose/models/backbones/litehrnet.py:978
Methodtrain
Convert the model into training mode.
HMR-Scorer/main/transformer_utils/mmpose/models/backbones/vipnas_resnet.py:581
Methodtrain
(self, mode=True)
HMR-Scorer/main/transformer_utils/mmpose/models/backbones/shufflenet_v2.py:296
Methodtrain
(self, mode=True)
HMR-Scorer/main/transformer_utils/mmpose/models/backbones/shufflenet_v1.py:323
Methodtrain
Convert the model into training mode while keep layers freezed.
HMR-Scorer/main/transformer_utils/mmpose/models/backbones/swin.py:612
Methodtrain
Convert the model into training mode.
HMR-Scorer/main/transformer_utils/mmpose/models/backbones/hrt.py:670
Methodtrain
(self, mode=True)
HMR-Scorer/main/transformer_utils/mmpose/models/backbones/vgg.py:186
Methodtrain
(self, mode=True)
HMR-Scorer/main/transformer_utils/mmpose/models/backbones/vipnas_mbv3.py:173
Methodtrain
(self, mode=True)
HMR-Scorer/main/transformer_utils/mmpose/models/backbones/mobilenet_v2.py:269
Methodtrain
Convert the model into training mode.
HMR-Scorer/main/transformer_utils/mmpose/models/backbones/resnet.py:679
Methodtrain_step
Train step function. Args: inputs (Tensor): Input Tensor. kwargs (dict): Args for ``mmcv.parallel.sca
HMR-Scorer/main/transformer_utils/mmpose/core/distributed_wrapper.py:120
Methodtrain_step
The iteration step during training. This method defines an iteration step during training, except for the back propagation and optimi
HMR-Scorer/main/transformer_utils/mmpose/models/detectors/base.py:78
Functiontrans_back
(joints,trans)
ADHMR/lib/utils/pose_utils copy.py:15
FunctiontransformBox
(pt, bbox, input_size, output_size)
ADHMR/lib/utils/bbox.py:220
FunctiontransformBoxInvert
(pt, bbox, resH, resW)
ADHMR/lib/utils/bbox.py:243
Functiontransform_preds_new
(coords, center, scale, output_size)
ADHMR/lib/utils/transforms.py:1284
Functionts_compose
(betas, swing_rotmats, phis, v_template, shapedirs, posedirs, J_regressor, J_regressor_h36m, pa
ADHMR/lib/models/layers/smpl/lbs.py:447
Methodtwist_swing_decompose
( self, pose_skeleton, betas, phis)
ADHMR/lib/models/layers/smpl/SMPL.py:281
Functiontwist_to_angle
(twist)
ADHMR/lib/models/loss.py:9
Functiontwist_to_angle
(twist)
ADHMR/lib/models/loss copy.py:9
Methodval_step
Validation step function. Args: inputs (tuple): Input data. kwargs (dict): Args for ``scatter_kwargs``.
HMR-Scorer/main/transformer_utils/mmpose/core/distributed_wrapper.py:133
Methodval_step
The iteration step during validation. This method shares the same signature as :func:`train_step`, but used during val epochs. Note t
HMR-Scorer/main/transformer_utils/mmpose/models/detectors/base.py:115
Methodvalidate
(self)
ADHMR/lib/runners/inference.py:74
Functionvertices2landmarks
Calculates landmarks by barycentric interpolation Parameters ---------- vertices: torch.tensor BxVx3, dtype = torch.float32
ADHMR/lib/models/layers/smpl/lbs.py:105
Functionvertices2landmarks
Calculates landmarks by barycentric interpolation Parameters ---------- vertices: torch.tensor BxVx3, dtype = torch.float32
HMR-Scorer/common/utils/smplx/smplx/lbs_origin.py:108
Functionvis_3d_skeleton
(kpt_3d, kpt_3d_vis, kps_lines, filename=None)
HMR-Scorer/common/utils/vis.py:82
Functionvis_keypoints_with_skeleton
(img, kps, kps_lines, kp_thresh=0.4, alpha=1)
HMR-Scorer/common/utils/vis.py:13
Functionweak_cam2pixel
(cam_coord, root_z, f, c)
ADHMR/lib/utils/pose_utils copy.py:266
Functionweak_cam2pixel
(cam_coord, root_z, f, c)
ADHMR/lib/utils/pose_utils.py:266
Functionweighted_l1_loss
(input, target, weights, size_average=True)
ADHMR/lib/models/loss.py:15
Functionweighted_l1_loss
(input, target, weights, size_average=True)
ADHMR/lib/models/loss copy.py:15
Methodwindow_size
(self)
HMR-Scorer/main/transformer_utils/mmpose/core/post_processing/temporal_filters/filter.py:21
Methodwith_keypoint
Check if has keypoint_head.
HMR-Scorer/main/transformer_utils/mmpose/models/detectors/top_down.py:78
Methodwith_neck
Check if has neck.
HMR-Scorer/main/transformer_utils/mmpose/models/detectors/top_down.py:73
Functionworld2cam
(world_coord, R, t)
ADHMR/lib/utils/transforms_humandata.py:23
Functionworld2cam
(world_coord, R, T)
ADHMR/lib/utils/pose_utils copy.py:261
Functionworld2cam
(world_coord, R, T)
ADHMR/lib/utils/pose_utils.py:261
Methodworld_to_camera
(self, X)
HMR-Scorer/main/transformer_utils/mmpose/core/camera/single_camera.py:85
Methodworld_to_camera
(self, X)
HMR-Scorer/main/transformer_utils/mmpose/core/camera/single_camera_torch.py:88
Methodworld_to_pixel
Project points from world coordinates to pixel coordinates.
HMR-Scorer/main/transformer_utils/mmpose/core/camera/camera_base.py:42
← previousnext →2,001–2,100 of 2,101, ranked by callers