MCPcopy Create free account

hub / github.com/aigc3d/LHM / functions

Functions3,669 in github.com/aigc3d/LHM

Methodinit_weights
Initialize the weights in backbone. Args: pretrained (str, optional): Path to pre-trained weights. Defaults to Non
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/vit_moe.py:330
Methodinit_weights
Init backbone weights. Args: pretrained (str | None): If pretrained is a string, then it initializes backbone wei
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/base_backbone.py:17
Methodinit_weights
Initialize the weights.
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/tcn.py:259
Methodinit_weights
(self)
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/hrformer.py:113
Methodinit_weights
Initialize model weights.
engine/pose_estimation/third-party/ViTPose/mmpose/models/misc/discriminator.py:184
Methodinit_weights
Initialize model weights.
engine/pose_estimation/third-party/ViTPose/mmpose/models/misc/discriminator.py:303
Methodinit_weights
Initialize model weights.
engine/pose_estimation/third-party/ViTPose/mmpose/models/heads/deconv_head.py:284
Methodinit_weights
Initialize model weights.
engine/pose_estimation/third-party/ViTPose/mmpose/models/heads/interhand_3d_head.py:233
Methodinit_weights
(self)
engine/pose_estimation/third-party/ViTPose/mmpose/models/heads/interhand_3d_head.py:274
Methodinit_weights
Initialize model weights.
engine/pose_estimation/third-party/ViTPose/mmpose/models/heads/ae_multi_stage_head.py:213
Methodinit_weights
(self, pretrained=None)
engine/BiRefNet/models/backbones/pvt_v2.py:426
Functioninit_weights_vit_timm
ViT weight initialization, original timm impl (for reproducibility)
LHM/models/encoders/dinov2/models/vision_transformer.py:365
Functioninit_weights_vit_timm
ViT weight initialization, original timm impl (for reproducibility)
engine/pose_estimation/dinov2/dinov2/models/vision_transformer.py:332
Methodinitialize
(self, context)
engine/pose_estimation/third-party/ViTPose/tools/deployment/mmpose_handler.py:20
Functionis_block
Check if is HRModule building block.
engine/pose_estimation/third-party/ViTPose/tests/test_backbones/test_hrnet.py:10
Methodis_full
(self, name)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/utils/buffer.py:92
Functionis_norm
Check if is one of the norms.
engine/pose_estimation/third-party/ViTPose/tests/test_backbones/test_hrnet.py:17
Functionis_norm
Check if is one of the norms.
engine/pose_estimation/third-party/ViTPose/tests/test_backbones/test_litehrnet.py:11
Functionjoints_openpose25_to_coco17
()
engine/pose_estimation/pose_utils/humans.py:51
Functionlinspace
Creates a tensor of shape [num, *start.shape] whose values are evenly spaced from start to end, inclusive. Replicates but the multi-dimension
LHM/models/rendering/utils/math_utils.py:101
Functionload_and_merge_config
(config_name: str)
engine/pose_estimation/dinov2/dinov2/configs/__init__.py:19
Methodload_annotations
(self)
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/body3d/body3d_h36m_dataset.py:128
Methodload_annotations
(self)
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/body3d/body3d_mpi_inf_3dhp_dataset.py:132
Methodload_config
(self, data_cfg)
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/body3d/body3d_h36m_dataset.py:96
Methodload_config
(self, data_cfg)
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/body3d/body3d_mpi_inf_3dhp_dataset.py:109
Functionload_image_file
(file, mode="RGB")
engine/SegmentAPI/img_utils.py:50
Methodload_ply
(self, path)
LHM/models/rendering/gs_renderer.py:259
Functionload_pretrained_weights
(model, pretrained_weights, checkpoint_key)
engine/pose_estimation/dinov2/dinov2/utils/utils.py:20
Methodload_processed
load mesh from path. Args: path (str): path to mesh file, supports ply, obj, glb. clean (bool, optional): perform mes
LHM/models/rendering/mesh_utils.py:192
Functionlog_closure
()
LHM/models/rendering/smplx/transfer_model/transfer_model.py:292
Functionlog_depth
Move depth to log space
engine/pose_estimation/pose_utils/camera.py:84
Methodlr_idx_to_hr_idx
(self, idx)
LHM/models/rendering/smpl_x.py:929
Methodlr_idx_to_hr_idx
(self, idx)
LHM/models/rendering/smpl_x_voxel_dense_sampling.py:1117
Methodmake_res_layer
(self, **kwargs)
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/resnest.py:330
Methodmake_res_layer
(self, **kwargs)
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/resnext.py:157
Methodmake_res_layer
(self, **kwargs)
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/seresnet.py:124
Methodmake_res_layer
(self, **kwargs)
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/seresnext.py:163
Methodmasks
torch.Tensor: concatenated positive and negative boxes
engine/pose_estimation/dinov2/dinov2/eval/segmentation_m2f/core/box/samplers/mask_sampling_result.py:40
Functionmatch_2d_greedy
Code modified from: https://github.com/Arthur151/ROMP/blob/4eebd3647f57d291d26423e51f0d514ff7197cb3/simple_romp/trace2/evaluation/eval_3DPW.py#L2
engine/pose_estimation/pose_utils/training.py:25
Functionmax_grad_change
(grad_arr)
LHM/models/rendering/smplx/transfer_model/utils/np_utils.py:27
Methodmedian
(self)
engine/pose_estimation/dinov2/dinov2/logging/helpers.py:166
Methodmode
(self)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/faceswap_node.py:39
Functionmodel_type
(model)
engine/SegmentAPI/SAM.py:114
Functionmulti_apply
Apply function to a list of arguments. Note: This function applies the ``func`` to multiple inputs and map the multiple outputs o
engine/pose_estimation/dinov2/dinov2/eval/segmentation_m2f/core/utils/misc.py:9
Methodname
(self)
LHM/models/rendering/smplx/smplx/body_models.py:736
Methodname
(self)
LHM/models/rendering/smplx/smplx/body_models.py:1820
Methodname
(self)
LHM/models/rendering/smplx/smplx/body_models.py:1913
Methodname
(self)
LHM/models/rendering/smplx_gsavatar/body_models.py:677
Methodname
(self)
LHM/models/rendering/smplx_gsavatar/body_models.py:1630
Methodname
(self)
LHM/models/rendering/smplx_gsavatar/body_models.py:1716
Functionnew_forward
(*args, **kwargs)
engine/pose_estimation/third-party/ViTPose/mmpose/core/fp16/hooks.py:160
Functionnew_func
(*args, **kwargs)
engine/pose_estimation/third-party/ViTPose/mmpose/core/fp16/decorators.py:51
Functionno_proxy
Decorator to disable proxy but then restore after the function call.
LHM/utils/proxy.py:20
Methodno_weight_decay
(self)
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/vit_moe.py:354
Methodno_weight_decay
(self)
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/vit.py:310
Methodno_weight_decay
(self)
engine/BiRefNet/models/backbones/pvt_v2.py:453
Functionnormalize_vecs
Normalize vector lengths.
LHM/models/rendering/utils/math_utils.py:33
Methodnum_base_priors
list[int]: The number of priors (points) at a point on the feature grid
engine/pose_estimation/dinov2/dinov2/eval/segmentation_m2f/core/anchor/point_generator.py:35
Methodnum_betas
(self)
LHM/models/rendering/smplx/smplx/body_models.py:285
Methodnum_betas
(self)
LHM/models/rendering/smplx_gsavatar/body_models.py:263
Methodnum_expression_coeffs
(self)
LHM/models/rendering/smplx/smplx/body_models.py:289
Methodnum_expression_coeffs
(self)
LHM/models/rendering/smplx/smplx/body_models.py:1189
Methodnum_expression_coeffs
(self)
LHM/models/rendering/smplx/smplx/body_models.py:2192
Methodnum_expression_coeffs
(self)
LHM/models/rendering/smplx_gsavatar/body_models.py:267
Methodnum_expression_coeffs
(self)
LHM/models/rendering/smplx_gsavatar/body_models.py:1085
Methodnum_expression_coeffs
(self)
LHM/models/rendering/smplx_gsavatar/body_models.py:1983
Methodnum_levels
int: number of feature levels that the generator will be applied
engine/pose_estimation/dinov2/dinov2/eval/segmentation_m2f/core/anchor/point_generator.py:30
Methodobtain_params
(self, cfg)
LHM/models/modeling_human_lrm.py:612
Methodoffset
(self, offset_w, offset_h)
LHM/utils/bbox.py:58
Methodon_exit
(self)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/helper_node.py:283
Methodparse_f_v
(fv)
LHM/models/rendering/mesh_utils.py:305
Functionplot_curve
(log_dicts, args)
engine/pose_estimation/third-party/ViTPose/tools/analysis/analyze_logs.py:34
Methodpostprocess
(self, data)
engine/pose_estimation/third-party/ViTPose/tools/deployment/mmpose_handler.py:75
Methodpredict_bbox
(self, img, scale=1.0)
engine/SegmentAPI/SAM.py:182
Functionprepare_motion_lrmbench
Prepare motion sequences for rendering. Args: motion_seqs_dir (str): Directory path of motion sequences. image_folder (str):
LHM/runners/infer/utils.py:699
Functionprepare_motion_single
Prepare motion sequences for rendering. Args: motion_seqs_dir (str): Directory path of motion sequences. image_folder (str):
LHM/runners/infer/utils.py:537
Functionprepare_working_dir
()
app_motion.py:347
Functionprepare_working_dir
()
app_motion_ms.py:366
Functionprepare_working_dir
()
app.py:338
Methodpreprocess
(self, data)
engine/pose_estimation/third-party/ViTPose/tools/deployment/mmpose_handler.py:36
Functionpreprocess_fn
(image_in: np.ndarray, remove_bg: bool, recenter: bool, working_dir)
app_motion.py:357
Functionpreprocess_fn
(image_in: np.ndarray, remove_bg: bool, recenter: bool, working_dir)
app_motion_ms.py:376
Functionpreprocess_fn
(image_in: np.ndarray, remove_bg: bool, recenter: bool, working_dir)
app.py:348
Functionpreprocess_image
inferece image, _, _ = preprocess_image(image_path, mask_path=None, intr=None, pad_ratio=0, bg_color=1.0,
LHM/runners/infer/utils.py:173
Methodprocess
(self, input_msgs)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/mmdet_node.py:46
Methodprocess
(self, input_msgs)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/helper_node.py:64
Methodprocess
(self, input_msgs)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/helper_node.py:152
Methodprocess
(self, input_msgs)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/helper_node.py:244
Methodprocess
(self, input_msgs: Dict[str, Message])
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/frame_drawing_node.py:44
Methodprocess
(self, input_msgs: Dict[str, Message])
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/mmpose_node.py:58
Methodput_force
(self, name, item)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/utils/buffer.py:80
Methodquery_voxel_debug
(self)
LHM/models/rendering/smpl_x_voxel_dense_sampling.py:907
Functionrandom_gaussian
(image, mean=0.1, sigma=0.35)
engine/BiRefNet/image_proc.py:96
Functionread_smplx_param_humman
( imgs_root, smplx_params_root, img_size=896, batch_size=1, device="cuda" )
LHM/models/rendering/smpl_x.py:1239
Functionread_smplx_param_humman
( imgs_root, smplx_params_root, img_size=896, batch_size=1, device="cuda" )
LHM/models/rendering/smpl_x_voxel_dense_sampling.py:1636
Functionreduce_mean
"Obtain the mean of tensor on different GPUs.
engine/pose_estimation/dinov2/dinov2/eval/segmentation_m2f/core/utils/dist_utils.py:9
Methodregister
Register a module
LHM/utils/registry.py:22
Methodregister
Register the hook function to the module. Args: module (pytorch module): the module to register the hook. Returns:
engine/pose_estimation/third-party/ViTPose/mmpose/core/utils/regularizations.py:32
Methodregister_event
(self, event_name: str = None, is_keyboard: bool = False)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/utils/event.py:13
Methodregistered_buffers
(self)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/node.py:109
← previousnext →3,201–3,300 of 3,669, ranked by callers