MCPcopy Create free account

hub / github.com/JubSteven/POEM-v2 / functions

Functions1,165 in github.com/JubSteven/POEM-v2

↓ 1 callersMethodnorm2absolute
(self, norm_coords)
lib/models/layers/mvp_decoder.py:330
↓ 1 callersFunctionnorm_heatmap
Args: norm_type: str: either in [softmax, sigmoid, divide_sum], heatmap: TENSOR (BATCH, C, ...) Returns: TENSOR (BAT
lib/models/integal_pose.py:175
↓ 1 callersFunctionnormal_loss
(pred, gt, face, is_valid=None)
lib/external/cmr/loss.py:16
↓ 1 callersMethodon_val_finished
(self, recorder, epoch_idx)
lib/external/metro/metro.py:164
↓ 1 callersFunctionortho_project
Apply orthographic camera projection on a 3D point Args: points3d (np.ndarray): shape (N, 3) ortho_cam (np.ndarray): shape (3, 3)
lib/utils/transform.py:977
↓ 1 callersFunctionpos2posemb3d
(pos, num_pos_feats=128, temperature=10000)
lib/models/heads/ptEmb_head.py:40
↓ 1 callersFunctionpos2posemb3d
(pos, num_pos_feats=128, temperature=10000)
lib/models/heads/petr_FTL_head.py:12
↓ 1 callersFunctionpos2posemb3d
(pos, num_pos_feats=128, temperature=10000)
lib/models/heads/petr_head.py:16
↓ 1 callersMethodposition_embeding
(self, img_feat, img_metas)
lib/models/heads/petr_FTL_head.py:50
↓ 1 callersMethodposition_embeding
(self, img_feats, img_metas, masks=None)
lib/models/heads/petr_head.py:94
↓ 1 callersFunctionpreprocess_spiral
(face, seq_length, vertices=None, dilation=1)
lib/external/cmr/utils.py:391
↓ 1 callersFunctionprocess_seq
(seq_filedir, mask_filedir, hand_side, model, device, camera_name_list, cam_extr_map, cam_intr_map,
tool/infer_hand.py:241
↓ 1 callersFunctionproject_point_array_np
(cam_intr: np.ndarray, point: np.ndarray, eps=1e-7)
transform/transform_np.py:56
↓ 1 callersMethodprojection
Calculate projective transformation of vertices given a projection matrix Input parameters: K: batch_size * 3 * 3 intrinsic c
lib/utils/neural_renderer.py:115
↓ 1 callersMethodprojection
( self, vertices, K, R, t, dist_coeffs, orig_size,
lib/fit/pytorch3d_renderer.py:90
↓ 1 callersMethodprojection_ortho
Calculate ortho transformation of vertices given a projection parameters Input parameters: s: batch_size * 1 * 2 ; scale
lib/utils/neural_renderer.py:160
↓ 1 callersFunctionqslim_decimator_transformer
Return a simplified version of this mesh. A Qslim-style approach is used here. :param factor: fraction of the original vertices to retain
lib/external/cmr/utils.py:172
↓ 1 callersFunctionquat_invert
Given a quaternion representing rotation, get the quaternion representing its inverse. Args: quaternion: Quaternions as tensor of
transform/rotation_jit.py:95
↓ 1 callersFunctionquat_multiply_np
Multiply two quaternions representing rotations, returning the quaternion representing their composition, i.e. the versor with nonnegative re
transform/rotation_np.py:63
↓ 1 callersFunctionquat_to_aa
Convert quaternions to axis angles. Args: quaternions (Union[torch.Tensor, numpy.ndarray]): input shape should be (..., 3
lib/utils/transform.py:469
↓ 1 callersFunctionquat_to_rotvec
Convert rotations given as quaternions to axis/angle. Args: quat: quaternions with real part first, as tensor of shape (.
transform/rotation_jit.py:250
↓ 1 callersFunctionrecover_root
(uv_root, scale, focal, pp)
lib/datasets/freihand.py:45
↓ 1 callersMethodrecursive_cfg_update
(self)
lib/utils/config.py:14
↓ 1 callersMethodregister_key_callback
(self, key, callback)
lib/viztools/viz_o3d_utils.py:52
↓ 1 callersFunctionregistration_one
Adaptive 2D-1D registration :param vertex: 3D mesh xyz :param uv: 2D pose :param j_regressor: matrix for vertex -> joint :param K
lib/external/cmr/regitstration.py:50
↓ 1 callersMethodremove_all_geometry
(self, o3d=None)
lib/viztools/viz_o3d_utils.py:168
↓ 1 callersFunctionrender_model
(verts, faces, w, h, cam, near=0.5, far=25, img=None, do_alpha=False, color=None)
lib/viztools/opendr_renderer.py:194
↓ 1 callersMethodreset
(self)
lib/utils/testing.py:42
↓ 1 callersMethodreset
(self)
lib/metrics/basic_metric.py:41
↓ 1 callersMethodreset
(self)
lib/metrics/mean_epe.py:20
↓ 1 callersMethodreset
(self)
lib/viztools/viz_o3d_utils.py:163
↓ 1 callersMethodreset
(self)
video_tool/ffmpeg_util.py:82
↓ 1 callersMethodreset_parameters
(self)
lib/external/cmr/net.py:35
↓ 1 callersFunctionresnet18
Constructs a ResNet-18 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
lib/models/backbones/resnet.py:245
↓ 1 callersFunctionresnet34
Constructs a ResNet-34 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
lib/models/backbones/resnet.py:256
↓ 1 callersFunctionresnet50
Constructs a ResNet-50 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
lib/models/backbones/resnet.py:267
↓ 1 callersFunctionrot6d_to_aa
Convert rotation 6d representations to axis angles. Args: rotation_6d (Union[torch.Tensor, numpy.ndarray]): input shape s
lib/utils/transform.py:448
↓ 1 callersFunctionrot6d_to_rotmat_np
Converts 6D rotation representation by Zhou et al. [1] to rotation matrix using Gram--Schmidt orthogonalization per Section B of [1]. Arg
transform/rotation_np.py:478
↓ 1 callersFunctionrotmat_to_euler_angle
Convert rotations given as rotation matrices to Euler angles in radians. Args: matrix: Rotation matrices as tensor of shape (..., 3,
transform/rotation_jit.py:415
↓ 1 callersFunctionrotmat_to_quat
Convert rotation matrixs to quaternions. Args: matrix (Union[torch.Tensor, numpy.ndarray]): input shape should be (..., 3
lib/utils/transform.py:524
↓ 1 callersFunctionrotmat_to_rot6d_np
Converts rotation matrices to 6D rotation representation by Zhou et al. [1] by dropping the last row. Note that 6D representation is not uniq
transform/rotation_np.py:502
↓ 1 callersFunctionrotvec_to_quat
Convert rotations given as axis/angle to quaternions. Args: rotvec: Rotations given as a vector in axis angle form, as a
transform/rotation_jit.py:225
↓ 1 callersFunctionrotvec_to_quat_np
Convert rotations given as axis/angle to quaternions. Args: rotvec: Rotations given as a vector in axis angle form, as a
transform/rotation_np.py:238
↓ 1 callersFunctionsample_points_from_ball_query
(pt_xyz, pt_feats, center_point, k, radius)
lib/utils/points_utils.py:23
↓ 1 callersMethodsample_points_from_ball_query
(self, pt_xyz, center_point, k, radius)
lib/models/heads/ptEmb_head.py:412
↓ 1 callersFunctionsave_states
(state, is_best, checkpoint="checkpoint", foldname="checkpoint", snapshot=None)
lib/utils/io_utils.py:22
↓ 1 callersFunctionscipy_to_pytorch
Convert scipy sparse matrices to pytorch sparse matrix.
lib/external/metro/base_model.py:293
↓ 1 callersMethodset_log_file
(self, path: str, name: Optional[str] = None)
lib/utils/logger.py:80
↓ 1 callersMethodset_log_stream
(self)
lib/utils/logger.py:69
↓ 1 callersFunctionsetup_ddp
Setup distributed data parallel Args: arg (Namespace): arguments rank (int): rank of current process world_size (int): to
scripts/eval.py:32
↓ 1 callersFunctionsetup_ddp
Setup distributed data parallel Args: arg (Namespace): arguments rank (int): rank of current process world_size (int): to
scripts/train_ddp_wds.py:26
↓ 1 callersFunctionsetup_ddp
Setup distributed data parallel Args: arg (Namespace): arguments rank (int): rank of current process world_size (int): to
scripts/train_ddp.py:35
↓ 1 callersFunctionsetup_deformation_transfer
(source, target, use_normals=False)
lib/external/cmr/utils.py:128
↓ 1 callersFunctionsimple_renderer
(rn, verts, faces, yrot=np.radians(120), color=None)
lib/viztools/opendr_renderer.py:137
↓ 1 callersMethodsplit_scope_key
Split scope and key. The first scope will be split from key. Examples: >>> Registry.split_scope_key('mmdet.ResNet')
lib/utils/builder.py:141
↓ 1 callersFunctiontest_batch_triangulate_dlt_torch
()
lib/utils/triangulation.py:151
↓ 1 callersMethodtesting_step
(self, batch, step_idx, **kwargs)
lib/models/integal_pose.py:137
↓ 1 callersMethodtesting_step
(self, data, step_idx, **kwargs)
lib/external/cmr/model.py:404
↓ 1 callersMethodtesting_step
(self, batch, step_idx, **kwargs)
lib/external/metro/metro.py:372
↓ 1 callersMethodtraining_step
(self, batch, step_idx, **kwargs)
lib/models/PETR.py:222
↓ 1 callersMethodtraining_step
(self, batch, step_idx, **kwargs)
lib/models/darkpose.py:193
↓ 1 callersMethodtraining_step
(self, batch, step_idx, **kwargs)
lib/models/integal_pose.py:86
↓ 1 callersMethodtraining_step
(self, batch, step_idx, **kwargs)
lib/models/POEM.py:483
↓ 1 callersMethodtraining_step
(self, data, step_idx, **kwargs)
lib/external/cmr/model.py:304
↓ 1 callersMethodtraining_step
(self, batch, step_idx, **kwargs)
lib/external/metro/metro.py:172
↓ 1 callersFunctiontriangulate_dlt
Triangulate multiple 2D points from one set of multiviews using the DLT algorithm. Args: pts (np.ndarray): 2D points in the image plane. S
lib/utils/triangulation.py:111
↓ 1 callersFunctiontriangulate_one_point_dlt
Triangulate one point from one set of multiviews using the DLT algorithm. Implements a linear triangulation method to find a 3D point. For exa
lib/utils/triangulation.py:80
↓ 1 callersFunctionuv2map
(uv, size=(224, 224))
lib/external/cmr/data_adaptor.py:38
↓ 1 callersMethoduv_decode
(self, mlvl_feats)
lib/models/POEM.py:202
↓ 1 callersMethoduv_decoder
(self, z)
lib/external/cmr/model.py:253
↓ 1 callersMethoduv_decoder2
(self, z)
lib/external/cmr/model.py:264
↓ 1 callersMethodvalidation_step
(self, batch, step_idx, **kwargs)
lib/models/PETR.py:290
↓ 1 callersMethodvalidation_step
(self, batch, step_idx, **kwargs)
lib/models/darkpose.py:236
↓ 1 callersMethodvalidation_step
(self, batch, step_idx, **kwargs)
lib/models/integal_pose.py:82
↓ 1 callersMethodvalidation_step
(self, batch, step_idx, **kwargs)
lib/models/POEM.py:541
↓ 1 callersFunctionvertex_quadrics
Computes a quadric for each vertex in the Mesh. Returns: v_quadrics: an (N x 4 x 4) array, where N is # vertices.
lib/external/cmr/utils.py:96
↓ 1 callersMethodview_to_bcdhw
view a falttened 2D heatmap to 3D heatmap, sharing the same memory by using view() Args: x: TENSOR (BATCH, NCLASSES * DEP
lib/models/integal_pose.py:301
↓ 1 callersFunctionviz_3d
(image, joints_2d_proj)
lib/models/heads/ptEmb_head.py:26
Method__call__
(self, preds, inputs, step_idx, **kwargs)
lib/utils/testing.py:22
Method__call__
(self, preds, inputs, step_idx, **kwargs)
lib/utils/testing.py:46
Method__call__
(self, preds, inputs, step_idx)
lib/utils/testing.py:85
Method__call__
(self, preds, inputs, step_idx, **kwargs)
lib/utils/testing.py:196
Method__call__
(self, preds, inputs, step_idx, **kwargs)
lib/utils/testing.py:314
Method__call__
(cls, *args, **kwargs)
lib/utils/misc.py:56
Method__call__
(self, results)
lib/utils/transform.py:32
Method__call__
(self, image, label, **kwargs)
lib/utils/transform.py:95
Method__call__
(self, image, label, **kwargs)
lib/utils/transform.py:205
Method__call__
(self, image, label, **kwargs)
lib/utils/transform.py:245
Method__call__
(self, image, label, **kwargs)
lib/utils/transform.py:295
Method__call__
(self, image, label, **kwargs)
lib/utils/transform.py:334
Method__call__
cam is 3D [fx, fy, px, py]
lib/viztools/opendr_renderer.py:18
Method__contains__
(self, key)
lib/utils/builder.py:107
Method__delattr__
(cls, name)
lib/utils/misc.py:62
Method__getitem__
(self, idx)
lib/datasets/hdata.py:378
Method__getitem__
(self, idx)
lib/datasets/dexycb.py:577
Method__getitem__
(self, idx)
lib/datasets/interhand.py:350
Method__getitem__
(self, idx)
lib/datasets/ho3d.py:800
Method__getitem__
(self, sample_idx)
lib/datasets/oakink2_dev.py:367
Method__getitem__
Index an element from the dataset. This is done by randomly choosing a dataset using the mixing percentages and then randomly
lib/datasets/mix_dataset.py:59
Method__getitem__
(self, idx)
lib/datasets/ho3d_official_test.py:178
← previousnext →501–600 of 1,165, ranked by callers