MCPcopy Create free account

hub / github.com/XunshanMan/MVGFormer / functions

Functions561 in github.com/XunshanMan/MVGFormer

Methodforward
(self, output, target, target_weight)
lib/core/loss.py:39
Methodforward
(self, output, target, use_target_weight=False, target_weight=None)
lib/core/loss.py:65
Methodforward
(self, output, target, use_target_weight=False, target_weight=None, num_boxes=None)
lib/core/loss.py:87
Methodforward
(self, pred, gt, use_target_weight=False, target_weight=None)
lib/core/loss.py:124
Methodforward
(self, pred, gt, use_target_weight=False, target_weight=None)
lib/core/loss.py:151
Methodforward
(self, pred, gt, cameras, center, scale, img_size, use_target_weight=False, target_weight=None
lib/core/loss.py:202
Methodforward
(self, projection_pred, gt, cameras, center, scale, img_size, use_target_weight=False, target_
lib/core/loss.py:250
Methodforward
(self, keypoints_pred, keypoints_gt, keypoints_binary_validity)
lib/mvn/models/loss.py:11
Methodforward
(self, keypoints_pred, keypoints_gt, keypoints_binary_validity)
lib/mvn/models/loss.py:23
Methodforward
(self, keypoints_pred, keypoints_gt, keypoints_binary_validity)
lib/mvn/models/loss.py:35
Methodforward
(self, keypoints_pred, keypoints_gt, keypoints_binary_validity)
lib/mvn/models/loss.py:46
Methodforward
(self, coord_volumes_batch, volumes_batch_pred, keypoints_gt, keypoints_binary_validity)
lib/mvn/models/loss.py:56
Methodforward
(self, x)
lib/mvn/models/pose_resnet.py:38
Methodforward
(self, x)
lib/mvn/models/pose_resnet.py:75
Methodforward
(self, x)
lib/mvn/models/pose_resnet.py:117
Methodforward
(self, x)
lib/mvn/models/pose_resnet.py:165
Methodforward
(self, x)
lib/mvn/models/pose_resnet.py:293
Methodforward
(self, x)
lib/mvn/models/v2v.py:16
Methodforward
(self, x)
lib/mvn/models/v2v.py:39
Methodforward
(self, x)
lib/mvn/models/v2v.py:50
Methodforward
(self, x)
lib/mvn/models/v2v.py:65
Methodforward
(self, x)
lib/mvn/models/v2v.py:103
Methodforward
(self, x)
lib/mvn/models/v2v.py:164
Methodforward
(self, images, proj_matricies, batch)
lib/mvn/models/triangulation.py:27
Methodforward
(self, images, proj_matricies, batch)
lib/mvn/models/triangulation.py:149
Methodforward
(self, images, proj_matricies, batch)
lib/mvn/models/triangulation.py:245
Methodforward
(self, inputs)
lib/smpl/smpl_common.py:113
Methodforward
(self, inputs)
lib/smpl/smpl_common.py:128
Methodforward
(self, inputs)
lib/smpl/smpl_common.py:159
Methodforward
(self, inputs)
lib/smpl/smpl_common.py:180
Methodforward
(self, thetas)
lib/smpl/smpl_common.py:226
Methodforward
(self, *args, **kwargs)
lib/smpl/smpl.py:91
Methodforward
(self, joints, **kwargs)
lib/smpl/smpl.py:116
Methodforward
Returns the angle prior loss for the given pose Args: pose: (Bx[23 + 1] * 3) torch tensor with the axis-angle repres
lib/smpl/prior.py:87
Methodforward
(self, module_input, *args)
lib/smpl/prior.py:110
Methodforward
(self, pose, betas)
lib/smpl/prior.py:237
Methodforward
(self, tgt, query_pos, reference_points, src_views, src_views_with_rayembed, src_spatial_shape
lib/models/mvp_decoder.py:107
Methodforward
(self, tgt, reference_points, src_views, src_views_with_rayembed, meta, src_spatial_shapes,
lib/models/mvp_decoder.py:301
Methodforward
(self, x)
lib/models/pose_resnet.py:49
Methodforward
(self, x)
lib/models/pose_resnet.py:86
Methodforward
(self, x, use_feat_level=[0, 1, 2])
lib/models/pose_resnet.py:198
Methodforward
Performs the matching Params: outputs: This is a dict that contains at least these entries: "pred_logits": Tens
lib/models/matcher.py:80
Methodforward
(self, x)
lib/models/multi_view_pose_transformer.py:99
Methodforward
(self, views=None, meta=None)
lib/models/multi_view_pose_transformer.py:312
Methodforward
This performs the loss computation. Parameters: outputs: dict of tensors, see the output specification of the model
lib/models/multi_view_pose_transformer.py:810
Methodforward
Forward functions for Transformer Network Input: @ views: a list of images with shape [batch_size, 3, H, W]
lib/models/dq_transformer.py:335
Methodforward
(self, x)
lib/models/position_encoding.py:44
Methodforward
(self, x)
lib/models/position_encoding.py:120
Methodforward
(self, tensor_list)
lib/models/position_encoding.py:161
Methodforward
(self, feature)
lib/models/dq_decoder.py:104
Methodforward
During each decoder layer, each 3D poses of each queries will be projected into each camera view to aggregate features and update coa
lib/models/dq_decoder.py:850
Methodforward
A decoder forward function, that contains multiple decoder layers. Most of the the important stuff is written in DQDecoderLay
lib/models/dq_decoder.py:1107
Methodforward
:param query (n_views, Length_{query}, C) :param reference_points (n_views, Length_{query}, n_levels, 2
lib/models/ops/modules/projattn.py:115
Methodforward
(ctx, value, value_spatial_shapes, value_level_start_index, sampling_locations
lib/models/ops/functions/deform_func.py:36
Functiongeneralized_box_iou
Generalized IoU from https://giou.stanford.edu/ The boxes should be in [x0, y0, x1, y1] format Returns a [N, M] pairwise matrix, where
lib/models/util/box_ops.py:50
Methodgenerate_3d_target
(self, joints_3d)
lib/dataset/JointsDataset.py:305
Methodgenerate_input_heatmap
:param joints: [[num_joints, 3]] :param joints_vis: [num_joints, 3] :return: input_heatmap
lib/dataset/JointsDataset.py:362
Methodgenerate_target_heatmap
:param joints: [[num_joints, 3]] :param joints_vis: [num_joints, 3] :return: target, target_weight(1: visible, 0: invisible)
lib/dataset/JointsDataset.py:233
Methodget_bl_mat
:pose3D: <numpy.ndarray> of n_frames x n_joints x 3, the 3D joint coordinates. :return: <numpy.ndarray> of n_frames x n_bones, the 3D
lib/structural/structural_triangulation.py:109
Functionget_host_info
()
process/extract_dataset.py:81
Functionget_local_rank
()
lib/models/util/misc.py:489
Functionget_local_size
()
lib/models/util/misc.py:483
Methodget_mean
Returns the mean of the mixture
lib/smpl/prior.py:190
Functionget_mvp
(cfg, is_train=True)
lib/models/multi_view_pose_transformer.py:935
Functionget_mvp
(cfg, is_train=True, fix_backbone=True)
lib/models/dq_transformer.py:756
Functionget_optimizer
(cfg, model)
lib/utils/utils.py:73
Functionget_optimizer
(model_without_ddp, weight_decay, optim_type)
process/extract_dataset.py:117
Functionget_pose_net
(config, device='cuda:0')
lib/mvn/models/pose_resnet.py:321
Functionget_pose_net
(cfg, is_train, **kwargs)
lib/models/pose_resnet.py:275
Functionget_rays
Get ray origin and normalized directions in world coordinate for all pixels in one image. Reference: https://www.scratchapixel.com/lesson
lib/models/position_encoding.py:215
Functionget_sha
()
lib/utils/misc.py:276
Functionget_sha
()
lib/models/util/misc.py:362
Functionget_square_bbox
Makes square bbox from any bbox by stretching of minimal length side Args: bbox tuple of size 4: input bbox (left, upper, right, lower)
lib/mvn/utils/img.py:31
Methodglobal_avg
(self)
lib/utils/misc.py:93
Methodglobal_avg
(self)
lib/models/util/misc.py:129
Functionimread
(filename, flags=cv2.IMREAD_COLOR)
lib/utils/zipreader.py:32
Functioninit_distributed_mode
(args)
lib/utils/misc.py:400
Functioninit_distributed_mode
(args)
lib/models/util/misc.py:504
Functionintegrate_tensor_2d
Applies softmax to heatmaps and integrates them to get their's "center of masses" Args: heatmaps torch tensor of shape (batch_size, n_hea
lib/mvn/utils/op.py:11
Functionintegrate_tensor_3d
(volumes, softmax=True)
lib/mvn/utils/op.py:50
Functionintegrate_tensor_3d_with_coordinates
(volumes, coord_volumes, softmax=True)
lib/mvn/utils/op.py:84
Functioninterpolate
Equivalent to nn.functional.interpolate, but with support for empty batch sizes. This will eventually be supported natively by PyTorch, a
lib/utils/misc.py:445
Functioninterpolate
Equivalent to nn.functional.interpolate, but with support for empty batch sizes. This will eventually be supported natively by PyTorch, a
lib/models/util/misc.py:572
Functionload_bboxes
(data_path, subject, action, camera)
lib/mvn/datasets/human36m_preprocessing/collect-bboxes.py:30
Functionload_config
(path)
lib/mvn/utils/cfg.py:5
Functionload_model_state
(model, output_dir, epoch)
lib/utils/utils.py:92
Methodlog_every
(self, iterable, print_freq, header=None)
lib/utils/misc.py:221
Methodlog_every
(self, iterable, print_freq, header=None)
lib/models/util/misc.py:307
Methodloss_cardinality
Compute the cardinality error, ie the absolute error in the number of predicted non-empty poses This is not really a loss, it is inte
lib/models/multi_view_pose_transformer.py:630
Methodloss_labels
Classification loss (NLL) targets dicts must contain the key "labels" containing a tensor of dim [nb_target_poses]
lib/models/multi_view_pose_transformer.py:582
Functionmake_collate_fn
(randomize_n_views=True, min_n_views=10, max_n_views=31)
lib/mvn/datasets/utils.py:6
Functionmasks_to_boxes
Compute the bounding boxes around the provided masks The masks should be in format [N, H, W] where N is the number of masks, (H, W) are the s
lib/models/util/box_ops.py:74
Methodmedian
(self)
lib/utils/misc.py:83
Methodmedian
(self)
lib/models/util/misc.py:119
Functionnms
Greedily select boxes with high confidence and overlap <= thr. Args: dets: [[x1, y1, x2, y2, score]]. thr: Retain overlap < thr.
lib/core/nms.py:9
Functionno_prior
(*args, **kwargs)
lib/smpl/prior.py:59
Methodnorm2absolute
(self, norm_coords)
lib/models/multi_view_pose_transformer.py:292
Methodobs_num
(gt_id,ob_th)
lib/dataset/panoptic.py:586
Functionoks_nms
OKS NMS implementations. Args: kpts_db: keypoints. thr: Retain overlap < thr. sigmas: standard deviation of keypoint labe
lib/core/nms.py:89
Functionorthographic_projection
Perform orthographic projection of 3D points X using the camera parameters Args: X: size = [B, N, 3] camera: size = [B, 3] Ret
lib/smpl/utils.py:113
← previousnext →401–500 of 561, ranked by callers