MCPcopy Create free account

hub / github.com/MotrixLab/ADHMR / functions

Functions2,101 in github.com/MotrixLab/ADHMR

Method_integral_target_generator
(self, joints_3d, num_joints, patch_height, patch_width)
ADHMR/lib/utils/presets/simple_transform.py:135
Method_integral_target_generator
(self, joints_3d, num_joints, patch_height, patch_width)
ADHMR/lib/utils/presets/simple_transform_3d_smpl_dpo.py:197
Method_integral_target_generator
(self, joints_3d, num_joints, patch_height, patch_width)
ADHMR/lib/utils/presets/simple_transform_3d_smpl.py:197
Method_integral_target_generator
(self, joints_3d, num_joints, patch_height, patch_width)
ADHMR/lib/utils/presets/simple_transform_3d_cam_eft.py:152
Method_integral_target_generator
(self, joints_3d, num_joints, patch_height, patch_width)
ADHMR/lib/utils/presets/simple_transform_3d_smpl_humandata.py:197
Method_integral_uvd_target_generator
(self, joints_3d, num_joints, patch_height, patch_width)
ADHMR/lib/utils/presets/simple_transform_3d_smpl_dpo.py:219
Method_integral_uvd_target_generator
(self, joints_3d, num_joints, patch_height, patch_width)
ADHMR/lib/utils/presets/simple_transform_3d_smpl.py:219
Method_integral_uvd_target_generator
(self, joints_3d, num_joints, patch_height, patch_width)
ADHMR/lib/utils/presets/simple_transform_3d_smpl_humandata.py:219
Method_integral_xyz_target_generator
(self, joints_3d, joints_3d_vis, num_joints)
ADHMR/lib/utils/presets/simple_transform_3d_smpl_dpo.py:242
Method_integral_xyz_target_generator
(self, joints_3d, joints_3d_vis, num_joints)
ADHMR/lib/utils/presets/simple_transform_3d_smpl.py:242
Method_integral_xyz_target_generator
(self, joints_3d, joints_3d_vis, num_joints)
ADHMR/lib/utils/presets/simple_transform_3d_smpl_humandata.py:242
Method_is_power_of_2
(n)
HMR-Scorer/main/transformer_utils/mmpose/ops/multi_scale_deform_attn.py:193
Method_is_power_of_2
(n)
HMR-Scorer/main/transformer_utils/mmpose/ops/multi_scale_deform_attn.py:416
Method_is_power_of_2
(n)
HMR-Scorer/main/transformer_utils/mmpose/ops/multi_scale_deform_attn.py:619
Method_is_power_of_2
(n)
HMR-Scorer/main/transformer_utils/mmpose/ops/multi_scale_deform_attn.py:903
Method_load_jsons
Load all image paths and labels from JSON annotation files into buffer.
ADHMR/lib/dataset/mscoco.py:252
Method_load_jsons
Load all image paths and labels from JSON annotation files into buffer.
ADHMR/lib/dataset/surreal.py:243
Method_make_batch_generator
(self)
HMR-Scorer/common/base.py:66
Method_make_batch_generator
(self)
HMR-Scorer/common/base.py:186
Method_make_batch_generator
(self)
HMR-Scorer/common/base.py:388
Method_make_batch_generator
(self)
HMR-Scorer/common/base.py:487
Method_make_fuse_layers
Build fuse layers.
HMR-Scorer/main/transformer_utils/mmpose/models/backbones/hrformer.py:504
Method_make_gen_model
(self)
HMR-Scorer/common/base.py:364
Method_make_model
(self)
HMR-Scorer/common/base.py:70
Method_make_model
(self)
HMR-Scorer/common/base.py:402
Method_make_one_branch
Build one branch.
HMR-Scorer/main/transformer_utils/mmpose/models/backbones/hrformer.py:461
Method_make_scorer_model
(self)
HMR-Scorer/common/base.py:247
Method_make_scorer_model
(self)
HMR-Scorer/common/base.py:497
Method_make_smplerx_model
(self)
HMR-Scorer/common/base.py:318
Method_make_stage
Make each stage.
HMR-Scorer/main/transformer_utils/mmpose/models/backbones/hrformer.py:701
Method_match
(x)
HMR-Scorer/main/transformer_utils/mmpose/core/post_processing/group.py:194
Method_print_eval_result
(self, eval_result)
HMR-Scorer/common/base.py:432
Method_print_eval_result
(self, eval_result)
HMR-Scorer/common/base.py:515
Method_target_generator
(self, joints_3d, num_joints)
ADHMR/lib/utils/presets/simple_transform.py:96
Method_wgan_loss
wgan loss. Args: input (Tensor): Input tensor. target (bool): Target label. Returns: Tensor: wga
HMR-Scorer/main/transformer_utils/mmpose/models/losses/mesh_loss.py:287
Methodadd_params
Add all parameters of module to the params list. The parameters of the given module will be added to the list of param groups, with s
HMR-Scorer/main/transformer_utils/mmpose/core/optimizers/layer_decay_optimizer_constructor.py:110
Methodadd_thorax
(self, joint_coord)
ADHMR/lib/dataset/hp3d.py:286
Functionaffine_transform
Apply an affine transformation to the points. Args: pt (np.ndarray): a 2 dimensional point to be transformed trans_mat (np.ndarra
HMR-Scorer/main/transformer_utils/mmpose/core/post_processing/post_transforms.py:255
Functionaffine_transform_torch
(pts, t)
HMR-Scorer/main/transformer_utils/mmpose/core/post_processing/post_transforms.py:362
Methodafter_train_iter
Backward optimization steps for Mixed Precision Training. 1. Scale the loss by a scale factor. 2. Backward the loss to obtain the gra
HMR-Scorer/main/transformer_utils/mmpose/core/fp16/hooks.py:71
Functionaggregate_scale
Aggregate multi-scale outputs. Note: batch size: N keypoints num : K heatmap width: W heatmap height: H Args
HMR-Scorer/main/transformer_utils/mmpose/core/evaluation/bottom_up_eval.py:254
Functionaggregate_stage_flip
Inference the model to get multi-stage outputs (heatmaps & tags), and resize them to base sizes. Args: feature_maps (list[Tensor]): f
HMR-Scorer/main/transformer_utils/mmpose/core/evaluation/bottom_up_eval.py:165
Functionall_gather
Run all_gather on arbitrary picklable data (not necessarily tensors) Args: data: Any picklable object Returns:
HMR-Scorer/common/utils/distribute_utils.py:208
Functionauto_fp16
Decorator to enable fp16 training automatically. This decorator is useful when you write custom modules and want to support mixed precision t
HMR-Scorer/main/transformer_utils/mmpose/core/fp16/decorators.py:11
Functionauto_fp16_wrapper
(old_func)
HMR-Scorer/main/transformer_utils/mmpose/core/fp16/decorators.py:48
Functionbatch_rodrigues
Calculates the rotation matrices for a batch of rotation vectors Parameters ---------- rot_vecs: torch.tensor Nx3
ADHMR/lib/utils/transforms.py:1090
Functionbatch_rodrigues
Calculates the rotation matrices for a batch of rotation vectors Parameters ---------- rot_vecs: torch.tensor Nx3
HMR-Scorer/common/utils/transforms.py:243
Functionbbox_cs2xywh
Transform the bbox format from (center, scale) to (x,y,w,h). Note that this is not an exact inverse operation of ``bbox_xywh2cs`` because the
HMR-Scorer/main/transformer_utils/mmpose/core/bbox/transforms.py:70
Functionbbox_iou
Calculate Intersection-Over-Union(IOU) of two bounding boxes. Parameters ---------- bbox_a : numpy.ndarray An ndarray with shape
ADHMR/lib/utils/bbox.py:7
Methodbbox_split
(self, bbox)
HMR-Scorer/main/HMR_Scorer.py:219
Functionbbox_xywh2cs
Transform the bbox format from (x,y,w,h) into (center, scale) Args: bbox (ndarray): Single bbox in (x, y, w, h) aspect_ratio (flo
HMR-Scorer/main/transformer_utils/mmpose/core/bbox/transforms.py:40
Functionbbox_xywh2xyxy
Transform the bbox format from xywh to x1y1x2y2. Args: bbox_xywh (ndarray): Bounding boxes (with scores), shaped (n, 4) or (n
HMR-Scorer/main/transformer_utils/mmpose/core/bbox/transforms.py:23
Functionbbox_xyxy2xywh
Transform the bbox format from x1y1x2y2 to xywh. Args: bbox_xyxy (np.ndarray): Bounding boxes (with scores), shaped (n, 4) or
HMR-Scorer/main/transformer_utils/mmpose/core/bbox/transforms.py:5
Functionbbox_xyxy_to_xywh
Convert bounding boxes from format (xmin, ymin, xmax, ymax) to (x, y, w, h). Parameters ---------- xyxy : list, tuple or numpy.ndarray
ADHMR/lib/utils/bbox.py:141
Methodbefore_epoch
(self, runner)
HMR-Scorer/main/transformer_utils/mmpose/core/utils/model_util_hooks.py:12
Methodbefore_run
Preparing steps before Mixed Precision Training. 1. Make a master copy of fp32 weights for optimization. 2. Convert the main model fr
HMR-Scorer/main/transformer_utils/mmpose/core/fp16/hooks.py:41
Methodbetas2bones
(self, betas)
ADHMR/lib/models/layers/smpl/SMPL.py:298
Methodbone_pairs
Bone pairs which defines the pairs of bone to be swapped when the image is flipped horizontally.
ADHMR/lib/dataset/mscoco.py:388
Methodbone_pairs
Bone pairs which defines the pairs of bone to be swapped when the image is flipped horizontally.
ADHMR/lib/dataset/h36m_dpo.py:368
Methodbone_pairs
Bone pairs which defines the pairs of bone to be swapped when the image is flipped horizontally.
ADHMR/lib/dataset/h36m.py:341
Methodbone_pairs
Bone pairs which defines the pairs of bone to be swapped when the image is flipped horizontally.
ADHMR/lib/dataset/pw3d.py:432
Methodbone_pairs
Bone pairs which defines the pairs of bone to be swapped when the image is flipped horizontally.
ADHMR/lib/dataset/pw3d_dpo.py:468
Methodbone_pairs
Bone pairs which defines the pairs of bone to be swapped when the image is flipped horizontally.
ADHMR/lib/dataset/surreal.py:379
Methodbone_pairs
Bone pairs which defines the pairs of bone to be swapped when the image is flipped horizontally.
ADHMR/lib/dataset/humandata.py:181
Functionbones2joints
Recover bone length and direction to joints location. Parameters ---------- bone_dirs: torch.tensor 1x24x3 bone_lens
ADHMR/lib/models/layers/smpl/lbs.py:173
Functionbox_transform
Random scaling.
ADHMR/lib/utils/transforms.py:15
Functionbuild_backbone
Build backbone.
HMR-Scorer/main/transformer_utils/mmpose/models/builder.py:18
Functionbuild_head
Build head.
HMR-Scorer/main/transformer_utils/mmpose/models/builder.py:28
Functionbuild_layer
Method for creating a model from a path and a model type Parameters ---------- model_path: str Either the path t
ADHMR/lib/utils/smplx/smplx/body_models.py:2241
Functionbuild_layer
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:2242
Functionbuild_layer
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:2201
Functionbuild_layer
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:2603
Functionbuild_mesh_model
Build mesh model.
HMR-Scorer/main/transformer_utils/mmpose/models/builder.py:43
Functionbuild_neck
Build neck.
HMR-Scorer/main/transformer_utils/mmpose/models/builder.py:23
Functionbuild_optimizer_constructor
(cfg)
HMR-Scorer/main/transformer_utils/mmpose/core/optimizers/builder.py:11
Functionbuild_optimizers
Build multiple optimizers from configs. If `cfgs` contains several dicts for optimizers, then a dict for each constructed optimizers will be
HMR-Scorer/main/transformer_utils/mmpose/core/optimizers/builder.py:22
Functioncalc_swing
( parents: torch.Tensor, children: torch.Tensor, rot_mat_chain: torch.Tensor, rel_pose_skeleto
ADHMR/lib/models/layers/smpl/lbs.py:1331
Functioncall_frame_render
(args)
HMR-Scorer/main/render.py:216
Functioncam2pixel
(cam_coord, f, c)
ADHMR/lib/utils/pose_utils copy.py:277
Functioncam2pixel_matrix
(cam_coord, intrinsic_param)
ADHMR/lib/utils/pose_utils copy.py:285
Functioncam2world
(cam_coord, R, t)
ADHMR/lib/utils/transforms_humandata.py:28
Functioncam2world
(cam_coord, R, t)
HMR-Scorer/common/utils/transforms.py:29
Methodcamera_to_pixel
(self, X)
HMR-Scorer/main/transformer_utils/mmpose/core/camera/single_camera.py:95
Methodcamera_to_pixel
(self, X)
HMR-Scorer/main/transformer_utils/mmpose/core/camera/single_camera_torch.py:98
Methodcamera_to_world
(self, X)
HMR-Scorer/main/transformer_utils/mmpose/core/camera/single_camera.py:90
Methodcamera_to_world
(self, X)
HMR-Scorer/main/transformer_utils/mmpose/core/camera/single_camera_torch.py:93
Methodcamera_to_world
Project points from camera coordinates to world coordinates.
HMR-Scorer/main/transformer_utils/mmpose/core/camera/camera_base.py:34
Functioncleanup
()
HMR-Scorer/common/utils/distribute_utils.py:162
Functionclip_by_norm
(layer, norm=1)
ADHMR/lib/models/hyponet.py:72
Functionclip_by_norm
(layer, norm=1)
ADHMR/lib/models/scorenet.py:68
Functionclip_by_norm
(layer, norm=1)
HMR-Scorer/main/HMR_Scorer.py:369
Functionclip_by_norm
(layer, norm=1)
HMR-Scorer/common/nets/scorernet.py:71
Functioncollect_results
(result_part, size, tmpdir=None)
HMR-Scorer/common/utils/distribute_utils.py:166
Functioncompute_joint_global_rotation
(rot_mat)
ADHMR/lib/utils/transforms_humandata.py:297
Methodcopy_to
Copy current parameters into given collection of parameters. Args: parameters: Iterable of `torch.nn.Parameter`; the parameters to be
HMR-Scorer/common/nets/ema.py:53
Methodcopy_to_nograd
Copy current parameters into given collection of parameters. Args: parameters: Iterable of `torch.nn.Parameter`; the parameters to be
ADHMR/lib/models/ema.py:67
Methodcopy_to_nograd
Copy current parameters into given collection of parameters. Args: parameters: Iterable of `torch.nn.Parameter`; the parameters to be
HMR-Scorer/common/nets/ema.py:67
Functioncosine_scheduler
(base_value, final_value, epochs, niter_per_ep, warmup_epochs=0, start_warmup_value=0, wa
HMR-Scorer/main/transformer_utils/mmpose/models/backbones/utils/utils.py:292
Functioncount_visible
Count number of visible joints given bound box.
ADHMR/lib/utils/transforms.py:447
Functioncreate
Method for creating a model from a path and a model type Parameters ---------- model_path: str Either the path t
ADHMR/lib/utils/smplx/smplx/body_models.py:2309
← previousnext →1,301–1,400 of 2,101, ranked by callers