MCPcopy Create free account

hub / github.com/aigc3d/LHM / functions

Functions3,669 in github.com/aigc3d/LHM

↓ 1 callersMethod_setup_args
(self)
engine/pose_estimation/dinov2/dinov2/run/train/train.py:35
↓ 1 callersMethod_show_route_info
(self, img, route_info)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/helper_node.py:174
↓ 1 callersFunction_sigmoid
(x)
engine/pose_estimation/model.py:841
↓ 1 callersMethod_similarity_for_rank
(self, features_rank, source_rank)
engine/pose_estimation/dinov2/dinov2/eval/knn.py:129
↓ 1 callersMethod_sort_and_unique_bboxes
sort kpts and remove the repeated ones.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/top_down/topdown_mpii_trb_dataset.py:302
↓ 1 callersMethod_sort_and_unique_bboxes
sort kpts and remove the repeated ones.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/top_down/topdown_jhmdb_dataset.py:353
↓ 1 callersMethod_sort_and_unique_bboxes
sort kpts and remove the repeated ones.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/top_down/topdown_coco_dataset.py:396
↓ 1 callersMethod_sort_and_unique_bboxes
sort kpts and remove the repeated ones.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/animal/animal_ap10k_dataset.py:358
↓ 1 callersMethod_sort_and_unique_bboxes
sort kpts and remove the repeated ones.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/animal/animal_macaque_dataset.py:346
↓ 1 callersMethod_sort_and_unique_bboxes
sort kpts and remove the repeated ones.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/animal/animal_atrw_dataset.py:344
↓ 1 callersMethod_sort_and_unique_outputs
sort outputs and remove the repeated ones.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/body3d/body3d_mview_direct_panoptic_dataset.py:485
↓ 1 callersFunction_sqrt_positive_part
Returns torch.sqrt(torch.max(0, x)) but with a zero subgradient where x is 0.
LHM/utils/rot6d.py:100
↓ 1 callersFunction_sqrt_positive_part
Returns torch.sqrt(torch.max(0, x)) but with a zero subgradient where x is 0.
engine/pose_estimation/pose_utils/rot6d.py:99
↓ 1 callersFunction_ssim
(img1, img2, window, window_size, channel, size_average=True)
engine/BiRefNet/loss.py:200
↓ 1 callersMethod_swap_face
(self, img_src, img_tar, face_src, face_tar)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/faceswap_node.py:103
↓ 1 callersFunction_taylor
Distribution aware coordinate decoding method. Note: - heatmap height: H - heatmap width: W Args: heatmap (np.ndarra
engine/pose_estimation/third-party/ViTPose/mmpose/core/evaluation/top_down_eval.py:298
↓ 1 callersMethod_train_batch
(self, batch)
engine/BiRefNet/train.py:166
↓ 1 callersMethod_transform_inputs
Transform inputs for decoder. Args: inputs (list[Tensor]): List of multi-level img features. Returns: Tensor:
LHM/models/encoders/dinov2/hub/depth/decode_heads.py:237
↓ 1 callersMethod_transform_inputs
Transform inputs for decoder. Args: inputs (list[Tensor]): List of multi-level img features. Returns: Tensor:
engine/pose_estimation/dinov2/dinov2/hub/depth/decode_heads.py:237
↓ 1 callersMethod_transform_inputs
Transform inputs for decoder. Args: inputs (list[Tensor] | Tensor): multi-level img features. Returns: Tenso
engine/pose_estimation/third-party/ViTPose/mmpose/models/heads/vipnas_heatmap_simple_head.py:269
↓ 1 callersMethod_transform_inputs
Transform inputs for decoder. Args: inputs (list[Tensor] | Tensor): multi-level img features. Returns: Tenso
engine/pose_estimation/third-party/ViTPose/mmpose/models/heads/deconv_head.py:169
↓ 1 callersMethod_transform_inputs
Transform inputs for decoder. Args: inputs (list[Tensor] | Tensor): multi-level img features. Returns: Tenso
engine/pose_estimation/third-party/ViTPose/mmpose/models/heads/topdown_heatmap_simple_head.py:269
↓ 1 callersMethod_transform_inputs
Transform inputs for decoder. Args: inputs (tuple or list of Tensor | Tensor): multi-level features. Returns:
engine/pose_estimation/third-party/ViTPose/mmpose/models/heads/temporal_regression_head.py:63
↓ 1 callersMethod_write_coco_keypoint_results
Write results into a json file.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/top_down/topdown_coco_dataset.py:334
↓ 1 callersMethod_write_coco_keypoint_results
Write results into a json file.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/animal/animal_ap10k_dataset.py:297
↓ 1 callersMethod_write_coco_keypoint_results
Write results into a json file.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/animal/animal_macaque_dataset.py:284
↓ 1 callersMethod_write_coco_keypoint_results
Write results into a json file.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/animal/animal_pose_dataset.py:288
↓ 1 callersMethod_write_coco_keypoint_results
Write results into a json file.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/animal/animal_atrw_dataset.py:282
↓ 1 callersMethod_write_coco_keypoint_results
Write results into a json file.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/bottom_up/bottom_up_coco.py:231
↓ 1 callersMethod_write_keypoint_results
Write results into a json file.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/top_down/topdown_mpii_trb_dataset.py:266
↓ 1 callersMethod_write_keypoint_results
Write results into a json file. Args: keypoint_results (dict): keypoint results organized by image_id. gt_folder (str
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/top_down/topdown_posetrack18_video_dataset.py:449
↓ 1 callersMethod_write_keypoint_results
Write results into a json file.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/top_down/topdown_h36m_dataset.py:202
↓ 1 callersMethod_write_keypoint_results
Write results into a json file.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/top_down/topdown_jhmdb_dataset.py:175
↓ 1 callersMethod_write_posetrack18_keypoint_results
Write results into a json file. Args: keypoint_results (dict): keypoint results organized by image_id. gt_folder (str
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/top_down/topdown_posetrack18_dataset.py:211
↓ 1 callersFunctionaabb
(xyz)
LHM/models/rendering/gs_renderer.py:36
↓ 1 callersMethodaabb
get the axis-aligned bounding box of the mesh. Returns: Tuple[torch.Tensor]: the min xyz and max xyz of the mesh.
LHM/models/rendering/mesh_utils.py:575
↓ 1 callersMethodadd_cavity
(self)
LHM/models/rendering/smpl_x.py:434
↓ 1 callersMethodadd_cavity
(self)
LHM/models/rendering/smpl_x_voxel_dense_sampling.py:404
↓ 1 callersMethodadd_detection_result
Add the detection result from one model into the message's detection_results. Args: tag (str, optional): Give a tag to th
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/utils/message.py:115
↓ 1 callersFunctionadd_mim_extension
Add extra files that are required to support MIM into the package. These files will be added by creating a symlink to the originals if the pa
engine/pose_estimation/third-party/ViTPose/setup.py:109
↓ 1 callersFunctionadd_plot_parser
(subparsers)
engine/pose_estimation/third-party/ViTPose/tools/analysis/analyze_logs.py:80
↓ 1 callersMethodadd_pose_result
Add the pose estimation result from one model into the message's pose_results. Args: tag (str, optional): Give a tag to t
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/utils/message.py:149
↓ 1 callersFunctionadd_prefix
Add prefix for dict. Args: inputs (dict): The input dict with str keys. prefix (str): The prefix to add. Returns: d
LHM/models/encoders/dinov2/hub/depth/encoder_decoder.py:15
↓ 1 callersFunctionadd_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/hub/depth/encoder_decoder.py:15
↓ 1 callersFunctionadd_residual
(x, brange, residual, residual_scale_factor, scaling_vector=None)
LHM/models/encoders/dinov2/layers/block.py:180
↓ 1 callersFunctionadd_residual
(x, brange, residual, residual_scale_factor, scaling_vector=None)
engine/pose_estimation/dinov2/dinov2/layers/block.py:149
↓ 1 callersFunctionadd_time_parser
(subparsers)
engine/pose_estimation/third-party/ViTPose/tools/analysis/analyze_logs.py:108
↓ 1 callersMethodadjust
Adjust the coordinates for better accuracy. Note: batch size: N number of keypoints: K heatmap height: H
engine/pose_estimation/third-party/ViTPose/mmpose/core/post_processing/group.py:245
↓ 1 callersMethodadjust_width_group
Adjusts the compatibility of widths and groups. Args: widths (list[int]): Width of each stage. bottleneck_ratio (floa
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/regnet.py:256
↓ 1 callersFunctionaffine_transform_torch
(pts, t)
engine/pose_estimation/third-party/ViTPose/mmpose/core/post_processing/post_transforms.py:362
↓ 1 callersMethodalbu_builder
Import a module from albumentations. It resembles some of :func:`build_from_cfg` logic. Args: cfg (dict): Config dict. I
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/shared_transform.py:236
↓ 1 callersFunctionall_zeros
Check if the weight(and bias) is all zero.
engine/pose_estimation/third-party/ViTPose/tests/test_backbones/test_hrnet.py:24
↓ 1 callersFunctionall_zeros
Check if the weight(and bias) is all zero.
engine/pose_estimation/third-party/ViTPose/tests/test_backbones/test_scnet.py:24
↓ 1 callersFunctionall_zeros
Check if the weight(and bias) is all zero.
engine/pose_estimation/third-party/ViTPose/tests/test_backbones/test_seresnet.py:12
↓ 1 callersFunctionallreduce_grads
Allreduce gradients. Args: params (list[torch.Parameters]): List of parameters of a model coalesce (bool, optional): Whether allr
engine/pose_estimation/third-party/ViTPose/mmpose/core/utils/dist_utils.py:32
↓ 1 callersMethodanimation_infer_gs
Inference code to query gs mesh.
LHM/models/modeling_human_lrm.py:832
↓ 1 callersMethodapply_background_effect
Change background. Args: img (np.ndarray): Image data. det_results (list[dict]): The detection results containing:
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/frame_effect_node.py:322
↓ 1 callersMethodapply_center_update
(self)
engine/pose_estimation/dinov2/dinov2/loss/ibot_patch_loss.py:141
↓ 1 callersMethodapply_center_update
(self)
engine/pose_estimation/dinov2/dinov2/loss/dino_clstoken_loss.py:89
↓ 1 callersFunctionapply_deformation_transfer
Applies the deformation transfer on the given meshes
LHM/models/rendering/smplx/transfer_model/utils/def_transfer.py:63
↓ 1 callersMethodapply_firecracker_effect
Apply firecracker effect. Args: img (np.ndarray): Image data. pose_results (list[dict]): The pose estimation results c
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/frame_effect_node.py:820
↓ 1 callersMethodapply_hat_effect
Apply hat effect. Args: img (np.ndarray): Image data. pose_results (list[dict]): The pose estimation results containin
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/frame_effect_node.py:715
↓ 1 callersMethodapply_moustache_effect
Apply moustache effect. Args: img (np.ndarray): Image data. pose_results (list[dict]): The pose estimation results co
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/frame_effect_node.py:544
↓ 1 callersFunctionapply_optim_scheduler
(optimizer, lr, wd, last_layer_lr)
engine/pose_estimation/dinov2/dinov2/train/train.py:113
↓ 1 callersMethodapply_saiyan_effect
Apply saiyan hair effect. Args: img (np.ndarray): Image data. pose_results (list[dict]): The pose estimation results
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/frame_effect_node.py:416
↓ 1 callersFunctionapply_scaling_rules_to_cfg
(cfg)
engine/pose_estimation/dinov2/dinov2/utils/config.py:21
↓ 1 callersMethodapply_sprite_effect
Apply sprite effect. Args: img (np.ndarray): Image data. pose_results (list[dict]): The pose estimation results conta
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/frame_effect_node.py:200
↓ 1 callersFunctionapply_threshold
Apply thresholding to detection scores; if stack_K is used and det_thresh is a list, apply to each channel separately
engine/pose_estimation/model.py:812
↓ 1 callersMethodas_smplh
Convert the body to SMPLH joints.
LHM/models/rendering/smplx/smplx/joint_names.py:316
↓ 1 callersFunctionas_torch_dtype
(dtype: TypeSpec)
engine/pose_estimation/dinov2/dinov2/utils/dtype.py:31
↓ 1 callersMethodassert_runtime_integrity
( self, x: torch.Tensor, cond: torch.Tensor, mod: torch.Tensor )
LHM/models/transformer.py:170
↓ 1 callersMethodassign2gt
Assign gt id to each valid human center candidate.
engine/pose_estimation/third-party/ViTPose/mmpose/models/detectors/multiview_pose.py:732
↓ 1 callersMethodaug_test
Test with augmentations. Only rescale=True is supported.
LHM/models/encoders/dinov2/hub/depth/encoder_decoder.py:200
↓ 1 callersMethodaug_test
Test with augmentations. Only rescale=True is supported.
engine/pose_estimation/dinov2/dinov2/hub/depth/encoder_decoder.py:200
↓ 1 callersFunctionauto_load_model
(cfg, model: nn.Module)
scripts/convert_hf.py:41
↓ 1 callersMethodauto_size
auto resize the mesh. Args: bound (float, optional): resizing into ``[-bound, bound]^3``. Defaults to 0.9.
LHM/models/rendering/mesh_utils.py:585
↓ 1 callersFunctionavaliable_device
()
app_motion.py:70
↓ 1 callersFunctionavaliable_device
()
LHM/models/ESRGANer_utils.py:29
↓ 1 callersFunctionaxis_angle_to_quaternion
Convert rotations given as axis/angle to quaternions. Args: axis_angle: Rotations given as a vector in axis angle form,
LHM/utils/rot6d.py:206
↓ 1 callersFunctionaxis_angle_to_quaternion
Convert rotations given as axis/angle to quaternions. Args: axis_angle: Rotations given as a vector in axis angle form,
engine/pose_estimation/pose_utils/rot6d.py:198
↓ 1 callersMethodbackprop_loss
(self, loss)
engine/pose_estimation/dinov2/dinov2/train/ssl_meta_arch.py:126
↓ 1 callersMethodbatch_detection
(self, bboxes, imgs, batch_size=32)
engine/pose_estimation/blocks/detector.py:90
↓ 1 callersFunctionbatch_inference_pose_model
(model, imgs, bboxes, dataset_info=None, return_heatmap=False)
engine/pose_estimation/third-party/ViTPose/mmpose/apis/inference.py:393
↓ 1 callersFunctionbatch_rigid_transform
Applies a batch of rigid transformations to the joints Parameters ---------- rot_mats : torch.tensor BxNx3x3 Tensor of rotat
LHM/models/rendering/smplx_gsavatar/lbs.py:349
↓ 1 callersFunctionbbox_xyxy_to_cxcywh
(bboxes: np.ndarray, scale=1.0, device=None)
engine/pose_estimation/pose_utils/tracker.py:6
↓ 1 callersMethodbirefnet_predict_bbox
(self, img, scale=1.0)
engine/SegmentAPI/SAM.py:227
↓ 1 callersMethodbrightness
Brightness distortion.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/shared_transform.py:340
↓ 1 callersFunctionbuild_act_layer
(act_layer)
engine/BiRefNet/models/modules/utils.py:4
↓ 1 callersFunctionbuild_camera_principle
RT: (N, 3, 4) intrinsics: (N, 3, 2), [[fx, fy], [cx, cy], [width, height]]
LHM/datasets/cam_utils.py:103
↓ 1 callersFunctionbuild_camera_standard
RT: (N, 3, 4) intrinsics: (N, 3, 2), [[fx, fy], [cx, cy], [width, height]]
LHM/datasets/cam_utils.py:115
↓ 1 callersFunctionbuild_dataloader
(exp_cfg)
LHM/models/rendering/smplx/transfer_model/data/build.py:27
↓ 1 callersFunctionbuild_drop_path
Build drop path layer.
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/hrformer.py:48
↓ 1 callersFunctionbuild_layer
Method for creating a model from a path and a model type Parameters ---------- model_path: str Either the path to the model you w
LHM/models/rendering/smplx/smplx/body_models.py:2538
↓ 1 callersFunctionbuild_model
(args, only_teacher=False, img_size=224)
LHM/models/encoders/dinov2/models/__init__.py:14
↓ 1 callersFunctionbuild_model
(args, only_teacher=False, img_size=224)
engine/pose_estimation/dinov2/dinov2/models/__init__.py:14
↓ 1 callersFunctionbuild_model_for_eval
(config, pretrained_weights)
engine/pose_estimation/dinov2/dinov2/eval/setup.py:62
↓ 1 callersFunctionbuild_prior_generator
(cfg, default_args=None)
engine/pose_estimation/dinov2/dinov2/eval/segmentation_m2f/core/anchor/builder.py:15
↓ 1 callersMethodbuild_sample_indices
Build sample indices. The default method creates sample indices that each sample is a single frame (i.e. seq_len=1). Override this me
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/base/kpt_3d_sview_kpt_2d_dataset.py:144
↓ 1 callersFunctionbuild_schedulers
(cfg)
engine/pose_estimation/dinov2/dinov2/train/train.py:65
↓ 1 callersFunctionbuild_topk_imagenet_real_accuracy_metric
(num_classes: int, ks: tuple = (1, 5))
engine/pose_estimation/dinov2/dinov2/eval/metrics.py:66
← previousnext →1,001–1,100 of 3,669, ranked by callers