MCPcopy Create free account

hub / github.com/aigc3d/LHM / functions

Functions3,669 in github.com/aigc3d/LHM

Methodforward
(self, out_features, patch_h, patch_w)
LHM/models/encoders/dinov2_dpt.py:126
Methodforward
Forward pass. Args: x (tensor): input Returns: tensor: output
LHM/models/encoders/dpt_util/blocks.py:57
Methodforward
Forward pass. Returns: tensor: output
LHM/models/encoders/dpt_util/blocks.py:126
Methodforward
(self, x)
LHM/models/encoders/dinov2/hub/utils.py:36
Methodforward
(self, x)
LHM/models/encoders/dinov2/hub/classifiers.py:59
Methodforward
Forward function.
LHM/models/encoders/dinov2/hub/depth/decode_heads.py:292
Methodforward
(self, x, activate=True, norm=True)
LHM/models/encoders/dinov2/hub/depth/decode_heads.py:486
Methodforward
(self, x)
LHM/models/encoders/dinov2/hub/depth/decode_heads.py:507
Methodforward
(self, x)
LHM/models/encoders/dinov2/hub/depth/decode_heads.py:523
Methodforward
(self, inputs)
LHM/models/encoders/dinov2/hub/depth/decode_heads.py:577
Methodforward
(self, inputs)
LHM/models/encoders/dinov2/hub/depth/decode_heads.py:637
Methodforward
(self, *inputs)
LHM/models/encoders/dinov2/hub/depth/decode_heads.py:676
Methodforward
(self, inputs, img_metas)
LHM/models/encoders/dinov2/hub/depth/decode_heads.py:737
Methodforward
Calls either :func:`forward_train` or :func:`forward_test` depending on whether ``return_loss`` is ``True``. Note this setting will c
LHM/models/encoders/dinov2/hub/depth/encoder_decoder.py:249
Methodforward
(self, x)
LHM/models/encoders/dinov2/layers/drop_path.py:33
Methodforward
(self, x: Tensor, mod: Tensor)
LHM/models/encoders/dinov2/layers/block.py:129
Methodforward
(self, x_or_x_list)
LHM/models/encoders/dinov2/layers/block.py:288
Methodforward
(self, x)
LHM/models/encoders/dinov2/layers/dino_head.py:36
Methodforward
(self, x: Tensor)
LHM/models/encoders/dinov2/layers/layer_scale.py:26
Methodforward
(self, x: Tensor, attn_bias=None)
LHM/models/encoders/dinov2/layers/attention.py:73
Methodforward
(self, x: Tensor)
LHM/models/encoders/dinov2/layers/mlp.py:34
Methodforward
(self, x: Tensor)
LHM/models/encoders/dinov2/layers/swiglu_ffn.py:30
Methodforward
(self, x: Tensor)
LHM/models/encoders/dinov2/layers/patch_embed.py:68
Methodforward
(self, x)
LHM/models/encoders/dinov2/models/vision_transformer.py:47
Methodforward
(self, *args, is_training=False, **kwargs)
LHM/models/encoders/dinov2/models/vision_transformer.py:357
Methodforward
(self, x)
LHM/models/rendering/synthesizer.py:21
Methodforward
(self, sampled_features, ray_directions)
LHM/models/rendering/synthesizer.py:51
Methodforward
(self, planes, cameras, anchors, resolutions, bg_colors, region_size: int)
LHM/models/rendering/synthesizer.py:107
Methodforward
(self, x, pts, x_fine=None, constrain_dict=None)
LHM/models/rendering/gs_renderer.py:467
Methodforward
(self, input)
LHM/models/rendering/gs_renderer.py:575
Methodforward
(self, x, cond)
LHM/models/rendering/gs_renderer.py:639
Methodforward
(self, pcl_query, pcl_latent, extra_info=None)
LHM/models/rendering/gs_renderer.py:719
Methodforward
(self, planes, decoder, ray_origins, ray_directions, rendering_options, bg_colors=None)
LHM/models/rendering/utils/renderer.py:146
Methodforward
Create batches of rays and return origins and directions. cam2world_matrix: (N, 4, 4) intrinsics: (N, 3, 3) resoluti
LHM/models/rendering/utils/ray_sampler.py:28
Methodforward
(self, x)
LHM/models/rendering/utils/utils.py:77
Methodforward
(ctx, x)
LHM/models/rendering/utils/utils.py:100
Methodforward
(self, colors, densities, depths, rendering_options, bg_colors=None)
LHM/models/rendering/utils/ray_marcher.py:65
Methodforward
(self, vertices, joints)
LHM/models/rendering/smplx/smplx/vertex_joint_selector.py:73
Methodforward
Forward pass for the SMPL model Parameters ---------- global_orient: torch.tensor, optional, shape Bx3 If given,
LHM/models/rendering/smplx/smplx/body_models.py:328
Methodforward
Forward pass for the SMPL model Parameters ---------- global_orient: torch.tensor, optional, shape Bx3x3 Global r
LHM/models/rendering/smplx/smplx/body_models.py:436
Methodforward
LHM/models/rendering/smplx/smplx/body_models.py:747
Methodforward
Forward pass for the SMPL+H model Parameters ---------- global_orient: torch.tensor, optional, shape Bx3x3 Global
LHM/models/rendering/smplx/smplx/body_models.py:844
Methodforward
Forward pass for the SMPLX model Parameters ---------- global_orient: torch.tensor, optional, shape Bx3
LHM/models/rendering/smplx/smplx/body_models.py:1221
Methodforward
Forward pass for the SMPLX model Parameters ---------- global_orient: torch.tensor, optional, shape Bx3x
LHM/models/rendering/smplx/smplx/body_models.py:1452
Methodforward
Forward pass for the MANO model
LHM/models/rendering/smplx/smplx/body_models.py:1837
Methodforward
Forward pass for the MANO model
LHM/models/rendering/smplx/smplx/body_models.py:1916
Methodforward
Forward pass for the SMPLX model Parameters ---------- global_orient: torch.tensor, optional, shape Bx3
LHM/models/rendering/smplx/smplx/body_models.py:2206
Methodforward
Forward pass for the SMPLX model Parameters ---------- global_orient: torch.tensor, optional, shape Bx3x
LHM/models/rendering/smplx/smplx/body_models.py:2371
Methodforward
(self, input, target, weights=None)
LHM/models/rendering/smplx/transfer_model/losses/losses.py:63
Methodforward
(self, gt_vertices, est_vertices, weights=None)
LHM/models/rendering/smplx/transfer_model/losses/losses.py:130
Methodforward
(self, vertices, joints)
LHM/models/rendering/smplx_gsavatar/vertex_joint_selector.py:73
Methodforward
Forward pass for the SMPL model Parameters ---------- global_orient: torch.tensor, optional, shape Bx3
LHM/models/rendering/smplx_gsavatar/body_models.py:306
Methodforward
Forward pass for the SMPL model Parameters ---------- global_orient: torch.tensor, optional, shape Bx3x3
LHM/models/rendering/smplx_gsavatar/body_models.py:412
Methodforward
LHM/models/rendering/smplx_gsavatar/body_models.py:688
Methodforward
Forward pass for the SMPL+H model Parameters ---------- global_orient: torch.tensor, optional, shape Bx3x3
LHM/models/rendering/smplx_gsavatar/body_models.py:774
Methodforward
Forward pass for the SMPLX model Parameters ---------- global_orient: torch.tensor, optional, shape Bx3
LHM/models/rendering/smplx_gsavatar/body_models.py:1114
Methodforward
Forward pass for the SMPLX model Parameters ---------- global_orient: torch.tensor, optional, shape Bx3x
LHM/models/rendering/smplx_gsavatar/body_models.py:1316
Methodforward
Forward pass for the MANO model
LHM/models/rendering/smplx_gsavatar/body_models.py:1647
Methodforward
Forward pass for the MANO model
LHM/models/rendering/smplx_gsavatar/body_models.py:1719
Methodforward
Forward pass for the SMPLX model Parameters ---------- global_orient: torch.tensor, optional, shape Bx3
LHM/models/rendering/smplx_gsavatar/body_models.py:1997
Methodforward
Forward pass for the SMPLX model Parameters ---------- global_orient: torch.tensor, optional, shape Bx3x
LHM/models/rendering/smplx_gsavatar/body_models.py:2150
Methodforward
Empirically, where d is the thresold of distance points leave from 1.8/32 = 0.0562.
LHM/losses/offset_loss.py:19
Methodforward
Empirically, where d is the thresold of distance points leave from human prior model, 1.8/32 = 0.0562.
LHM/losses/offset_loss.py:46
Methodforward
where r is the radius of the ball between max-axis and min-axis.
LHM/losses/ball_loss.py:17
Methodforward
where r is the radius of the ball between max-axis and min-axis.
LHM/losses/ball_loss.py:41
Methodforward
Assume images are channel first. Args: x: [N, M, C, H, W] y: [N, M, C, H, W] Return
LHM/losses/pixelwise.py:41
Methodforward
Assume batched and channel first with inner sizes. Args: x: [N, M, C, H, W] Returns: Mean-reduced T
LHM/losses/tvloss.py:34
Methodforward
Assume images are 0-1 scaled and channel first. Args: x: [N, M, C, H, W] y: [N, M, C, H, W]
LHM/losses/perceptual.py:50
Methodforward
( self, root_orient, transl, j3d, input_keypoints, bbox,
engine/pose_estimation/smplify.py:84
Methodforward
Forward pass of the model and compute the loss according to the groundtruth Args: - x: RGB image - [bs,3,224,224]
engine/pose_estimation/model.py:388
Methodforward
" Forward the HPH module.
engine/pose_estimation/model.py:727
Methodforward
Encode a RGB image using a ViT-backbone Args: - x: torch.Tensor of shape [bs,3,w,h] Return: - y: torc
engine/pose_estimation/blocks/dinov2.py:17
Methodforward
Args: - pose: pose of the person in axis-angle - torch.Tensor [bs,24,3] - shape: torch.Tensor [bs,10] - l
engine/pose_estimation/blocks/smpl_layer.py:54
Methodforward
Forward pass that take rays as input and generate Fourier positional encodings
engine/pose_estimation/blocks/camera_embed.py:31
Methodforward
(self, x: torch.Tensor, t: torch.Tensor)
engine/pose_estimation/blocks/cross_attn_transformer.py:28
Methodforward
(self, x: torch.Tensor, *args, **kwargs)
engine/pose_estimation/blocks/cross_attn_transformer.py:81
Methodforward
(self, x)
engine/pose_estimation/blocks/cross_attn_transformer.py:102
Methodforward
(self, x, mask=None)
engine/pose_estimation/blocks/cross_attn_transformer.py:129
Methodforward
(self, x, context=None, mask=None)
engine/pose_estimation/blocks/cross_attn_transformer.py:185
Methodforward
(self, x: torch.Tensor, *args, context=None, context_list=None, mask=None)
engine/pose_estimation/blocks/cross_attn_transformer.py:239
Methodforward
(self, x: torch.Tensor)
engine/pose_estimation/blocks/cross_attn_transformer.py:273
Methodforward
(self, x: torch.Tensor)
engine/pose_estimation/blocks/cross_attn_transformer.py:293
Methodforward
(self, inp: torch.Tensor, *args, context=None, context_list=None, mask=None)
engine/pose_estimation/blocks/cross_attn_transformer.py:351
Methodforward
(self, x_tokens_list)
engine/pose_estimation/dinov2/dinov2/eval/linear.py:199
Methodforward
(self, inputs)
engine/pose_estimation/dinov2/dinov2/eval/linear.py:210
Methodforward
(self, samples, targets)
engine/pose_estimation/dinov2/dinov2/eval/linear.py:223
Methodforward
(self, samples, targets)
engine/pose_estimation/dinov2/dinov2/eval/log_regression.py:129
Methodforward
(self, samples)
engine/pose_estimation/dinov2/dinov2/eval/utils.py:26
Methodforward
(self, images)
engine/pose_estimation/dinov2/dinov2/eval/utils.py:38
Methodforward
Compute the results on all values of `self.nb_knn` neighbors from the full `self.max_k`
engine/pose_estimation/dinov2/dinov2/eval/knn.py:170
Methodforward
(self, features_dict, targets)
engine/pose_estimation/dinov2/dinov2/eval/knn.py:192
Methodforward
(self, *args, **kwargs)
engine/pose_estimation/dinov2/dinov2/eval/knn.py:241
Methodforward
( ctx, value, value_spatial_shapes, value_level_start_index, sampling_locations, attention_weights, im
engine/pose_estimation/dinov2/dinov2/eval/segmentation_m2f/ops/modules/ms_deform_attn.py:20
Methodforward
:param query (N, Length_{query}, C) :param reference_points (N, Length_{query}, n_levels, 2), range
engine/pose_estimation/dinov2/dinov2/eval/segmentation_m2f/ops/modules/ms_deform_attn.py:120
Methodforward
(self, x)
engine/pose_estimation/dinov2/dinov2/hub/utils.py:36
Methodforward
(self, x)
engine/pose_estimation/dinov2/dinov2/hub/classifiers.py:59
Methodforward
Forward function.
engine/pose_estimation/dinov2/dinov2/hub/depth/decode_heads.py:292
Methodforward
(self, x, activate=True, norm=True)
engine/pose_estimation/dinov2/dinov2/hub/depth/decode_heads.py:486
Methodforward
(self, x)
engine/pose_estimation/dinov2/dinov2/hub/depth/decode_heads.py:507
Methodforward
(self, x)
engine/pose_estimation/dinov2/dinov2/hub/depth/decode_heads.py:523
← previousnext →2,801–2,900 of 3,669, ranked by callers