MCPcopy Create free account

hub / github.com/aigc3d/LHM / functions

Functions3,669 in github.com/aigc3d/LHM

Methodcheckpoint
(self)
engine/pose_estimation/dinov2/dinov2/run/eval/log_regression.py:28
Methodcheckpoint
(self)
engine/pose_estimation/dinov2/dinov2/run/train/train.py:28
Functionclosure
(backward=True)
LHM/models/rendering/smplx/transfer_model/transfer_model.py:132
Methodclosure
()
engine/pose_estimation/smplify.py:207
Functioncompose_extrinsic_R_T
Compose the standard form extrinsic matrix from R and T. Batched I/O.
LHM/datasets/cam_utils.py:27
Methodcompute_bbox
(self, img)
engine/pose_estimation/blocks/detector.py:81
Methodcompute_bboxes_from_keypoints
(self, s_factor=1.2)
engine/pose_estimation/blocks/detector.py:63
Methodcompute_discriminator_loss
(self, data)
LHM/models/modeling_human_lrm.py:165
Functioncompute_iou
Compute the Intersection over Union (IoU) between two boxes . Args: bboxA (list): The first bbox info (left, top, right, bottom, score).
engine/pose_estimation/pose_utils/tracker.py:17
Functioncompute_prf1
Code modified from https://github.com/Arthur151/ROMP/blob/4eebd3647f57d291d26423e51f0d514ff7197cb3/simple_romp/evaluation/RH_evaluation/evaluatio
engine/pose_estimation/pose_utils/training.py:9
Functionconfigure_dynamo
(config: dict)
LHM/utils/compile.py:22
Functioncont_repr_to_rotation_matrix
Converts tensor in continous representation to rotation matrices
LHM/models/rendering/smplx/transfer_model/utils/pose_utils.py:40
Functioncore_fn
(image: str, video_params, working_dir)
app_motion.py:382
Functioncore_fn
(image: str, video_params, working_dir)
app_motion_ms.py:402
Functioncore_fn
(image: str, video_params, working_dir)
app.py:366
Functioncosine_scheduler
(base_value, final_value, epochs, niter_per_ep, warmup_epochs=0, start_warmup_value=0, wa
engine/pose_estimation/third-party/ViTPose/mmcv_custom/checkpoint.py:292
Functioncreate
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:2604
Functioncreate
Method for creating a model from a path and a model type Parameters ---------- model_path: str Either the path t
LHM/models/rendering/smplx_gsavatar/body_models.py:2353
Methodcreate_custom_forward
(module)
LHM/models/modeling_human_lrm.py:291
Methodcreate_custom_forward
(module)
LHM/models/modeling_human_lrm.py:713
Methodcreate_custom_forward
(module)
LHM/models/transformer.py:236
Methodcreate_mean_pose
(self, data_struct)
LHM/models/rendering/smplx/smplx/body_models.py:292
Methodcreate_mean_pose
(self, data_struct, flat_hand_mean=False)
LHM/models/rendering/smplx/smplx/body_models.py:1192
Methodcreate_mean_pose
(self, data_struct)
LHM/models/rendering/smplx_gsavatar/body_models.py:270
Methodcreate_mean_pose
(self, data_struct, flat_hand_mean=False)
LHM/models/rendering/smplx_gsavatar/body_models.py:1088
Methodcustom_forward
(*inputs)
LHM/models/modeling_human_lrm.py:292
Methodcustom_forward
(*inputs)
LHM/models/modeling_human_lrm.py:714
Methodcustom_forward
(*inputs)
LHM/models/transformer.py:237
Methoddecode
Decode keypoints from heatmaps. Args: img_metas (list(dict)): Information about data augmentation By default this
engine/pose_estimation/third-party/ViTPose/mmpose/models/heads/topdown_heatmap_base_head.py:40
Methoddecode
Decode the keypoints from output regression. Args: img_metas (list(dict)): Information about data augmentation By
engine/pose_estimation/third-party/ViTPose/mmpose/models/heads/deeppose_regression_head.py:117
Functiondecompose_extrinsic_R_T
Decompose the standard extrinsic matrix into R and T. Batched I/O.
LHM/datasets/cam_utils.py:47
Methoddecorator
(cls)
LHM/utils/registry.py:24
Functiondenormalize_rgb
Args: - img: np.array - (3,W,H) - np.float - -3/3 Return: - img: np.array - (W,H,3) - np.uint8 - 0/255
engine/pose_estimation/pose_utils/image.py:66
Functiondinov2_vitb14
DINOv2 ViT-B/14 model (optionally) pretrained on the LVD-142M dataset.
LHM/models/encoders/dinov2/hub/backbones.py:81
Functiondinov2_vitb14
DINOv2 ViT-B/14 model (optionally) pretrained on the LVD-142M dataset.
engine/pose_estimation/dinov2/dinov2/hub/backbones.py:71
Functiondinov2_vitb14_dd
(*, pretrained: bool = True, weights: Union[Weights, str] = Weights.NYU, **kwargs)
LHM/models/encoders/dinov2/hub/depthers.py:235
Functiondinov2_vitb14_dd
(*, pretrained: bool = True, weights: Union[Weights, str] = Weights.NYU, **kwargs)
engine/pose_estimation/dinov2/dinov2/hub/depthers.py:235
Functiondinov2_vitb14_lc
Linear classifier (1 or 4 layers) on top of a DINOv2 ViT-B/14 backbone (optionally) pretrained on the LVD-142M dataset and trained on ImageNet-1k
LHM/models/encoders/dinov2/hub/classifiers.py:140
Functiondinov2_vitb14_lc
Linear classifier (1 or 4 layers) on top of a DINOv2 ViT-B/14 backbone (optionally) pretrained on the LVD-142M dataset and trained on ImageNet-1k
engine/pose_estimation/dinov2/dinov2/hub/classifiers.py:140
Functiondinov2_vitb14_ld
(*, layers: int = 4, pretrained: bool = True, weights: Union[Weights, str] = Weights.NYU, **kwargs)
LHM/models/encoders/dinov2/hub/depthers.py:149
Functiondinov2_vitb14_ld
(*, layers: int = 4, pretrained: bool = True, weights: Union[Weights, str] = Weights.NYU, **kwargs)
engine/pose_estimation/dinov2/dinov2/hub/depthers.py:149
Functiondinov2_vitb14_reg
DINOv2 ViT-B/14 model with registers (optionally) pretrained on the LVD-142M dataset.
LHM/models/encoders/dinov2/hub/backbones.py:123
Functiondinov2_vitb14_reg
DINOv2 ViT-B/14 model with registers (optionally) pretrained on the LVD-142M dataset.
engine/pose_estimation/dinov2/dinov2/hub/backbones.py:113
Functiondinov2_vitb14_reg_lc
Linear classifier (1 or 4 layers) on top of a DINOv2 ViT-B/14 backbone with registers (optionally) pretrained on the LVD-142M dataset and trained
LHM/models/encoders/dinov2/hub/classifiers.py:216
Functiondinov2_vitb14_reg_lc
Linear classifier (1 or 4 layers) on top of a DINOv2 ViT-B/14 backbone with registers (optionally) pretrained on the LVD-142M dataset and trained
engine/pose_estimation/dinov2/dinov2/hub/classifiers.py:216
Functiondinov2_vitg14
DINOv2 ViT-g/14 model (optionally) pretrained on the LVD-142M dataset.
LHM/models/encoders/dinov2/hub/backbones.py:95
Functiondinov2_vitg14
DINOv2 ViT-g/14 model (optionally) pretrained on the LVD-142M dataset.
engine/pose_estimation/dinov2/dinov2/hub/backbones.py:85
Functiondinov2_vitg14_dd
(*, pretrained: bool = True, weights: Union[Weights, str] = Weights.NYU, **kwargs)
LHM/models/encoders/dinov2/hub/depthers.py:243
Functiondinov2_vitg14_dd
(*, pretrained: bool = True, weights: Union[Weights, str] = Weights.NYU, **kwargs)
engine/pose_estimation/dinov2/dinov2/hub/depthers.py:243
Functiondinov2_vitg14_lc
Linear classifier (1 or 4 layers) on top of a DINOv2 ViT-g/14 backbone (optionally) pretrained on the LVD-142M dataset and trained on ImageNet-1k
LHM/models/encoders/dinov2/hub/classifiers.py:178
Functiondinov2_vitg14_lc
Linear classifier (1 or 4 layers) on top of a DINOv2 ViT-g/14 backbone (optionally) pretrained on the LVD-142M dataset and trained on ImageNet-1k
engine/pose_estimation/dinov2/dinov2/hub/classifiers.py:178
Functiondinov2_vitg14_ld
(*, layers: int = 4, pretrained: bool = True, weights: Union[Weights, str] = Weights.NYU, **kwargs)
LHM/models/encoders/dinov2/hub/depthers.py:161
Functiondinov2_vitg14_ld
(*, layers: int = 4, pretrained: bool = True, weights: Union[Weights, str] = Weights.NYU, **kwargs)
engine/pose_estimation/dinov2/dinov2/hub/depthers.py:161
Functiondinov2_vitg14_reg
DINOv2 ViT-g/14 model with registers (optionally) pretrained on the LVD-142M dataset.
LHM/models/encoders/dinov2/hub/backbones.py:153
Functiondinov2_vitg14_reg
DINOv2 ViT-g/14 model with registers (optionally) pretrained on the LVD-142M dataset.
engine/pose_estimation/dinov2/dinov2/hub/backbones.py:143
Functiondinov2_vitg14_reg_lc
Linear classifier (1 or 4 layers) on top of a DINOv2 ViT-g/14 backbone with registers (optionally) pretrained on the LVD-142M dataset and trained
LHM/models/encoders/dinov2/hub/classifiers.py:252
Functiondinov2_vitg14_reg_lc
Linear classifier (1 or 4 layers) on top of a DINOv2 ViT-g/14 backbone with registers (optionally) pretrained on the LVD-142M dataset and trained
engine/pose_estimation/dinov2/dinov2/hub/classifiers.py:252
Functiondinov2_vitl14
DINOv2 ViT-L/14 model (optionally) pretrained on the LVD-142M dataset.
LHM/models/encoders/dinov2/hub/backbones.py:88
Functiondinov2_vitl14
DINOv2 ViT-L/14 model (optionally) pretrained on the LVD-142M dataset.
engine/pose_estimation/dinov2/dinov2/hub/backbones.py:78
Functiondinov2_vitl14_dd
(*, pretrained: bool = True, weights: Union[Weights, str] = Weights.NYU, **kwargs)
LHM/models/encoders/dinov2/hub/depthers.py:239
Functiondinov2_vitl14_dd
(*, pretrained: bool = True, weights: Union[Weights, str] = Weights.NYU, **kwargs)
engine/pose_estimation/dinov2/dinov2/hub/depthers.py:239
Functiondinov2_vitl14_lc
Linear classifier (1 or 4 layers) on top of a DINOv2 ViT-L/14 backbone (optionally) pretrained on the LVD-142M dataset and trained on ImageNet-1k
LHM/models/encoders/dinov2/hub/classifiers.py:159
Functiondinov2_vitl14_lc
Linear classifier (1 or 4 layers) on top of a DINOv2 ViT-L/14 backbone (optionally) pretrained on the LVD-142M dataset and trained on ImageNet-1k
engine/pose_estimation/dinov2/dinov2/hub/classifiers.py:159
Functiondinov2_vitl14_ld
(*, layers: int = 4, pretrained: bool = True, weights: Union[Weights, str] = Weights.NYU, **kwargs)
LHM/models/encoders/dinov2/hub/depthers.py:155
Functiondinov2_vitl14_ld
(*, layers: int = 4, pretrained: bool = True, weights: Union[Weights, str] = Weights.NYU, **kwargs)
engine/pose_estimation/dinov2/dinov2/hub/depthers.py:155
Functiondinov2_vitl14_reg
DINOv2 ViT-L/14 model with registers (optionally) pretrained on the LVD-142M dataset.
LHM/models/encoders/dinov2/hub/backbones.py:138
Functiondinov2_vitl14_reg
DINOv2 ViT-L/14 model with registers (optionally) pretrained on the LVD-142M dataset.
engine/pose_estimation/dinov2/dinov2/hub/backbones.py:128
Functiondinov2_vitl14_reg_lc
Linear classifier (1 or 4 layers) on top of a DINOv2 ViT-L/14 backbone with registers (optionally) pretrained on the LVD-142M dataset and trained
LHM/models/encoders/dinov2/hub/classifiers.py:234
Functiondinov2_vitl14_reg_lc
Linear classifier (1 or 4 layers) on top of a DINOv2 ViT-L/14 backbone with registers (optionally) pretrained on the LVD-142M dataset and trained
engine/pose_estimation/dinov2/dinov2/hub/classifiers.py:234
Functiondinov2_vits14
DINOv2 ViT-S/14 model (optionally) pretrained on the LVD-142M dataset.
LHM/models/encoders/dinov2/hub/backbones.py:74
Functiondinov2_vits14
DINOv2 ViT-S/14 model (optionally) pretrained on the LVD-142M dataset.
engine/pose_estimation/dinov2/dinov2/hub/backbones.py:64
Functiondinov2_vits14_dd
(*, pretrained: bool = True, weights: Union[Weights, str] = Weights.NYU, **kwargs)
LHM/models/encoders/dinov2/hub/depthers.py:231
Functiondinov2_vits14_dd
(*, pretrained: bool = True, weights: Union[Weights, str] = Weights.NYU, **kwargs)
engine/pose_estimation/dinov2/dinov2/hub/depthers.py:231
Functiondinov2_vits14_lc
Linear classifier (1 or 4 layers) on top of a DINOv2 ViT-S/14 backbone (optionally) pretrained on the LVD-142M dataset and trained on ImageNet-1k
LHM/models/encoders/dinov2/hub/classifiers.py:121
Functiondinov2_vits14_lc
Linear classifier (1 or 4 layers) on top of a DINOv2 ViT-S/14 backbone (optionally) pretrained on the LVD-142M dataset and trained on ImageNet-1k
engine/pose_estimation/dinov2/dinov2/hub/classifiers.py:121
Functiondinov2_vits14_ld
(*, layers: int = 4, pretrained: bool = True, weights: Union[Weights, str] = Weights.NYU, **kwargs)
LHM/models/encoders/dinov2/hub/depthers.py:143
Functiondinov2_vits14_ld
(*, layers: int = 4, pretrained: bool = True, weights: Union[Weights, str] = Weights.NYU, **kwargs)
engine/pose_estimation/dinov2/dinov2/hub/depthers.py:143
Functiondinov2_vits14_reg
DINOv2 ViT-S/14 model with registers (optionally) pretrained on the LVD-142M dataset.
LHM/models/encoders/dinov2/hub/backbones.py:108
Functiondinov2_vits14_reg
DINOv2 ViT-S/14 model with registers (optionally) pretrained on the LVD-142M dataset.
engine/pose_estimation/dinov2/dinov2/hub/backbones.py:98
Functiondinov2_vits14_reg_lc
Linear classifier (1 or 4 layers) on top of a DINOv2 ViT-S/14 backbone with registers (optionally) pretrained on the LVD-142M dataset and trained
LHM/models/encoders/dinov2/hub/classifiers.py:198
Functiondinov2_vits14_reg_lc
Linear classifier (1 or 4 layers) on top of a DINOv2 ViT-S/14 backbone with registers (optionally) pretrained on the LVD-142M dataset and trained
engine/pose_estimation/dinov2/dinov2/hub/classifiers.py:198
Methoddistance
(a, b)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/frame_effect_node.py:234
Methoddists_to_weights
( dists: torch.Tensor, low: float = None, high: float = None )
LHM/models/rendering/smpl_x_voxel_dense_sampling.py:616
Functiondownsample_image_cv2
Downsample an image using cv2.resize. Args: image (np.array): Input image as a NumPy array. scale_percent (float): Scale perc
engine/pose_estimation/pose_utils/image.py:15
Methoddraw
(self, frame_msg)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/frame_effect_node.py:80
Methoddraw
(self, frame_msg)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/frame_effect_node.py:158
Methoddraw
(self, frame_msg)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/frame_effect_node.py:282
Methoddraw
(self, frame_msg)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/frame_effect_node.py:353
Methoddraw
(self, frame_msg)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/frame_effect_node.py:498
Methoddraw
(self, frame_msg)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/frame_effect_node.py:597
Methoddraw
(self, frame_msg)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/frame_effect_node.py:614
Methoddraw
(self, frame_msg: FrameMessage)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/frame_effect_node.py:663
Methoddraw
(self, frame_msg)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/frame_effect_node.py:899
Methoddraw
(self, frame_msg)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/faceswap_node.py:46
Methoddraw
(self, frame_msg)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/xdwendwen_node.py:146
Methoddraw
(self, frame_msg: FrameMessage)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/nodes/valentinemagic_node.py:277
Methodemit
(self, record)
LHM/utils/logging.py:22
Functionenable
Enable distributed mode Args: set_cuda_current_device: If True, call torch.cuda.set_device() to set the current PyTorch CUDA
engine/pose_estimation/dinov2/dinov2/distributed/__init__.py:239
Functionencodeffmpeg
output: need video_name
LHM/utils/ffmpeg_utils.py:13
Functioneroded
(mask, kernel_size=3, iterations=1)
engine/SegmentAPI/SAM.py:107
← previousnext →2,601–2,700 of 3,669, ranked by callers