MCPcopy Create free account

hub / github.com/aigc3d/LHM / functions

Functions3,669 in github.com/aigc3d/LHM

Method_make_one_branch
Build one branch.
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/hrformer.py:461
Method_make_stage
Make each stage.
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/hrformer.py:701
Method_match
(x)
engine/pose_estimation/third-party/ViTPose/mmpose/core/post_processing/group.py:186
Function_pad_and_collate
(batch)
engine/pose_estimation/dinov2/dinov2/eval/linear.py:163
Method_put_line
(line='')
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/frame_effect_node.py:672
Method_put_line
(line='')
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/helper_node.py:182
Method_query
(weights, indx)
LHM/models/rendering/smpl_x_voxel_dense_sampling.py:760
Method_read_camera
Continually read video frames and put them into buffers.
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/webcam_runner.py:125
Method_record
(self)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/helper_node.py:260
Method_report_metric
Keypoint evaluation. Args: res_file (str): Json file stored prediction results. metrics (str | list[str]): Metric to
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/base/kpt_2d_sview_rgb_img_top_down_dataset.py:191
Function_resize_align_multi_scale
Resize the images for multi-scale training. Args: image: Input image input_size (np.ndarray[2]): Size (w, h) of the image input
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/bottom_up_transform.py:74
Function_resize_align_multi_scale_udp
Resize the images for multi-scale training. Args: image: Input image input_size (np.ndarray[2]): Size (w, h) of the image input
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/bottom_up_transform.py:100
Method_result_collector
Collects results from the pool and stores them in a list. Args: result: The result of the function that was run on the po
LHM/models/encoders/workpool.py:40
Method_sample_neg
Sample negative samples.
engine/pose_estimation/dinov2/dinov2/eval/segmentation_m2f/core/box/samplers/mask_pseudo_sampler.py:27
Method_sample_pos
Sample positive samples.
engine/pose_estimation/dinov2/dinov2/eval/segmentation_m2f/core/box/samplers/mask_pseudo_sampler.py:23
Method_sort_and_unique_bboxes
sort kpts and remove the repeated ones.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/base/kpt_2d_sview_rgb_vid_top_down_dataset.py:191
Method_sort_and_unique_bboxes
sort kpts and remove the repeated ones.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/base/kpt_3d_sview_rgb_img_top_down_dataset.py:248
Method_sort_and_unique_bboxes
sort kpts and remove the repeated ones.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/base/kpt_2d_sview_rgb_img_top_down_dataset.py:279
Method_super_resolution
(self, input_path)
engine/SegmentAPI/SAM.py:168
Function_temporal_refine
Refine koypoints using tracked person instance on last frame. Args: results (dict): The pose results of the current frame
engine/pose_estimation/third-party/ViTPose/mmpose/apis/inference_tracking.py:147
Method_toggle_enable
(self)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/node.py:116
Function_track_by_iou
Get track id using IoU tracking greedily. Args: res (dict): The bbox & pose results of the person instance. results_last (list[di
engine/pose_estimation/third-party/ViTPose/mmpose/apis/inference_tracking.py:39
Function_track_by_oks
Get track id using OKS tracking greedily. Args: res (dict): The pose results of the person instance. results_last (list[dict]): T
engine/pose_estimation/third-party/ViTPose/mmpose/apis/inference_tracking.py:78
Method_wgan_loss
wgan loss. Args: input (Tensor): Input tensor. target (bool): Target label. Returns: Tensor: wga
engine/pose_estimation/third-party/ViTPose/mmpose/models/losses/mesh_loss.py:287
Method_world2cam
Transform the joints from their world coordinates to their camera coordinates. Note: N: number of joints Args:
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/base/kpt_3d_sview_rgb_img_top_down_dataset.py:127
Method_write_keypoint_results
Write results into a json file.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/base/kpt_2d_sview_rgb_vid_top_down_dataset.py:165
Method_write_keypoint_results
Write results into a json file.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/base/kpt_3d_sview_rgb_img_top_down_dataset.py:232
Method_write_keypoint_results
Write results into a json file.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/base/kpt_3d_mview_rgb_img_direct_dataset.py:124
Method_write_keypoint_results
Write results into a json file.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/base/kpt_2d_sview_rgb_img_top_down_dataset.py:185
Method_xywh2cs
This encodes bbox(x,y,w,h) into (center, scale) Args: x, y, w, h (float): left, top, width and height padding (float)
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/base/kpt_3d_sview_rgb_img_top_down_dataset.py:192
Method_xywh2cs
This encodes bbox(x,y,w,h) into (center, scale) Args: x, y, w, h (float): left, top, width and height padding (float)
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/base/kpt_2d_sview_rgb_img_top_down_dataset.py:132
Methodaccuracy_averaging
(self)
engine/pose_estimation/dinov2/dinov2/eval/metrics.py:27
Methodadd_meter
(self, name, meter)
engine/pose_estimation/dinov2/dinov2/logging/helpers.py:50
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 sp
engine/pose_estimation/third-party/ViTPose/mmcv_custom/layer_decay_optimizer_constructor.py:19
Functionadd_prefix
Add prefix for dict. Args: inputs (dict): The input dict with str keys. prefix (str): The prefix to add. Returns: d
engine/pose_estimation/dinov2/dinov2/eval/segmentation_m2f/core/utils/misc.py:31
Methodafter_train_iter
(self, runner)
engine/pose_estimation/dinov2/dinov2/eval/segmentation/hooks/optimizer.py:28
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
engine/pose_estimation/third-party/ViTPose/mmpose/core/fp16/hooks.py:71
Methodafter_train_iter
(self, runner)
engine/pose_estimation/third-party/ViTPose/mmcv_custom/apex_runner/optimizer.py:22
Functionaggregate_rotmats
(x)
LHM/models/rendering/smplx/transfer_model/merge_output.py:32
Functionall_zeros
Check if the weight(and bias) is all zero.
engine/pose_estimation/third-party/ViTPose/tests/test_backbones/test_vipnas_resnet.py:20
Functionanimation_infer
Inference code avoid repeat forward.
app_motion.py:294
Functionanimation_infer
Inference code avoid repeat forward.
app_motion_ms.py:313
Functionanimation_infer
Inference code avoid repeat forward.
app.py:285
Methodarea
(self)
LHM/utils/bbox.py:51
Methodarea
(self)
engine/SegmentAPI/base.py:105
Methodas_smpl
Convert the body to SMPL joints.
LHM/models/rendering/smplx/smplx/joint_names.py:310
Functionassert_input_image
(input_image)
app_motion.py:343
Functionassert_input_image
(input_image)
app_motion_ms.py:362
Functionassert_input_image
(input_image)
app.py:334
Methodattn_residual_func
(x: Tensor)
LHM/models/encoders/dinov2/layers/block.py:96
Methodattn_residual_func
(x: Tensor, mod: Tensor)
LHM/models/encoders/dinov2/layers/block.py:130
Methodattn_residual_func
(x: Tensor, attn_bias=None)
LHM/models/encoders/dinov2/layers/block.py:256
Methodattn_residual_func
(x: Tensor)
engine/pose_estimation/dinov2/dinov2/layers/block.py:90
Methodattn_residual_func
(x: Tensor, attn_bias=None)
engine/pose_estimation/dinov2/dinov2/layers/block.py:220
Functionauto_fp16
Decorator to enable fp16 training automatically. This decorator is useful when you write custom modules and want to support mixed precision t
engine/pose_estimation/third-party/ViTPose/mmpose/core/fp16/decorators.py:11
Functionauto_fp16_wrapper
(old_func)
engine/pose_estimation/third-party/ViTPose/mmpose/core/fp16/decorators.py:48
Functionauto_repeat_size
(tensor, repeat_num, axis=0)
LHM/models/rendering/gs_renderer.py:30
Functionavaliable_device
()
LHM/models/rendering/smpl_x.py:41
Methodavg
(self)
engine/pose_estimation/dinov2/dinov2/logging/helpers.py:171
Functionaxis_angle_to_euler_angles
Convert rotations given as Euler angles in radians to axis/angle. Args: axis_angle: Rotations given as a vector in axis angle form,
engine/pose_estimation/pose_utils/rot6d.py:276
Functionaxis_angle_to_rotation_6d
(axis_angle: torch.Tensor)
LHM/utils/rot6d.py:431
Functionbatch_constructor
Generate a batch of tensors to the model.
engine/pose_estimation/third-party/ViTPose/tools/analysis/get_flops.py:45
Functionbatch_rot2aa
Rs is B x 3 x 3 void cMathUtil::RotMatToAxisAngle(const tMatrix& mat, tVector& out_axis, double& out_th
LHM/models/rendering/smplx/transfer_model/utils/pose_utils.py:102
Methodbboxes
torch.Tensor: concatenated positive and negative boxes
engine/pose_estimation/dinov2/dinov2/eval/segmentation_m2f/core/box/samplers/sampling_result.py:54
Methodbefore_run
(self, runner)
engine/pose_estimation/dinov2/dinov2/eval/segmentation/hooks/optimizer.py:25
Methodbefore_run
Preparing steps before Mixed Precision Training. 1. Make a master copy of fp32 weights for optimization. 2. Convert the main model fr
engine/pose_estimation/third-party/ViTPose/mmpose/core/fp16/hooks.py:41
Methodbefore_run
(self, runner)
engine/pose_estimation/third-party/ViTPose/mmcv_custom/apex_runner/optimizer.py:19
Methodblock_type
(self)
LHM/models/transformer.py:84
Functionbuild_anchor_generator
(cfg, default_args=None)
engine/pose_estimation/dinov2/dinov2/eval/segmentation_m2f/core/anchor/builder.py:19
Functionbuild_backbone
Build backbone.
engine/pose_estimation/third-party/ViTPose/mmpose/models/builder.py:17
Functionbuild_bbox_coder
Builder of box coder.
engine/pose_estimation/dinov2/dinov2/eval/segmentation_m2f/core/box/builder.py:17
Functionbuild_head
Build head.
engine/pose_estimation/third-party/ViTPose/mmpose/models/builder.py:27
Functionbuild_layer
Method for creating a model from a path and a model type Parameters ---------- model_path: str Either the path t
LHM/models/rendering/smplx_gsavatar/body_models.py:2285
Functionbuild_mesh_model
Build mesh model.
engine/pose_estimation/third-party/ViTPose/mmpose/models/builder.py:42
Functionbuild_model_from_cfg
(cfg, only_teacher=False)
LHM/models/encoders/dinov2/models/__init__.py:42
Functionbuild_neck
Build neck.
engine/pose_estimation/third-party/ViTPose/mmpose/models/builder.py:22
Methodbuild_sample_indices
Split original videos into sequences and build frame indices. This method overrides the default one in the base class.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/body3d/body3d_h36m_dataset.py:162
Methodbuild_sample_indices
Split original videos into sequences and build frame indices. This method overrides the default one in the base class.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/body3d/body3d_mpi_inf_3dhp_dataset.py:170
Functionbuild_sampler
Builder of box sampler.
engine/pose_estimation/dinov2/dinov2/eval/segmentation_m2f/core/box/builder.py:12
Functionbuild_scheduler
(optimizer, sched_type='exp', lr_lambda=0.1, **kwargs)
LHM/models/rendering/smplx/transfer_model/optimizers/optim_factory.py:63
Methodbuild_transformer
( self, transformer_type, transformer_layers, transformer_heads, trans
LHM/models/modeling_human_lrm.py:554
Functionbuilder_inited_handler
(app)
engine/pose_estimation/third-party/ViTPose/docs/zh_cn/conf.py:105
Functionbuilder_inited_handler
(app)
engine/pose_estimation/third-party/ViTPose/docs/en/conf.py:109
Methodbypass
(self, input_msgs)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/mmdet_node.py:43
Methodbypass
(self, input_msgs)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/helper_node.py:210
Methodbypass
(self, input_msgs: Dict[str, Message])
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/frame_drawing_node.py:52
Methodbypass
(self, input_msgs)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/mmpose_node.py:55
Functioncal_train_time
(log_dicts, args)
engine/pose_estimation/third-party/ViTPose/tools/analysis/analyze_logs.py:11
Functioncalc_new_tgt_size
(cur_hw, tgt_size, multiply)
LHM/runners/infer/utils.py:44
Functioncamera_normalization_objaverse
(normed_dist_to_center, poses: torch.Tensor, ret_transform: bool = False)
LHM/datasets/cam_utils.py:64
Methodcamera_to_pixel
(self, X)
engine/pose_estimation/third-party/ViTPose/mmpose/core/camera/single_camera_torch.py:98
Methodcamera_to_world
(self, X)
engine/pose_estimation/third-party/ViTPose/mmpose/core/camera/single_camera_torch.py:93
Methodcamera_to_world
Project points from camera coordinates to world coordinates.
engine/pose_estimation/third-party/ViTPose/mmpose/core/camera/camera_base.py:34
Methodcausal
(self)
engine/pose_estimation/third-party/ViTPose/mmpose/models/detectors/pose_lifter.py:118
Functioncheck_buffer_registered
(exist=True)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/utils/buffer.py:11
Functioncheck_keys_contain
Check if elements in target_keys is in result_keys.
engine/pose_estimation/third-party/ViTPose/tests/test_pipelines/test_shared_transform.py:17
Functioncheck_root_pose
(root_pose)
LHM/utils/rot6d.py:439
Functioncheck_single_gpu_memory
(threshold_gb=24, gpu_id=0)
LHM/utils/gpu_utils.py:21
Functioncheck_single_gpu_memory
(threshold_gb=24, gpu_id=0)
LHM/utils/video_utils.py:52
Methodcheckpoint
(self)
engine/pose_estimation/dinov2/dinov2/run/eval/linear.py:28
← previousnext →2,501–2,600 of 3,669, ranked by callers