MCPcopy Create free account

hub / github.com/aigc3d/LHM / functions

Functions3,669 in github.com/aigc3d/LHM

↓ 1 callersFunctionmain
()
engine/pose_estimation/third-party/ViTPose/tools/analysis/analyze_logs.py:154
↓ 1 callersFunctionmain
()
engine/pose_estimation/third-party/ViTPose/tools/analysis/get_flops.py:58
↓ 1 callersFunctionmain
()
engine/pose_estimation/third-party/ViTPose/tools/analysis/print_config.py:17
↓ 1 callersFunctionmain
Visualize the demo images. pose_keypoints require the json_file containing boxes.
engine/pose_estimation/third-party/ViTPose/tools/misc/keypoints2coco_without_mmdet.py:13
↓ 1 callersFunctionmain
()
engine/pose_estimation/third-party/ViTPose/tools/misc/publish_model.py:37
↓ 1 callersFunctionmain
(args)
engine/pose_estimation/third-party/ViTPose/tools/deployment/test_torchserver.py:33
↓ 1 callersFunctionmain
()
engine/BiRefNet/train.py:236
↓ 1 callersFunctionmain
(args)
engine/BiRefNet/inference.py:43
↓ 1 callersFunctionmain
()
engine/SegmentAPI/SAM.py:513
↓ 1 callersMethodmake_layer
Stack ShuffleUnit blocks to make a layer. Args: out_channels (int): out_channels of the block. num_blocks (int): Numb
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/shufflenet_v1.py:280
↓ 1 callersMethodmake_layer
Stack InvertedResidual blocks to build a layer for MobileNetV2. Args: out_channels (int): out_channels of block. num_
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/mobilenet_v2.py:204
↓ 1 callersMethodmake_res_layer
Make a ViPNAS ResLayer.
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/vipnas_resnet.py:474
↓ 1 callersFunctionmake_vgg_layer
(in_channels, out_channels, num_blocks, conv_cfg=None
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/vgg.py:10
↓ 1 callersMethodmatch
Group keypoints to human poses in a batch. Args: tag_k (np.ndarray[NxKxMxL]): tag corresponding to the top k valu
engine/pose_estimation/third-party/ViTPose/mmpose/core/post_processing/group.py:171
↓ 1 callersMethodmatlab_style_gauss2D
2D gaussian mask - should give the same result as MATLAB's fspecial('gaussian',[shape],[sigma])
engine/BiRefNet/evaluation/metrics.py:509
↓ 1 callersFunctionmatrix_to_euler_angles
Convert rotations given as rotation matrices to Euler angles in radians. Args: matrix: Rotation matrices as tensor of shape (..., 3,
LHM/utils/rot6d.py:347
↓ 1 callersFunctionmatrix_to_euler_angles
Convert rotations given as rotation matrices to Euler angles in radians. Args: matrix: Rotation matrices as tensor of shape (..., 3,
engine/pose_estimation/pose_utils/rot6d.py:336
↓ 1 callersFunctionmatrix_to_quaternion
Convert rotations given as rotation matrices to quaternions. Args: matrix: Rotation matrices as tensor of shape (..., 3, 3). Re
engine/pose_estimation/pose_utils/rot6d.py:38
↓ 1 callersFunctionmatrix_to_rotation_6d
Converts rotation matrices to 6D rotation representation by Zhou et al. [1] by dropping the last row. Note that 6D representation is not uniq
LHM/utils/rot6d.py:413
↓ 1 callersFunctionmatrix_to_rotation_6d
Converts rotation matrices to 6D rotation representation by Zhou et al. [1] by dropping the last row. Note that 6D representation is not uniq
engine/pose_estimation/pose_utils/rot6d.py:402
↓ 1 callersFunctionmerge
(output_dir, gender)
LHM/models/rendering/smplx/transfer_model/merge_output.py:45
↓ 1 callersFunctionmerge_configs
(cfg1, cfg2)
engine/pose_estimation/third-party/ViTPose/tools/test.py:76
↓ 1 callersFunctionmerge_models
(smplh_fn, mano_left_fn, mano_right_fn, output_folder='output')
LHM/models/rendering/smplx/tools/merge_smplh_mano.py:29
↓ 1 callersMethodmerge_route_info
Merge the given route information into the original one of the message. This is used for combining route information from multiple mes
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/utils/message.py:69
↓ 1 callersFunctionmmpose2torchserve
Converts MMPose model (config + checkpoint) to TorchServe `.mar`. Args: config_file: In MMPose config format. The
engine/pose_estimation/third-party/ViTPose/tools/deployment/mmpose2torchserve.py:18
↓ 1 callersMethodmodulate
(x, shift, scale)
LHM/models/modulate.py:36
↓ 1 callersFunctionms_deform_attn_core_pytorch
(value, value_spatial_shapes, sampling_locations, attention_weights)
engine/pose_estimation/dinov2/dinov2/eval/segmentation_m2f/ops/modules/ms_deform_attn.py:33
↓ 1 callersFunctionmulti_gpu_test
Test model with multiple gpus. This method tests model with multiple gpus and collects the results under two different modes: gpu and cpu mod
engine/pose_estimation/third-party/ViTPose/mmpose/apis/test.py:43
↓ 1 callersMethodname
(self)
LHM/models/rendering/smplx/smplx/body_models.py:1185
↓ 1 callersMethodname
(self)
LHM/models/rendering/smplx/smplx/body_models.py:2195
↓ 1 callersMethodname
(self)
LHM/models/rendering/smplx_gsavatar/body_models.py:273
↓ 1 callersMethodname
(self)
LHM/models/rendering/smplx_gsavatar/body_models.py:1081
↓ 1 callersMethodname
(self)
LHM/models/rendering/smplx_gsavatar/body_models.py:1986
↓ 1 callersFunctionnamed_apply
(fn: Callable, module: nn.Module, name="", depth_first=True, include_root=False)
LHM/models/encoders/dinov2/models/vision_transformer.py:35
↓ 1 callersFunctionnamed_apply
(fn: Callable, module: nn.Module, name="", depth_first=True, include_root=False)
engine/pose_estimation/dinov2/dinov2/models/vision_transformer.py:26
↓ 1 callersFunctionnchw_to_nlc
Flatten [N, C, H, W] shape tensor to [N, L, C] shape tensor. Args: x (Tensor): The input tensor of shape [N, C, H, W] before conversion.
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/hrformer.py:35
↓ 1 callersFunctionnlc_to_nchw
Convert [N, L, C] shape tensor to [N, C, H, W] shape tensor. Args: x (Tensor): The input tensor of shape [N, L, C] before conversion.
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/hrformer.py:18
↓ 1 callersFunctionnms
( boxes_xyxy, scores, flame_params, confidence_threshold: float = 0.5, iou_threshold: floa
LHM/utils/face_detector.py:27
↓ 1 callersMethodnorm0
(self)
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/resnest.py:97
↓ 1 callersMethodnorm1
(self)
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/resnest.py:101
↓ 1 callersMethodnorm1
nn.Module: the normalization layer named "norm1"
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/vipnas_resnet.py:124
↓ 1 callersMethodnorm1
nn.Module: the normalization layer named "norm1"
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/vipnas_resnet.py:479
↓ 1 callersMethodnorm1
nn.Module: the normalization layer named "norm1"
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/resnet.py:569
↓ 1 callersMethodnorm2
nn.Module: the normalization layer named "norm2"
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/vipnas_resnet.py:129
↓ 1 callersMethodnorm2
nn.Module: the normalization layer named "norm2"
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/resnet.py:232
↓ 1 callersMethodnorm3
nn.Module: the normalization layer named "norm3"
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/vipnas_resnet.py:134
↓ 1 callersFunctionnormalization_layer
Code modified from https://github.com/shubham-goel/4D-Humans/blob/a0def798c7eac811a63c8220fcc22d983b39785e/hmr2/models/components/t_cond_mlp.py#L
engine/pose_estimation/blocks/cross_attn_transformer.py:43
↓ 1 callersFunctionnormalize_rgb
Args: - img: np.array - (W,H,3) - np.uint8 - 0/255 Return: - img: np.array - (3,W,H) - np.float - -3/3
engine/pose_estimation/pose_utils/image.py:52
↓ 1 callersFunctionnormalize_rgb_tensor
(img, imgenet_normalization=True)
engine/pose_estimation/pose_estimator.py:36
↓ 1 callersFunctionnp_mesh_to_o3d
(vertices, faces)
LHM/models/rendering/smplx/transfer_model/utils/o3d_utils.py:26
↓ 1 callersMethodobject
(self, pred: np.ndarray, gt: np.ndarray)
engine/BiRefNet/evaluation/metrics.py:261
↓ 1 callersFunctionoverlay_image_onto_background
(image, mask, bbox, background)
engine/pose_estimation/pose_utils/render.py:50
↓ 1 callersFunctionpad_to_max
Pad so that each batch images has the same number of x_central queries. Mask is used in attention to remove the fact queries.
engine/pose_estimation/pose_utils/tensor_manip.py:36
↓ 1 callersMethodpairwise_NNs_inner
Pairwise nearest neighbors for L2-normalized vectors. Uses Torch rather than Faiss to remain on GPU.
engine/pose_estimation/dinov2/dinov2/loss/koleo_loss.py:25
↓ 1 callersFunctionparse_args
(argv=None)
LHM/models/rendering/smplx/transfer_model/config/cmd_parser.py:30
↓ 1 callersFunctionparse_args
()
engine/pose_estimation/third-party/ViTPose/tools/train.py:22
↓ 1 callersFunctionparse_args
()
engine/pose_estimation/third-party/ViTPose/tools/test.py:27
↓ 1 callersFunctionparse_args
()
engine/pose_estimation/third-party/ViTPose/tools/model_split.py:6
↓ 1 callersFunctionparse_args
()
engine/pose_estimation/third-party/ViTPose/tools/analysis/benchmark_inference.py:16
↓ 1 callersFunctionparse_args
()
engine/pose_estimation/third-party/ViTPose/tools/analysis/speed_test.py:16
↓ 1 callersFunctionparse_args
()
engine/pose_estimation/third-party/ViTPose/tools/analysis/analyze_logs.py:124
↓ 1 callersFunctionparse_args
()
engine/pose_estimation/third-party/ViTPose/tools/analysis/get_flops.py:15
↓ 1 callersFunctionparse_args
()
engine/pose_estimation/third-party/ViTPose/tools/analysis/print_config.py:7
↓ 1 callersFunctionparse_args
()
engine/pose_estimation/third-party/ViTPose/tools/webcam/run_webcam.py:9
↓ 1 callersFunctionparse_args
()
engine/pose_estimation/third-party/ViTPose/tools/misc/publish_model.py:9
↓ 1 callersFunctionparse_args
()
engine/pose_estimation/third-party/ViTPose/tools/deployment/pytorch2onnx.py:109
↓ 1 callersFunctionparse_args
()
engine/pose_estimation/third-party/ViTPose/tools/deployment/test_torchserver.py:15
↓ 1 callersFunctionparse_args
()
engine/pose_estimation/third-party/ViTPose/tools/deployment/mmpose2torchserve.py:83
↓ 1 callersFunctionparse_chunks
If a track disappear in the middle, we separate it to different segments
engine/pose_estimation/video2motion.py:198
↓ 1 callersFunctionparse_configs
()
app_motion.py:241
↓ 1 callersFunctionparse_configs
()
app_motion_ms.py:260
↓ 1 callersFunctionparse_configs
()
app.py:231
↓ 1 callersFunctionparse_configs
()
LHM/runners/infer/human_lrm.py:278
↓ 1 callersFunctionparse_line
Parse information from a line in a requirements text file.
engine/pose_estimation/third-party/ViTPose/setup.py:50
↓ 1 callersFunctionparse_version_info
(version_str)
engine/pose_estimation/third-party/ViTPose/mmpose/version.py:7
↓ 1 callersFunctionpatch_forward_method
Patch the forward method of a module. Args: func (callable): The original forward method. src_type (torch.dtype): Type of input a
engine/pose_estimation/third-party/ViTPose/mmpose/core/fp16/hooks.py:147
↓ 1 callersFunctionpatch_norm_fp32
Recursively convert normalization layers from FP16 to FP32. Args: module (nn.Module): The modules to be converted in FP16. Returns:
engine/pose_estimation/third-party/ViTPose/mmpose/core/fp16/hooks.py:128
↓ 1 callersFunctionperspective_projection
(x3d, K, R=None, T=None)
engine/pose_estimation/pose_utils/render.py:102
↓ 1 callersFunctionperspective_projection
This function computes the perspective projection of a set of 3D points. Note: - batch size: B - point number: N Args:
engine/pose_estimation/third-party/ViTPose/mmpose/models/losses/mesh_loss.py:9
↓ 1 callersMethodpixel_to_camera
(self, X)
engine/pose_estimation/third-party/ViTPose/mmpose/core/camera/single_camera.py:117
↓ 1 callersFunctionpredict_motion_seqs_from_images
(image_folder: str, save_root, fps=6)
LHM/runners/infer/utils.py:282
↓ 1 callersMethodprefetch_models
(self)
LHM/losses/perceptual.py:45
↓ 1 callersMethodprepare_data
(self)
tools/metrics/compute_metric_ssim_lipis.py:92
↓ 1 callersMethodprepare_data
(self)
tools/metrics/compute_metric_ssim_lipis_anigs.py:93
↓ 1 callersMethodprepare_data
Get data sample.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/base/kpt_3d_sview_kpt_2d_dataset.py:168
↓ 1 callersMethodprepare_for_distributed_training
(self)
engine/pose_estimation/dinov2/dinov2/train/ssl_meta_arch.py:390
↓ 1 callersMethodprepare_test_img
Prepare image for testing given the index.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/base/kpt_2d_sview_rgb_img_bottom_up_dataset.py:173
↓ 1 callersMethodprepare_train_img
Prepare image for training given the index.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/base/kpt_2d_sview_rgb_img_bottom_up_dataset.py:167
↓ 1 callersFunctionpreproc
(image, label, preproc_methods=['flip'])
engine/BiRefNet/image_proc.py:41
↓ 1 callersFunctionprior_check
()
app_motion.py:87
↓ 1 callersFunctionprior_check
()
app_motion_ms.py:106
↓ 1 callersFunctionprior_check
()
app.py:75
↓ 1 callersFunctionprior_check
()
LHM/runners/infer/human_lrm.py:61
↓ 1 callersMethodprocess
(self, fps)
engine/pose_estimation/blocks/detector.py:136
↓ 1 callersMethodprocess
The core method that implement the function of the node. This method will be invoked when the node is enabled and the input data is ready.
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/node.py:253
↓ 1 callersFunctionprocess_checkpoint
(in_file, out_file)
engine/pose_estimation/third-party/ViTPose/tools/misc/publish_model.py:18
↓ 1 callersFunctionproject2origin_img
(target_human, crop_annotation)
engine/pose_estimation/video2motion.py:167
↓ 1 callersFunctionproject_onto_planes
Does a projection of a 3D point onto a batch of 2D planes, returning 2D plane coordinates. Takes plane axes of shape n_planes, 3, 3
LHM/models/rendering/utils/renderer.py:45
↓ 1 callersFunctionpsnr_compute
( input_data, results_data, mask_data=None, pad=False, )
tools/metrics/compute_psnr_anigs.py:96
↓ 1 callersFunctionpsnr_compute
( input_data, results_data, mask_data=None, pad=False, )
tools/metrics/compute_psnr.py:95
← previousnext →1,501–1,600 of 3,669, ranked by callers