Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aigc3d/LHM
/ functions
Functions
3,669 in github.com/aigc3d/LHM
⨍
Functions
3,669
◇
Types & classes
691
↳
Endpoints
36
Method
init_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
Method
init_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
Method
init_weights
Initialize the weights.
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/tcn.py:259
Method
init_weights
(self)
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/hrformer.py:113
Method
init_weights
Initialize model weights.
engine/pose_estimation/third-party/ViTPose/mmpose/models/misc/discriminator.py:184
Method
init_weights
Initialize model weights.
engine/pose_estimation/third-party/ViTPose/mmpose/models/misc/discriminator.py:303
Method
init_weights
Initialize model weights.
engine/pose_estimation/third-party/ViTPose/mmpose/models/heads/deconv_head.py:284
Method
init_weights
Initialize model weights.
engine/pose_estimation/third-party/ViTPose/mmpose/models/heads/interhand_3d_head.py:233
Method
init_weights
(self)
engine/pose_estimation/third-party/ViTPose/mmpose/models/heads/interhand_3d_head.py:274
Method
init_weights
Initialize model weights.
engine/pose_estimation/third-party/ViTPose/mmpose/models/heads/ae_multi_stage_head.py:213
Method
init_weights
(self, pretrained=None)
engine/BiRefNet/models/backbones/pvt_v2.py:426
Function
init_weights_vit_timm
ViT weight initialization, original timm impl (for reproducibility)
LHM/models/encoders/dinov2/models/vision_transformer.py:365
Function
init_weights_vit_timm
ViT weight initialization, original timm impl (for reproducibility)
engine/pose_estimation/dinov2/dinov2/models/vision_transformer.py:332
Method
initialize
(self, context)
engine/pose_estimation/third-party/ViTPose/tools/deployment/mmpose_handler.py:20
Function
is_block
Check if is HRModule building block.
engine/pose_estimation/third-party/ViTPose/tests/test_backbones/test_hrnet.py:10
Method
is_full
(self, name)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/utils/buffer.py:92
Function
is_norm
Check if is one of the norms.
engine/pose_estimation/third-party/ViTPose/tests/test_backbones/test_hrnet.py:17
Function
is_norm
Check if is one of the norms.
engine/pose_estimation/third-party/ViTPose/tests/test_backbones/test_litehrnet.py:11
Function
joints_openpose25_to_coco17
()
engine/pose_estimation/pose_utils/humans.py:51
Function
linspace
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
Function
load_and_merge_config
(config_name: str)
engine/pose_estimation/dinov2/dinov2/configs/__init__.py:19
Method
load_annotations
(self)
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/body3d/body3d_h36m_dataset.py:128
Method
load_annotations
(self)
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/body3d/body3d_mpi_inf_3dhp_dataset.py:132
Method
load_config
(self, data_cfg)
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/body3d/body3d_h36m_dataset.py:96
Method
load_config
(self, data_cfg)
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/body3d/body3d_mpi_inf_3dhp_dataset.py:109
Function
load_image_file
(file, mode="RGB")
engine/SegmentAPI/img_utils.py:50
Method
load_ply
(self, path)
LHM/models/rendering/gs_renderer.py:259
Function
load_pretrained_weights
(model, pretrained_weights, checkpoint_key)
engine/pose_estimation/dinov2/dinov2/utils/utils.py:20
Method
load_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
Function
log_closure
()
LHM/models/rendering/smplx/transfer_model/transfer_model.py:292
Function
log_depth
Move depth to log space
engine/pose_estimation/pose_utils/camera.py:84
Method
lr_idx_to_hr_idx
(self, idx)
LHM/models/rendering/smpl_x.py:929
Method
lr_idx_to_hr_idx
(self, idx)
LHM/models/rendering/smpl_x_voxel_dense_sampling.py:1117
Method
make_res_layer
(self, **kwargs)
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/resnest.py:330
Method
make_res_layer
(self, **kwargs)
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/resnext.py:157
Method
make_res_layer
(self, **kwargs)
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/seresnet.py:124
Method
make_res_layer
(self, **kwargs)
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/seresnext.py:163
Method
masks
torch.Tensor: concatenated positive and negative boxes
engine/pose_estimation/dinov2/dinov2/eval/segmentation_m2f/core/box/samplers/mask_sampling_result.py:40
Function
match_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
Function
max_grad_change
(grad_arr)
LHM/models/rendering/smplx/transfer_model/utils/np_utils.py:27
Method
median
(self)
engine/pose_estimation/dinov2/dinov2/logging/helpers.py:166
Method
mode
(self)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/faceswap_node.py:39
Function
model_type
(model)
engine/SegmentAPI/SAM.py:114
Function
multi_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
Method
name
(self)
LHM/models/rendering/smplx/smplx/body_models.py:736
Method
name
(self)
LHM/models/rendering/smplx/smplx/body_models.py:1820
Method
name
(self)
LHM/models/rendering/smplx/smplx/body_models.py:1913
Method
name
(self)
LHM/models/rendering/smplx_gsavatar/body_models.py:677
Method
name
(self)
LHM/models/rendering/smplx_gsavatar/body_models.py:1630
Method
name
(self)
LHM/models/rendering/smplx_gsavatar/body_models.py:1716
Function
new_forward
(*args, **kwargs)
engine/pose_estimation/third-party/ViTPose/mmpose/core/fp16/hooks.py:160
Function
new_func
(*args, **kwargs)
engine/pose_estimation/third-party/ViTPose/mmpose/core/fp16/decorators.py:51
Function
no_proxy
Decorator to disable proxy but then restore after the function call.
LHM/utils/proxy.py:20
Method
no_weight_decay
(self)
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/vit_moe.py:354
Method
no_weight_decay
(self)
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/vit.py:310
Method
no_weight_decay
(self)
engine/BiRefNet/models/backbones/pvt_v2.py:453
Function
normalize_vecs
Normalize vector lengths.
LHM/models/rendering/utils/math_utils.py:33
Method
num_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
Method
num_betas
(self)
LHM/models/rendering/smplx/smplx/body_models.py:285
Method
num_betas
(self)
LHM/models/rendering/smplx_gsavatar/body_models.py:263
Method
num_expression_coeffs
(self)
LHM/models/rendering/smplx/smplx/body_models.py:289
Method
num_expression_coeffs
(self)
LHM/models/rendering/smplx/smplx/body_models.py:1189
Method
num_expression_coeffs
(self)
LHM/models/rendering/smplx/smplx/body_models.py:2192
Method
num_expression_coeffs
(self)
LHM/models/rendering/smplx_gsavatar/body_models.py:267
Method
num_expression_coeffs
(self)
LHM/models/rendering/smplx_gsavatar/body_models.py:1085
Method
num_expression_coeffs
(self)
LHM/models/rendering/smplx_gsavatar/body_models.py:1983
Method
num_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
Method
obtain_params
(self, cfg)
LHM/models/modeling_human_lrm.py:612
Method
offset
(self, offset_w, offset_h)
LHM/utils/bbox.py:58
Method
on_exit
(self)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/helper_node.py:283
Method
parse_f_v
(fv)
LHM/models/rendering/mesh_utils.py:305
Function
plot_curve
(log_dicts, args)
engine/pose_estimation/third-party/ViTPose/tools/analysis/analyze_logs.py:34
Method
postprocess
(self, data)
engine/pose_estimation/third-party/ViTPose/tools/deployment/mmpose_handler.py:75
Method
predict_bbox
(self, img, scale=1.0)
engine/SegmentAPI/SAM.py:182
Function
prepare_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
Function
prepare_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
Function
prepare_working_dir
()
app_motion.py:347
Function
prepare_working_dir
()
app_motion_ms.py:366
Function
prepare_working_dir
()
app.py:338
Method
preprocess
(self, data)
engine/pose_estimation/third-party/ViTPose/tools/deployment/mmpose_handler.py:36
Function
preprocess_fn
(image_in: np.ndarray, remove_bg: bool, recenter: bool, working_dir)
app_motion.py:357
Function
preprocess_fn
(image_in: np.ndarray, remove_bg: bool, recenter: bool, working_dir)
app_motion_ms.py:376
Function
preprocess_fn
(image_in: np.ndarray, remove_bg: bool, recenter: bool, working_dir)
app.py:348
Function
preprocess_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
Method
process
(self, input_msgs)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/mmdet_node.py:46
Method
process
(self, input_msgs)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/helper_node.py:64
Method
process
(self, input_msgs)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/helper_node.py:152
Method
process
(self, input_msgs)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/helper_node.py:244
Method
process
(self, input_msgs: Dict[str, Message])
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/frame_drawing_node.py:44
Method
process
(self, input_msgs: Dict[str, Message])
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/mmpose_node.py:58
Method
put_force
(self, name, item)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/utils/buffer.py:80
Method
query_voxel_debug
(self)
LHM/models/rendering/smpl_x_voxel_dense_sampling.py:907
Function
random_gaussian
(image, mean=0.1, sigma=0.35)
engine/BiRefNet/image_proc.py:96
Function
read_smplx_param_humman
( imgs_root, smplx_params_root, img_size=896, batch_size=1, device="cuda" )
LHM/models/rendering/smpl_x.py:1239
Function
read_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
Function
reduce_mean
"Obtain the mean of tensor on different GPUs.
engine/pose_estimation/dinov2/dinov2/eval/segmentation_m2f/core/utils/dist_utils.py:9
Method
register
Register a module
LHM/utils/registry.py:22
Method
register
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
Method
register_event
(self, event_name: str = None, is_keyboard: bool = False)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/utils/event.py:13
Method
registered_buffers
(self)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/node.py:109
← previous
next →
3,201–3,300 of 3,669, ranked by callers