MCPcopy Create free account

hub / github.com/aigc3d/LHM / functions

Functions3,669 in github.com/aigc3d/LHM

↓ 1 callersMethodtag_last_checkpoint
Tag the last checkpoint. Args: last_filename_basename (str): the basename of the last filename.
engine/pose_estimation/dinov2/dinov2/fsdp/__init__.py:143
↓ 1 callersFunctiontest_mobilenetv3_backbone
()
engine/pose_estimation/third-party/ViTPose/tests/test_backbones/test_vipnas_mbv3.py:27
↓ 1 callersFunctiontest_on_datasets
( feature_model, linear_classifiers, test_dataset_strs, batch_size, num_workers, test_
engine/pose_estimation/dinov2/dinov2/eval/linear.py:429
↓ 1 callersMethodto_ddp
Wrap models with separate MMDistributedDataParallel. It only wraps the modules with parameters.
engine/pose_estimation/third-party/ViTPose/mmpose/core/distributed_wrapper.py:76
↓ 1 callersMethodto_euclidean_dist
(self, x, dist, _K)
engine/pose_estimation/model.py:319
↓ 1 callersMethodto_tuple
Convert self to a tuple containing all the attributes/keys that are not `None`.
LHM/outputs/base.py:110
↓ 1 callersMethodto_tuple
Convert self to a tuple containing all the attributes/keys that are not `None`.
engine/ouputs.py:110
↓ 1 callersMethodto_whwh
(self)
LHM/utils/bbox.py:37
↓ 1 callersMethodto_xywh_ratio
(self, ori_w, ori_h)
LHM/utils/bbox.py:71
↓ 1 callersMethodtop_k
Find top_k values in an image. Note: batch size: N number of keypoints: K heatmap height: H h
engine/pose_estimation/third-party/ViTPose/mmpose/core/post_processing/group.py:191
↓ 1 callersMethodtrack
(self, all_frames)
engine/pose_estimation/video2motion.py:321
↓ 1 callersFunctiontrack_by_area
(humans, target_img_size, threshold=0.3)
engine/pose_estimation/pose_utils/tracker.py:86
↓ 1 callersMethodtrain
(self)
engine/pose_estimation/dinov2/dinov2/train/ssl_meta_arch.py:367
↓ 1 callersMethodtrain
Convert the model into training mode.
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/vit_moe.py:382
↓ 1 callersFunctiontrain_and_evaluate
( *, C, max_iter, train_features, train_labels, logreg_metric, test_data_loader,
engine/pose_estimation/dinov2/dinov2/eval/log_regression.py:159
↓ 1 callersMethodtrain_epoch
(self, epoch)
engine/BiRefNet/train.py:205
↓ 1 callersFunctiontrain_model
Train model entry function. Args: model (nn.Module): The model to be trained. dataset (Dataset): Train dataset. cfg (dict
engine/pose_estimation/third-party/ViTPose/mmpose/apis/train.py:60
↓ 1 callersFunctiontransform_mat
Creates a batch of transformation matrices Args: - R: Bx3x3 array of a batch of rotation matrices - t: Bx3x1 array of a batch of t
LHM/models/rendering/smplx/smplx/lbs.py:350
↓ 1 callersFunctiontransform_mat
Creates a batch of transformation matrices Args: - R: Bx3x3 array of a batch of rotation matrices - t: Bx3x1 array of
LHM/models/rendering/smplx_gsavatar/lbs.py:336
↓ 1 callersMethodtransform_to_posed_verts
_summary_ Args: smplx_data (_type_): e.g., body_pose:[B*Nv, 21, 3], betas:[B*Nv, 100]
LHM/models/rendering/smpl_x_voxel_dense_sampling.py:1249
↓ 1 callersFunctionundo_focal_length_normalization
Undo focal_length_normalization()
engine/pose_estimation/pose_utils/camera.py:72
↓ 1 callersFunctionundo_log_depth
Undo log_depth()
engine/pose_estimation/pose_utils/camera.py:91
↓ 1 callersMethodunify_samples
(self, depths1, colors1, densities1, depths2, colors2, densities2)
LHM/models/rendering/utils/renderer.py:207
↓ 1 callersFunctionunravel_index
(index, shape)
engine/pose_estimation/model.py:36
↓ 1 callersMethodupdate_bbox
Update bbox of cameras from the given 3d points x3d: input 3D keypoints (or vertices), (num_frames, num_points, 3)
engine/pose_estimation/pose_utils/render.py:250
↓ 1 callersMethodupdate_teacher
(self, m)
engine/pose_estimation/dinov2/dinov2/train/ssl_meta_arch.py:356
↓ 1 callersMethodupper_body_label
(self)
LHM/models/rendering/smpl_x_voxel_dense_sampling.py:262
↓ 1 callersMethodupsample_mesh
(self, vert, feat_list=None, device="cuda")
LHM/models/rendering/smpl_x.py:384
↓ 1 callersMethodupsample_mesh_batch
(self, vert, device="cuda")
LHM/models/rendering/smpl_x.py:418
↓ 1 callersMethodupsample_mesh_batch
using blendshape to offset pts
LHM/models/rendering/smpl_x_voxel_dense_sampling.py:1271
↓ 1 callersMethodupsample_mesh_cpu
(self, vert, feat_list=None)
LHM/models/rendering/smpl_x.py:357
↓ 1 callersMethodvalues
(self)
LHM/models/rendering/smplx_gsavatar/utils.py:48
↓ 1 callersMethodvertex_loss
Compute 3D vertex loss for the examples that 3D human mesh annotations are available. The loss is weighted by the has_smpl.
engine/pose_estimation/third-party/ViTPose/mmpose/models/losses/mesh_loss.py:122
↓ 1 callersFunctionvertices2joints
Calculates the 3D joint locations from the vertices Parameters ---------- J_regressor : torch.tensor JxV The regressor array tha
LHM/models/rendering/smplx_gsavatar/lbs.py:255
↓ 1 callersFunctionvis_3d_mesh_result
Visualize the 3D mesh estimation results. Args: model (nn.Module): The loaded model. result (list[dict]): 3D mesh estimation resu
engine/pose_estimation/third-party/ViTPose/mmpose/apis/inference_3d.py:779
↓ 1 callersMethodvisualize
(self, img, pose_results)
engine/pose_estimation/blocks/detector.py:165
↓ 1 callersMethodvoxel_skinning_init
(self, scale_ratio=1.05, voxel_size=256)
LHM/models/rendering/smpl_x_voxel_dense_sampling.py:659
↓ 1 callersMethodvoxel_smooth_register
Smooth KNN to handle skirt deformation.
LHM/models/rendering/smpl_x_voxel_dense_sampling.py:580
↓ 1 callersMethodwhole_inference
Inference with full image.
LHM/models/encoders/dinov2/hub/depth/encoder_decoder.py:115
↓ 1 callersMethodwhole_inference
Inference with full image.
engine/pose_estimation/dinov2/dinov2/hub/depth/encoder_decoder.py:115
↓ 1 callersFunctionwindow_reverse
Args: windows: (num_windows*B, window_size, window_size, C) window_size (int): Window size H (int): Height of image
engine/BiRefNet/models/backbones/swin_v1.py:65
↓ 1 callersMethodworld_to_camera
(self, X)
engine/pose_estimation/third-party/ViTPose/mmpose/core/camera/single_camera.py:85
↓ 1 callersMethodworld_to_camera
Project points from world coordinates to camera coordinates.
engine/pose_estimation/third-party/ViTPose/mmpose/core/camera/camera_base.py:30
↓ 1 callersFunctionwrite_config
(cfg, output_dir, name="config.yaml")
engine/pose_estimation/dinov2/dinov2/utils/config.py:32
↓ 1 callersMethodwrite_glb
write the mesh in glb/gltf format. This will create a scene with a single mesh. Args: path (str): path to write.
LHM/models/rendering/mesh_utils.py:738
↓ 1 callersFunctionwrite_json
write a json file. Args: path (str): path to write json file. x (dict): dict to write.
tools/metrics/compute_psnr_anigs.py:24
↓ 1 callersFunctionwrite_json
write a json file. Args: path (str): path to write json file. x (dict): dict to write.
tools/metrics/compute_facesimilarity_video_anigs.py:61
↓ 1 callersFunctionwrite_json
write a json file. Args: path (str): path to write json file. x (dict): dict to write.
tools/metrics/compute_metric_ssim_lipis.py:24
↓ 1 callersFunctionwrite_json
write a json file. Args: path (str): path to write json file. x (dict): dict to write.
tools/metrics/compute_metric_ssim_lipis_anigs.py:25
↓ 1 callersFunctionwrite_json
write a json file. Args: path (str): path to write json file. x (dict): dict to write.
tools/metrics/compute_psnr.py:23
↓ 1 callersFunctionwrite_json
write a json file. Args: path (str): path to write json file. x (dict): dict to write.
tools/metrics/compute_facesimilarity.py:60
↓ 1 callersFunctionwrite_json
write a json file. Args: path (str): path to write json file. x (dict): dict to write.
tools/metrics/compute_facesimilarity_video.py:60
↓ 1 callersMethodwrite_obj
write the mesh in obj format. Will also write the texture and mtl files. Args: path (str): path to write.
LHM/models/rendering/mesh_utils.py:926
↓ 1 callersMethodwrite_ply
write the mesh in ply format. Only for geometry! Args: path (str): path to write.
LHM/models/rendering/mesh_utils.py:721
FunctionFPS
(sample, num)
engine/SegmentAPI/SAM.py:58
Method__call__
(self, image_tensor)
LHM/utils/face_detector.py:163
Method__call__
( self, attn: Attention, hidden_states: torch.FloatTensor, encoder_hidden_stat
LHM/models/transformer_dit.py:196
Method__call__
(self, img)
LHM/models/ESRGANer_utils.py:444
Method__call__
(self, *args, **kwargs)
LHM/models/encoders/workpool.py:18
Method__call__
(self, *args, **kwargs)
LHM/models/encoders/sapiens_warpper.py:35
Method__call__
(self, sample)
LHM/models/encoders/dpt_util/transform.py:118
Method__call__
(self, sample)
LHM/models/encoders/dpt_util/transform.py:153
Method__call__
(self, sample)
LHM/models/encoders/dpt_util/transform.py:165
Method__call__
(self, video_path, output_path, is_file_only=False)
engine/pose_estimation/video2motion.py:500
Method__call__
(self, img_path)
engine/pose_estimation/pose_estimator.py:129
Method__call__
(self)
engine/pose_estimation/dinov2/dinov2/run/eval/linear.py:22
Method__call__
(self)
engine/pose_estimation/dinov2/dinov2/run/eval/log_regression.py:22
Method__call__
(self)
engine/pose_estimation/dinov2/dinov2/run/eval/knn.py:22
Method__call__
(self)
engine/pose_estimation/dinov2/dinov2/run/train/train.py:22
Method__call__
Compute the filtered signal. Hyper-parameters (cutoff, beta) are from `VNect <http://gvv.mpi-inf.mpg.de/projects/VNect/>`__ .
engine/pose_estimation/third-party/ViTPose/mmpose/core/post_processing/one_euro_filter.py:59
Method__call__
Loading image from file.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/mesh_transform.py:180
Method__call__
(self, results)
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/mesh_transform.py:210
Method__call__
Perform data augmentation with random channel noise.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/mesh_transform.py:240
Method__call__
Perform data augmentation with random image flip.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/mesh_transform.py:270
Method__call__
Perform data augmentation with random scaling & rotating.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/mesh_transform.py:327
Method__call__
(self, results)
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/mesh_transform.py:357
Method__call__
Loading image(s) from file.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/loading.py:49
Method__call__
(self, results)
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/pose3d_transform.py:50
Method__call__
(self, results)
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/pose3d_transform.py:116
Method__call__
(self, results)
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/pose3d_transform.py:158
Method__call__
(self, results)
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/pose3d_transform.py:211
Method__call__
(self, results)
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/pose3d_transform.py:291
Method__call__
(self, results)
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/pose3d_transform.py:378
Method__call__
(self, results)
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/pose3d_transform.py:452
Method__call__
Generate the target heatmap.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/pose3d_transform.py:488
Method__call__
Generate the target heatmap.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/pose3d_transform.py:575
Method__call__
Perform data augmentation with random image flip.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/hand_transform.py:23
Method__call__
Generate the target heatmap.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/hand_transform.py:52
Method__call__
Generate heatmaps.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/bottom_up_transform.py:170
Method__call__
Note: - number of people in image: N - number of keypoints: K - max number of people in an image: M
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/bottom_up_transform.py:237
Method__call__
Generate the target part affinity fields.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/bottom_up_transform.py:337
Method__call__
Perform data augmentation with random image flip.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/bottom_up_transform.py:370
Method__call__
Perform data augmentation with random scaling & rotating.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/bottom_up_transform.py:453
Method__call__
Generate multi-scale heatmap target for bottom-up.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/bottom_up_transform.py:595
Method__call__
Generate multi-scale heatmap target for bottom-up.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/bottom_up_transform.py:640
Method__call__
Generate multi-scale part affinity fields for bottom-up.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/bottom_up_transform.py:684
Method__call__
Get multi-scale image sizes for bottom-up.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/bottom_up_transform.py:725
Method__call__
Resize multi-scale size and align transform for bottom-up.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/bottom_up_transform.py:793
Method__call__
Perform data augmentation with random image flip.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/top_down_transform.py:29
Method__call__
Perform data augmentation with half-body transform.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/top_down_transform.py:128
← previousnext →1,701–1,800 of 3,669, ranked by callers