MCPcopy Create free account

hub / github.com/aigc3d/LHM / functions

Functions3,669 in github.com/aigc3d/LHM

↓ 1 callersMethodquantize_float
Converts a float to closest non-zero int divisible by divior. Args: number (int): Original number to be quantized. di
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/regnet.py:244
↓ 1 callersFunctionquat_to_rotmat
Convert quaternion coefficients to rotation matrix. Args: quat: size = [B, 4] 4 <===>(w, x, y, z) Returns: Rotation matrix cor
engine/pose_estimation/third-party/ViTPose/mmpose/models/utils/geometry.py:43
↓ 1 callersFunctionquaternion_to_axis_angle
Convert rotations given as quaternions to axis/angle. Args: quaternions: quaternions with real part first, as tensor of
LHM/utils/rot6d.py:7
↓ 1 callersFunctionquaternion_to_axis_angle
Convert rotations given as quaternions to axis/angle. Args: quaternions: quaternions with real part first, as tensor of
engine/pose_estimation/pose_utils/rot6d.py:6
↓ 1 callersFunctionquaternion_to_matrix
Convert rotations given as quaternions to rotation matrices. Args: quaternions: quaternions with real part first, as ten
LHM/utils/rot6d.py:254
↓ 1 callersFunctionquaternion_to_matrix
Convert rotations given as quaternions to rotation matrices. Args: quaternions: quaternions with real part first, as ten
engine/pose_estimation/pose_utils/rot6d.py:245
↓ 1 callersMethodquery_latent_feat
( self, positions: Float[Tensor, "*B N1 3"], smplx_data, latent_feat: Float[Te
LHM/models/rendering/gs_renderer.py:1146
↓ 1 callersFunctionquery_model_config
(model_name)
app_motion.py:79
↓ 1 callersFunctionquery_model_config
(model_name)
app_motion_ms.py:98
↓ 1 callersFunctionquery_model_config
(model_name)
app.py:67
↓ 1 callersFunctionquery_model_config
(model_name)
LHM/runners/infer/human_lrm.py:144
↓ 1 callersFunctionquery_model_name
(model_name)
LHM/runners/infer/human_lrm.py:132
↓ 1 callersFunctionrandom_crop
(image, label)
engine/BiRefNet/image_proc.py:62
↓ 1 callersFunctionrandom_pepper
(img, N=0.0015)
engine/BiRefNet/image_proc.py:109
↓ 1 callersFunctionrandom_rotate
(image, label, angle=15)
engine/BiRefNet/image_proc.py:75
↓ 1 callersMethodratio_mapping
(self, img)
engine/SegmentAPI/SAM.py:364
↓ 1 callersFunctionread_deformation_transfer
Reads a deformation transfer
LHM/models/rendering/smplx/transfer_model/utils/def_transfer.py:28
↓ 1 callersMethodread_image
read an image file into various formats and color mode. Args: path (str): path to the image file. mode (Literal["floa
engine/SegmentAPI/base.py:188
↓ 1 callersFunctionread_smplx_param
(smplx_data_root, shape_param_file, batch_size=1, device="cuda")
LHM/models/rendering/smpl_x_voxel_dense_sampling.py:1507
↓ 1 callersFunctionreadme
()
engine/pose_estimation/third-party/ViTPose/setup.py:10
↓ 1 callersFunctionrebatch
(idx_0, idx_det)
engine/pose_estimation/pose_utils/tensor_manip.py:7
↓ 1 callersMethodreduce_center_update
(self, teacher_patch_tokens)
engine/pose_estimation/dinov2/dinov2/loss/ibot_patch_loss.py:133
↓ 1 callersMethodreduce_center_update
(self, teacher_output)
engine/pose_estimation/dinov2/dinov2/loss/dino_clstoken_loss.py:81
↓ 1 callersMethodrefine
Given initial keypoint predictions, we identify missing joints. Note: number of keypoints: K heatmap height: H
engine/pose_estimation/third-party/ViTPose/mmpose/core/post_processing/group.py:282
↓ 1 callersFunctionrefine_foreground
(image, mask, r=90)
engine/BiRefNet/image_proc.py:7
↓ 1 callersMethodregion
(self, pred: np.ndarray, gt: np.ndarray)
engine/BiRefNet/evaluation/metrics.py:274
↓ 1 callersMethodregister_constrain_prior
As video cannot provide insufficient supervision for the canonical space, we add some human prior to constrain the rotation. Although it is a trick, i
LHM/models/rendering/smpl_x_voxel_dense_sampling.py:317
↓ 1 callersFunctionrel_change
(prev_val, curr_val)
LHM/models/rendering/smplx/transfer_model/utils/np_utils.py:23
↓ 1 callersFunctionrender_frame
(renderer, humans, pred_rend_array, default_R, default_T, device, keep_origin=True)
engine/pose_estimation/pose_utils/render.py:331
↓ 1 callersMethodrender_frame
(self, humans, pred_rend_array, verts_list=None, color_list=None)
engine/pose_estimation/pose_utils/render.py:299
↓ 1 callersMethodrender_normal
(self, vertices)
engine/pose_estimation/pose_utils/render.py:210
↓ 1 callersFunctionrender_video
(results, faces, K, pil_bis_frames, fps, out_path, device, keep_origin=True)
engine/pose_estimation/pose_utils/render.py:353
↓ 1 callersMethodreport_strings
Report timing information in texture strings. Returns: list(str): Each element is the information string of a timed \
engine/pose_estimation/third-party/ViTPose/mmpose/utils/timer.py:99
↓ 1 callersMethodreset
(self)
engine/pose_estimation/pose_utils/training.py:208
↓ 1 callersMethodreset
(self)
engine/BiRefNet/utils.py:69
↓ 1 callersMethodreset_bbox
(self,)
engine/pose_estimation/pose_utils/render.py:269
↓ 1 callersFunctionreshard_fsdp_model
(x)
engine/pose_estimation/dinov2/dinov2/fsdp/__init__.py:76
↓ 1 callersMethodresize_image
(self, image, multiply)
LHM/models/rendering/gs_renderer.py:708
↓ 1 callersFunctionrgetattr
(obj, attr, *args)
engine/pose_estimation/third-party/ViTPose/mmpose/utils/hooks.py:55
↓ 1 callersFunctionrot6d_to_rotmat
Convert 6D rotation representation to 3x3 rotation matrix. Based on Zhou et al., "On the Continuity of Rotation Representations in Neural Net
engine/pose_estimation/third-party/ViTPose/mmpose/models/utils/geometry.py:6
↓ 1 callersFunctionrot_mat_to_euler
(rot_mats)
LHM/models/rendering/smplx/smplx/utils.py:120
↓ 1 callersFunctionrot_mat_to_euler
(rot_mats)
LHM/models/rendering/smplx_gsavatar/utils.py:122
↓ 1 callersFunctionrotation_6d_to_matrix
Converts 6D rotation representation by Zhou et al. [1] to rotation matrix using Gram--Schmidt orthogonalisation per Section B of [1]. Arg
LHM/utils/rot6d.py:389
↓ 1 callersMethodrun
(self)
LHM/runners/abstract.py:26
↓ 1 callersMethodrun
Program entry. This method starts all nodes as well as video I/O in separate threads.
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/webcam_runner.py:241
↓ 1 callersMethodrun_async
Runs func on each item in iterable by using either map or starmap asynchronously. Also calls shutdown to finish up. Args: iterable
LHM/models/encoders/workpool.py:65
↓ 1 callersFunctionrun_eval_linear
( model, output_dir, train_dataset_str, val_dataset_str, batch_size, epochs, epoch
engine/pose_estimation/dinov2/dinov2/eval/linear.py:463
↓ 1 callersFunctionrun_fitting
Runs fitting
LHM/models/rendering/smplx/transfer_model/transfer_model.py:257
↓ 1 callersMethodrun_forward
(self, colors, densities, depths, rendering_options, bg_colors=None)
LHM/models/rendering/utils/ray_marcher.py:29
↓ 1 callersMethodrun_model_activated
(self, planes, decoder, sample_coordinates, sample_directions, options)
LHM/models/rendering/utils/renderer.py:195
↓ 1 callersMethodsample
Sample positive and negative bboxes. This is a simple implementation of bbox sampling given candidates, assigning results and ground
engine/pose_estimation/dinov2/dinov2/eval/segmentation_m2f/core/box/samplers/base_sampler.py:34
↓ 1 callersFunctionsample_from_planes
(plane_axes, plane_features, coordinates, mode='bilinear', padding_mode='zeros', box_warp=None)
LHM/models/rendering/utils/renderer.py:61
↓ 1 callersMethodsample_importance
Return depths of importance sampled points along rays. See NeRF importance sampling for more.
LHM/models/rendering/utils/renderer.py:244
↓ 1 callersFunctionsample_one
(data)
LHM/models/rendering/smpl_x_voxel_dense_sampling.py:1719
↓ 1 callersMethodsample_pdf
Sample @N_importance samples from @bins with distribution defined by @weights. Inputs: bins: (N_rays, N_samples_+1) where
LHM/models/rendering/utils/renderer.py:264
↓ 1 callersMethodsample_surface
sample points on the surface of the mesh. Args: count (int): number of points to sample. Returns: torch.Tens
LHM/models/rendering/mesh_utils.py:560
↓ 1 callersMethodsaturation
(self, img)
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/shared_transform.py:357
↓ 1 callersFunctionsave_checkpoint
Save checkpoint to file. The checkpoint will have 4 fields: ``meta``, ``state_dict`` and ``optimizer``, ``amp``. By default ``meta`` will con
engine/pose_estimation/third-party/ViTPose/mmcv_custom/apex_runner/checkpoint.py:19
↓ 1 callersMethodsave_results
(self, out_path, frame_ids, poses, betas, transl, K, img_wh)
engine/pose_estimation/video2motion.py:478
↓ 1 callersFunctionsave_tensor_img
(tenor_im, path)
engine/BiRefNet/utils.py:86
↓ 1 callersMethodsave_video
( self, all_frames, frame_ids, bboxes, keypoints, verts, K, out_folder )
engine/pose_estimation/video2motion.py:453
↓ 1 callersFunctionscale_lr
(learning_rates, batch_size)
engine/pose_estimation/dinov2/dinov2/eval/linear.py:231
↓ 1 callersFunctionscreen_matting
Screen Matting. Args: img (np.ndarray): Image data. color_low (tuple): Lower limit (b, g, r). color_high (tuple): Higher
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/utils/misc.py:122
↓ 1 callersMethodset_full_results
Set full model results directly. Args: results (dict): All model predictions including: - detection_results (list
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/utils/message.py:196
↓ 1 callersMethodset_runner
(self, runner)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/node.py:185
↓ 1 callersMethodset_smpl_init
Fetch saved SMPL parameters and register buffers.
engine/pose_estimation/model.py:640
↓ 1 callersFunctionsetup
(app)
engine/pose_estimation/third-party/ViTPose/docs/en/conf.py:115
↓ 1 callersMethodsetup_functions
(self)
LHM/models/rendering/gs_renderer.py:162
↓ 1 callersMethodsetup_functions
(self)
LHM/models/rendering/gs_renderer.py:351
↓ 1 callersFunctionsetup_linear_classifiers
(sample_output, n_last_blocks_list, learning_rates, batch_size, num_classes=1000)
engine/pose_estimation/dinov2/dinov2/eval/linear.py:235
↓ 1 callersMethodsimple_test
Simple test with single image.
LHM/models/encoders/dinov2/hub/depth/encoder_decoder.py:188
↓ 1 callersMethodsimple_test
Simple test with single image.
engine/pose_estimation/dinov2/dinov2/hub/depth/encoder_decoder.py:188
↓ 1 callersMethodsingleTagLoss
Associative embedding loss for one image. Note: - heatmaps weight: W - heatmaps height: H - max_num_peopl
engine/pose_estimation/third-party/ViTPose/mmpose/models/losses/multi_loss_factory.py:81
↓ 1 callersFunctionsingle_gpu_test
Test model with a single gpu. This method tests model with a single gpu and displays test progress bar. Args: model (nn.Module): Mod
engine/pose_estimation/third-party/ViTPose/mmpose/apis/test.py:13
↓ 1 callersMethodsingle_level_grid_priors
Generate grid Points of a single level. Note: This function is usually called by method ``self.grid_priors``. Args:
engine/pose_estimation/dinov2/dinov2/eval/segmentation_m2f/core/anchor/point_generator.py:82
↓ 1 callersMethodsingle_level_valid_flags
Generate the valid flags of points of a single feature map. Args: featmap_size (tuple[int]): The size of feature maps, arrange as
engine/pose_estimation/dinov2/dinov2/eval/segmentation_m2f/core/anchor/point_generator.py:156
↓ 1 callersMethodslide_inference
Inference by sliding-window with overlap. If h_crop > h_img or w_crop > w_img, the small patch will be used to decode without padding
LHM/models/encoders/dinov2/hub/depth/encoder_decoder.py:119
↓ 1 callersMethodslide_inference
Inference by sliding-window with overlap. If h_crop > h_img or w_crop > w_img, the small patch will be used to decode without padding
engine/pose_estimation/dinov2/dinov2/hub/depth/encoder_decoder.py:119
↓ 1 callersMethodsmpl_losses
Compute SMPL parameters loss for the examples that SMPL parameter annotations are available. The loss is weighted by has_smpl.
engine/pose_estimation/third-party/ViTPose/mmpose/models/losses/mesh_loss.py:133
↓ 1 callersFunctionsmplx_gs_smooth
(poses, betas, transl, fps=30)
engine/pose_estimation/pose_utils/postprocess.py:32
↓ 1 callersMethodsmplx_init
Initialize the sub-devided smplx model by registering buffers for various attributes This method performs the following steps:
LHM/models/rendering/smpl_x.py:553
↓ 1 callersMethodsmplx_init
Initialize the sub-devided smplx model by registering buffers for various attributes This method performs the following steps:
LHM/models/rendering/smpl_x_voxel_dense_sampling.py:745
↓ 1 callersMethodsoft_argmax_1d
(self, heatmap1d)
engine/pose_estimation/third-party/ViTPose/mmpose/models/heads/interhand_3d_head.py:209
↓ 1 callersFunctionssim
(dataloader)
tools/metrics/compute_metric_ssim_lipis.py:149
↓ 1 callersFunctionssim
(dataloader)
tools/metrics/compute_metric_ssim_lipis_anigs.py:151
↓ 1 callersMethodstep
(self)
LHM/utils/profiler.py:29
↓ 1 callersMethodstep
(self, pred: np.ndarray, gt: np.ndarray)
engine/BiRefNet/evaluation/metrics.py:205
↓ 1 callersMethodstep
(self, pred: np.ndarray, gt: np.ndarray)
engine/BiRefNet/evaluation/metrics.py:224
↓ 1 callersMethodstep
(self, pred: np.ndarray, gt: np.ndarray)
engine/BiRefNet/evaluation/metrics.py:244
↓ 1 callersMethodstep
(self, pred: np.ndarray, gt: np.ndarray)
engine/BiRefNet/evaluation/metrics.py:353
↓ 1 callersMethodstep
(self, pred: np.ndarray, gt: np.ndarray)
engine/BiRefNet/evaluation/metrics.py:466
↓ 1 callersMethodstep
(self, pred: np.ndarray, gt: np.ndarray, gt_ske)
engine/BiRefNet/evaluation/metrics.py:532
↓ 1 callersMethodstep
(self, pred: np.ndarray, gt: np.ndarray)
engine/BiRefNet/evaluation/metrics.py:674
↓ 1 callersMethodstep
(self, pred: np.ndarray, gt: np.ndarray)
engine/BiRefNet/evaluation/metrics.py:763
↓ 1 callersMethodstep_load_to_size
(self, image_path: str, size: int)
LHM/utils/preprocess.py:78
↓ 1 callersMethodstep_recenter
(self, image_in: np.ndarray, border_ratio: float, square_size: int)
LHM/utils/preprocess.py:55
↓ 1 callersMethodstep_rembg
(self, image_in: np.ndarray)
LHM/utils/preprocess.py:48
↓ 1 callersFunctionsurrounding_views_linspace
n_views: number of surrounding views radius: camera dist to center height: height of the camera return: (M, 3, 4)
LHM/datasets/cam_utils.py:161
↓ 1 callersMethodswap_channels
(self, img)
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/shared_transform.py:370
↓ 1 callersFunctionsweep_C_values
( *, train_features, train_labels, test_data_loader, metric_type, num_classes, tra
engine/pose_estimation/dinov2/dinov2/eval/log_regression.py:187
← previousnext →1,601–1,700 of 3,669, ranked by callers