MCPcopy Create free account

hub / github.com/aigc3d/LHM / functions

Functions3,669 in github.com/aigc3d/LHM

↓ 2 callersFunctioncreate_linear_input
(x_tokens_list, use_n_blocks, use_avgpool)
engine/pose_estimation/dinov2/dinov2/eval/linear.py:171
↓ 2 callersFunctioncreate_window
(window_size, channel)
engine/BiRefNet/loss.py:193
↓ 2 callersMethodcriterion
Criterion of wingloss. Note: batch_size: N num_keypoints: K Args: pred (torch.Tensor[NxKxHxW]):
engine/pose_estimation/third-party/ViTPose/mmpose/models/losses/heatmap_loss.py:36
↓ 2 callersMethodcriterion
Criterion of wingloss. Note: batch_size: N num_keypoints: K dimension of keypoints: D (D=2 or D=3)
engine/pose_estimation/third-party/ViTPose/mmpose/models/losses/regression_loss.py:157
↓ 2 callersFunctioncrop_face_image
(image_path)
tools/metrics/compute_facesimilarity_video_anigs.py:74
↓ 2 callersFunctioncrop_face_image
(image_path)
tools/metrics/compute_facesimilarity.py:73
↓ 2 callersFunctioncrop_face_image
(image_path)
tools/metrics/compute_facesimilarity_video.py:73
↓ 2 callersFunctiondecompose_extrinsic_RT
Decompose the standard extrinsic matrix into RT. Batched I/O.
LHM/datasets/cam_utils.py:56
↓ 2 callersFunctiondefault
Code modified from https://github.com/shubham-goel/4D-Humans/blob/a0def798c7eac811a63c8220fcc22d983b39785e/hmr2/models/components/pose_transformer.py#
engine/pose_estimation/blocks/cross_attn_transformer.py:65
↓ 2 callersMethoddepth_pred
Prediction each pixel.
LHM/models/encoders/dinov2/hub/depth/decode_heads.py:149
↓ 2 callersMethoddepth_pred
Prediction each pixel.
engine/pose_estimation/dinov2/dinov2/hub/depth/decode_heads.py:149
↓ 2 callersFunctiondo_test
(cfg, model, iteration)
engine/pose_estimation/dinov2/dinov2/train/train.py:122
↓ 2 callersFunctiondownload_file
(url, save_path)
LHM/utils/download_utils.py:30
↓ 2 callersFunctiondrop_add_residual_stochastic_depth
( x: Tensor, residual_func: Callable[[Tensor], Tensor], sample_drop_ratio: float = 0.0, )
LHM/models/encoders/dinov2/layers/block.py:148
↓ 2 callersFunctiondrop_add_residual_stochastic_depth
( x: Tensor, residual_func: Callable[[Tensor], Tensor], sample_drop_ratio: float = 0.0, )
engine/pose_estimation/dinov2/dinov2/layers/block.py:117
↓ 2 callersFunctiondrop_add_residual_stochastic_depth_list
( x_list: List[Tensor], residual_func: Callable[[Tensor, Any], Tensor], sample_drop_ratio: float =
LHM/models/encoders/dinov2/layers/block.py:219
↓ 2 callersFunctiondrop_add_residual_stochastic_depth_list
( x_list: List[Tensor], residual_func: Callable[[Tensor, Any], Tensor], sample_drop_ratio: float =
engine/pose_estimation/dinov2/dinov2/layers/block.py:188
↓ 2 callersFunctionempty_frame_pad
(pose_results)
engine/pose_estimation/video2motion.py:181
↓ 2 callersFunctionevaluate_model
(*, logreg_model, logreg_metric, test_data_loader, device)
engine/pose_estimation/dinov2/dinov2/eval/log_regression.py:147
↓ 2 callersFunctionexponential_smoothing
(x, d_x, alpha=0.5)
engine/pose_estimation/pose_utils/postprocess.py:27
↓ 2 callersFunctionexponential_smoothing
(a, x, x_prev)
engine/pose_estimation/third-party/ViTPose/mmpose/core/post_processing/one_euro_filter.py:15
↓ 2 callersMethodextract_feat
Extract features from images.
LHM/models/encoders/dinov2/hub/depth/encoder_decoder.py:47
↓ 2 callersMethodextract_feat
Extract features from images.
engine/pose_estimation/dinov2/dinov2/hub/depth/encoder_decoder.py:47
↓ 2 callersMethodextract_id_from_filename
(self, filename)
tools/metrics/compute_metric_ssim_lipis.py:81
↓ 2 callersMethodextract_id_from_filename
(self, filename)
tools/metrics/compute_metric_ssim_lipis_anigs.py:82
↓ 2 callersMethodfilter_bdy_cond
(self, bdy_, mask, cond)
engine/BiRefNet/evaluation/metrics.py:598
↓ 2 callersFunctionfind_joint_kin_chain
(joint_id, kinematic_tree)
LHM/models/rendering/smplx/smplx/utils.py:90
↓ 2 callersFunctionfind_joint_kin_chain
(joint_id, kinematic_tree)
LHM/models/rendering/smplx_gsavatar/utils.py:92
↓ 2 callersMethodforward
Placeholder of forward function.
LHM/models/encoders/dinov2/hub/depth/decode_heads.py:108
↓ 2 callersMethodforward
( self, gs_hidden_features: Float[Tensor, "B Np Cp"], query_points: Float[Tensor, "B N
LHM/models/rendering/gs_renderer.py:1423
↓ 2 callersMethodforward
Placeholder of forward function.
engine/pose_estimation/dinov2/dinov2/hub/depth/decode_heads.py:108
↓ 2 callersMethodforward
Calls either forward_train or forward_test depending on whether return_loss is True. Note: - batch_size: N -
engine/pose_estimation/third-party/ViTPose/mmpose/models/detectors/associative_embedding.py:82
↓ 2 callersMethodforward
Forward function.
engine/pose_estimation/third-party/ViTPose/mmpose/models/detectors/base.py:34
↓ 2 callersMethodforward
Forward function. Calls either forward_train or forward_test depending on whether return_loss=True. Note: - batc
engine/pose_estimation/third-party/ViTPose/mmpose/models/detectors/mesh.py:287
↓ 2 callersMethodforward_dummy
Used for computing network FLOPs. See ``tools/get_flops.py``. Args: img (torch.Tensor): Input image. Returns:
engine/pose_estimation/third-party/ViTPose/mmpose/models/detectors/multi_task.py:171
↓ 2 callersMethodforward_encode_image
(self, image)
LHM/models/modeling_human_lrm.py:286
↓ 2 callersMethodforward_features
(self, x, masks=None, mod=None)
LHM/models/encoders/dinov2/models/vision_transformer.py:281
↓ 2 callersMethodforward_features
(self, x, masks=None)
engine/pose_estimation/dinov2/dinov2/models/vision_transformer.py:254
↓ 2 callersMethodforward_gs_attr
x: [N, C] Float[Tensor, "Np Cp"], query_points: [N, 3] Float[Tensor, "Np 3"]
LHM/models/rendering/gs_renderer.py:1087
↓ 2 callersMethodforward_latent_points
Forward pass of the latent points generation. Args: image (torch.Tensor): Input image tensor of shape [B, C_img, H_img, W
LHM/models/modeling_human_lrm.py:310
↓ 2 callersMethodforward_latent_points
Forward pass of the latent points generation. Args: image (torch.Tensor): Input image tensor of shape [B, C_img, H_img, W
LHM/models/modeling_human_lrm.py:667
↓ 2 callersMethodforward_single_view
( self, gs: GaussianModel, viewpoint_camera: Camera, background_color: Optiona
LHM/models/rendering/gs_renderer.py:844
↓ 2 callersMethodforward_test
Args: imgs (List[Tensor]): the outer list indicates test-time augmentations and inner Tensor should have a shape
LHM/models/encoders/dinov2/hub/depth/encoder_decoder.py:218
↓ 2 callersMethodforward_test
Args: imgs (List[Tensor]): the outer list indicates test-time augmentations and inner Tensor should have a shape
engine/pose_estimation/dinov2/dinov2/hub/depth/encoder_decoder.py:218
↓ 2 callersMethodforward_test
Defines the computation performed at every call when testing.
engine/pose_estimation/third-party/ViTPose/mmpose/models/detectors/mesh.py:233
↓ 2 callersMethodforward_test
Defines the computation performed at training. Note: batch_size: N num_keypoints: K num_img_channel: C
engine/pose_estimation/third-party/ViTPose/mmpose/models/detectors/multiview_pose.py:621
↓ 2 callersMethodforward_train
Forward function for training. Args: img (Tensor): Input images. img_metas (list[dict]): List of image info dict wher
LHM/models/encoders/dinov2/hub/depth/encoder_decoder.py:87
↓ 2 callersMethodforward_train
Forward function for training. Args: img (Tensor): Input images. img_metas (list[dict]): List of image info dict wher
engine/pose_estimation/dinov2/dinov2/hub/depth/encoder_decoder.py:87
↓ 2 callersMethodforward_train
Defines the computation performed at training. Note: batch_size: N num_keypoints: K num_img_channel: C
engine/pose_estimation/third-party/ViTPose/mmpose/models/detectors/multiview_pose.py:519
↓ 2 callersMethodforward_with_coords
Positionally encode points that are not normalized to [0,1].
engine/BiRefNet/models/modules/prompt_encoder.py:211
↓ 2 callersMethodfreeze_layers
(self)
engine/pose_estimation/third-party/ViTPose/mmpose/models/necks/posewarper_neck.py:205
↓ 2 callersMethodfrom_c2w
(c2w, intrinsic, height, width)
LHM/models/rendering/gs_renderer.py:143
↓ 2 callersMethodgenerate_parts_numel_combinations
(self, fg_fg_numel, fg_bg_numel, pred_fg_numel, pred_bg_numel)
engine/BiRefNet/evaluation/metrics.py:433
↓ 2 callersFunctiongenerate_rotation_matrix_y
(degrees)
LHM/runners/infer/utils.py:24
↓ 2 callersMethodget_accuracy
Calculate accuracy for keypoint loss. Note: - batch_size: N - num_keypoints: K Args: output (tor
engine/pose_estimation/third-party/ViTPose/mmpose/models/heads/temporal_regression_head.py:128
↓ 2 callersFunctionget_attn_bias_and_cat
this will perform the index select, cat the tensors, and provide the attn_bias from cache
LHM/models/encoders/dinov2/layers/block.py:195
↓ 2 callersFunctionget_attn_bias_and_cat
this will perform the index select, cat the tensors, and provide the attn_bias from cache
engine/pose_estimation/dinov2/dinov2/layers/block.py:164
↓ 2 callersMethodget_body
using skinning to find lower body vertices.
LHM/models/rendering/smpl_x_voxel_dense_sampling.py:325
↓ 2 callersMethodget_body_face_mapping
(self)
LHM/models/rendering/smpl_x_voxel_dense_sampling.py:379
↓ 2 callersMethodget_box
(self)
engine/SegmentAPI/base.py:112
↓ 2 callersFunctionget_camera_parameters
Given image size, fov and principal point coordinates, return K the camera parameter matrix
engine/pose_estimation/pose_utils/inference_utils.py:7
↓ 2 callersFunctionget_data_sample
()
engine/pose_estimation/third-party/ViTPose/tests/test_pipelines/test_pose3d_transform.py:17
↓ 2 callersFunctionget_face_keypoint_ids
A helpfer function to get the keypoint indices of the face from the model config. Args: model_cfg (Config): pose model config. R
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/utils/pose.py:50
↓ 2 callersMethodget_faces
Return mesh faces. Note: F: number of faces Returns: faces: np.ndarray([F, 3]), mesh faces
engine/pose_estimation/third-party/ViTPose/mmpose/models/utils/smpl.py:92
↓ 2 callersFunctionget_fsdp_wrapper
(model_cfg, modules_to_wrap=set())
engine/pose_estimation/dinov2/dinov2/fsdp/__init__.py:22
↓ 2 callersFunctionget_global_rank
Returns: The rank of the current process within the global process group.
engine/pose_estimation/dinov2/dinov2/distributed/__init__.py:35
↓ 2 callersFunctionget_global_size
Returns: The number of processes in the process group
engine/pose_estimation/dinov2/dinov2/distributed/__init__.py:27
↓ 2 callersFunctionget_image_paths_current_dir
(folder_path)
tools/metrics/compute_facesimilarity_video_anigs.py:40
↓ 2 callersFunctionget_image_paths_current_dir
(folder_path)
tools/metrics/compute_facesimilarity_video.py:39
↓ 2 callersMethodget_joint_offset
(self, joint_offset)
LHM/models/rendering/smpl_x.py:296
↓ 2 callersMethodget_joint_offset
(self, joint_offset)
LHM/models/rendering/smpl_x_voxel_dense_sampling.py:357
↓ 2 callersMethodget_loss
Calculate keypoint loss. Note: - batch_size: N - num_keypoints: K Args: output (torch.Tensor[N,
engine/pose_estimation/third-party/ViTPose/mmpose/models/heads/temporal_regression_head.py:89
↓ 2 callersFunctionget_normalized_camera_intrinsics
intrinsics: (N, 3, 2), [[fx, fy], [cx, cy], [width, height]] Return batched fx, fy, cx, cy
LHM/datasets/cam_utils.py:90
↓ 2 callersMethodget_num_verts
(self)
LHM/models/rendering/smplx/smplx/body_models.py:306
↓ 2 callersMethodget_route_info
(self)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/utils/message.py:81
↓ 2 callersMethodget_single_batch_smpl_data
(self, smpl_data, bidx)
LHM/models/rendering/gs_renderer.py:1291
↓ 2 callersFunctionget_slurm_partition
(cluster_type: Optional[ClusterType] = None)
engine/pose_estimation/dinov2/dinov2/utils/cluster.py:61
↓ 2 callersFunctionget_state_dict
Returns a dictionary containing a whole state of the module. Both parameters and persistent buffers (e.g. running averages) are included. Key
engine/pose_estimation/third-party/ViTPose/mmcv_custom/checkpoint.py:446
↓ 2 callersFunctionget_torchvision_models
()
engine/pose_estimation/third-party/ViTPose/mmcv_custom/checkpoint.py:178
↓ 2 callersMethodget_transform_mat_vertex
(self, transform_mat_joint, query_points, fix_mask)
LHM/models/rendering/smpl_x_voxel_dense_sampling.py:1057
↓ 2 callersMethodget_value
(self, step)
LHM/models/utils.py:19
↓ 2 callersFunctionget_video_hash
(video_path)
LHM/utils/video_utils.py:18
↓ 2 callersMethodget_zero_pose_human
( self, shape_param, device, face_offset, joint_offset, return_mesh=False )
LHM/models/rendering/smpl_x_voxel_dense_sampling.py:959
↓ 2 callersFunctiongray_resize_for_identity
(out, size=128)
tools/metrics/compute_facesimilarity_video_anigs.py:84
↓ 2 callersFunctiongray_resize_for_identity
(out, size=128)
tools/metrics/compute_facesimilarity.py:83
↓ 2 callersFunctiongray_resize_for_identity
(out, size=128)
tools/metrics/compute_facesimilarity_video.py:83
↓ 2 callersFunctionimg_center_padding
(img_np, pad_ratio)
LHM/runners/infer/utils.py:82
↓ 2 callersFunctionimg_center_padding
(img_np, pad_ratio=0.2, background=1)
tools/metrics/compute_psnr_anigs.py:37
↓ 2 callersFunctionimg_center_padding
(img_np, pad_ratio=0.2, background=1)
tools/metrics/compute_psnr.py:36
↓ 2 callersFunctionimshow_mesh_3d
Render 3D meshes on background image. Args: img(np.ndarray): Background image. vertices (list of np.ndarray): Vetrex coordinates
engine/pose_estimation/third-party/ViTPose/mmpose/core/visualization/image.py:353
↓ 2 callersMethodinference_model
Inference function. Returns: output_regression (np.ndarray): Output regression. Args: x (torch.Tensor[N, K,
engine/pose_estimation/third-party/ViTPose/mmpose/models/heads/deeppose_regression_head.py:97
↓ 2 callersMethodinit_weights
Initialize the weights in backbone. Args: pretrained (str, optional): Path to pre-trained weights. Defaults to No
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/hourglass_ae.py:175
↓ 2 callersMethodinit_weights
Initialize the weights in backbone. Args: pretrained (str, optional): Path to pre-trained weights. Defaults to No
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/hrnet.py:535
↓ 2 callersMethodinit_weights
Initialize the weights in backbone. Args: pretrained (str, optional): Path to pre-trained weights. Defaults to No
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/litehrnet.py:935
↓ 2 callersMethodinit_weights
Initialize the weights in backbone. Args: pretrained (str, optional): Path to pre-trained weights. Defaults to No
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/cpm.py:149
↓ 2 callersMethodinit_weights
Initialize the weights in backbone. Args: pretrained (str, optional): Path to pre-trained weights. Defaults to No
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/hourglass.py:174
↓ 2 callersMethodinit_weights
Weight initialization for model.
engine/pose_estimation/third-party/ViTPose/mmpose/models/detectors/associative_embedding.py:75
↓ 2 callersMethodinit_weights
Initialize model weights.
engine/pose_estimation/third-party/ViTPose/mmpose/models/heads/vipnas_heatmap_simple_head.py:338
↓ 2 callersMethodinit_weights
Initialize model weights.
engine/pose_estimation/third-party/ViTPose/mmpose/models/heads/topdown_heatmap_simple_head.py:339
↓ 2 callersMethodinit_weights
Initialize model weights.
engine/pose_estimation/third-party/ViTPose/mmpose/models/heads/topdown_heatmap_multi_stage_head.py:253
← previousnext →501–600 of 3,669, ranked by callers