MCPcopy Create free account

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

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

↓ 2 callersFunctioneuler_angle_to_rotmat_np
Convert rotations given as Euler angles in radians to rotation matrices. Args: euler_angles: Euler angles in radians as tensor of sha
transform/rotation_np.py:315
↓ 2 callersFunctionfig2data
@brief Convert a Matplotlib figure to a 4D numpy array with RGBA channels and return it @param fig a matplotlib figure @return a numpy 3D
lib/viztools/draw.py:187
↓ 2 callersFunctionfind_1Dproj
(points)
lib/external/cmr/regitstration.py:18
↓ 2 callersFunctionflip_3d
(annot_3d)
tool/infer_hand.py:137
↓ 2 callersFunctionflip_cam_extr
(cam_extr)
tool/flip_util.py:46
↓ 2 callersMethodformat_metric
(self, mode="train")
lib/external/cmr/model.py:493
↓ 2 callersMethodforward
Forward function for `Transformer`. Args: x (Tensor): Input query with shape [bs, c, h, w] where c = embed_dims.
lib/models/layers/petr_transformer.py:74
↓ 2 callersFunctiongenerate_grid_sample_proj
(source_points, img_metas)
lib/utils/collation.py:48
↓ 2 callersMethodget_backbone
(self, backbone, pretrained=True)
lib/external/cmr/model.py:217
↓ 2 callersMethodget_cam_serial
(self, idx)
lib/datasets/oakink.py:236
↓ 2 callersFunctionget_cls_net
(config, pretrained, **kwargs)
lib/external/metro/hrnet/hrnet.py:454
↓ 2 callersMethodget_git_commit
()
lib/utils/recorder.py:162
↓ 2 callersMethodget_hand_pose_wrt_cam
(self, idx)
lib/datasets/ho3d.py:414
↓ 2 callersMethodget_image
(self, idx)
lib/datasets/oakink.py:121
↓ 2 callersMethodget_image_mask
(self, idx)
lib/datasets/oakink.py:130
↓ 2 callersMethodget_image_path
(self, idx)
lib/datasets/dexycb.py:135
↓ 2 callersMethodget_image_path
(self, idx)
lib/datasets/oakink2_dev.py:108
↓ 2 callersMethodget_joints_2d
(self, idx)
lib/datasets/dexycb.py:196
↓ 2 callersMethodget_joints_2d
(self, idx)
lib/datasets/interhand.py:141
↓ 2 callersMethodget_joints_2d
(self, idx)
lib/datasets/freihand.py:348
↓ 2 callersMethodget_joints_2d
(self, idx)
lib/datasets/ho3d.py:209
↓ 2 callersMethodget_joints_2d
(self, idx)
lib/datasets/oakink2_dev.py:151
↓ 2 callersMethodget_joints_2d
(self, idx)
lib/datasets/arctic.py:139
↓ 2 callersMethodget_joints_3d
(self, idx)
lib/datasets/hdata.py:89
↓ 2 callersMethodget_joints_3d
(self, idx)
lib/datasets/dexycb.py:202
↓ 2 callersMethodget_joints_uvd
(self, idx)
lib/datasets/hdata.py:109
↓ 2 callersMethodget_mano_pose
(self, idx)
lib/datasets/hdata.py:133
↓ 2 callersMethodget_mano_pose
(self, idx)
lib/datasets/oakink.py:197
↓ 2 callersMethodget_mano_shape
(self, idx)
lib/datasets/hdata.py:137
↓ 2 callersMethodget_mano_shape
(self, idx)
lib/datasets/oakink.py:215
↓ 2 callersMethodget_pck_all
(self, threshold)
lib/metrics/pck.py:93
↓ 2 callersMethodget_sample_idx
(self)
lib/datasets/oakink.py:111
↓ 2 callersMethodget_sides
(self, idx)
lib/datasets/oakink.py:185
↓ 2 callersMethodget_verts_3d
(self, idx)
lib/datasets/hdata.py:93
↓ 2 callersMethodget_verts_3d
(self, idx)
lib/datasets/dexycb.py:180
↓ 2 callersMethodget_verts_uvd
(self, idx)
lib/datasets/hdata.py:97
↓ 2 callersFunctionimdesc
(image, desc="")
lib/viztools/draw.py:128
↓ 2 callersMethodinference_step
(self, batch, step_idx, **kwargs)
lib/external/metro/metro.py:378
↓ 2 callersMethodinit_weights
( self, pretrained='', )
lib/models/backbones/hrnet.py:422
↓ 2 callersFunctioninv_transf
(transf: torch.Tensor)
transform/transform_jit.py:19
↓ 2 callersFunctionis_new_vertex
(idx)
lib/external/cmr/utils.py:341
↓ 2 callersMethodjoint_b_axis_loss
(b_axis, axis, angle_mask)
lib/fit/hand_loss.py:48
↓ 2 callersMethodjoint_l_limit_loss
(l_axis, axis, angle_mask)
lib/fit/hand_loss.py:103
↓ 2 callersMethodjoint_u_axis_loss
(u_axis, axis, angle_mask)
lib/fit/hand_loss.py:76
↓ 2 callersMethodkeypoint_2d_loss
Compute 2D reprojection loss if 2D keypoint annotations are available. The confidence is binary and indicates whether the keypoints e
lib/external/metro/metro.py:225
↓ 2 callersMethodkeypoint_3d_loss
Compute 3D keypoint loss if 3D keypoint annotations are available.
lib/external/metro/metro.py:235
↓ 2 callersMethodloss_proj_to_multicam
(pred_joints, T_c2m, K, gt_joints_2d, n_views, img_scale, tolerance_on_scale=1.0)
lib/models/PETR.py:145
↓ 2 callersMethodloss_proj_to_multicam
pred_joints := [B, 21, 3] T_c2m := [BN, 4, 4] K := [BN, 3, 3] gt_joints_2d := [BN, 21, 2]
lib/models/POEM.py:351
↓ 2 callersMethodmerge_features
q: [B, nsample, N, 256] q_merged: [B, nsample, 256]
lib/models/heads/ptEmb_head.py:395
↓ 2 callersMethodnormalize_depth
(self, img, far)
lib/utils/neural_renderer.py:100
↓ 2 callersMethodon_finished
(self)
lib/utils/testing.py:25
↓ 2 callersMethodon_train_finished
(self, recorder, epoch_idx)
lib/external/cmr/model.py:374
↓ 2 callersMethodorthographic_projection
Perform orthographic projection of 3D points X using the camera parameters Args: X: size = [B, N, 3] camera: size = [B
lib/external/metro/metro.py:210
↓ 2 callersMethodpaint_color_on
(self, pts, colors=None)
lib/viztools/viz_o3d_utils.py:63
↓ 2 callersMethodpose_quat_norm_loss
this is the only loss accepts unnormalized quats
lib/fit/hand_loss.py:13
↓ 2 callersMethodpose_reg_loss
(var_pose_normed, var_pose_init)
lib/fit/hand_loss.py:22
↓ 2 callersFunctionquat_invert_np
Given a quaternion representing rotation, get the quaternion representing its inverse. Args: quaternion: Quaternions as tensor of
transform/rotation_np.py:78
↓ 2 callersFunctionquat_to_rotmat
Convert quaternions to rotation matrixs. Args: quaternions (Union[torch.Tensor, numpy.ndarray]): input shape should be (.
lib/utils/transform.py:539
↓ 2 callersFunctionquat_to_rotmat
Convert rotations given as quaternions to rotation matrices. Args: quat: quaternions in form (w,x,y,z), tensor of shape
transform/rotation_jit.py:133
↓ 2 callersFunctionquat_to_rotvec_np
Convert rotations given as quaternions to axis/angle. Args: quat: quaternions with real part first, as tensor of shape (.
transform/rotation_np.py:262
↓ 2 callersMethodrecord_checkpoints
(self: T, model, optimizer: Union[Dict[str, Optimizer], Optimizer], scheduler: Unio
lib/utils/recorder.py:74
↓ 2 callersMethodremove_geometry
(self, geo)
lib/viztools/viz_o3d_utils.py:197
↓ 2 callersMethodreset
(self)
lib/metrics/pck.py:30
↓ 2 callersMethodresume_checkpoints
resume checkpoints from resume_path, all process are synchronized Args: self (T): _description_ model (_type_): _desc
lib/utils/recorder.py:109
↓ 2 callersMethodrotation_angle_loss
(angle, limit_angle=np.pi / 2, eps=1e-10)
lib/fit/hand_loss.py:130
↓ 2 callersFunctionrotmat_to_euler_angle_np
Convert rotations given as rotation matrices to Euler angles in radians. Args: matrix: Rotation matrices as tensor of shape (..., 3,
transform/rotation_np.py:410
↓ 2 callersFunctionrotmat_to_quat
Convert rotations given as rotation matrices to quaternions. Args: rotmat: tensor of shape (..., 3, 3). Returns: quaterni
transform/rotation_jit.py:175
↓ 2 callersFunctionrotmat_to_rotvec_np
Convert rotations given as rotation matrices to axis/angle. Args: rotmat: Rotation matrices as tensor of shape (..., 3, 3). Retur
transform/rotation_np.py:224
↓ 2 callersFunctionrotvec_to_rotmat_np
Convert rotations given as axis/angle to rotation matrices. Args: rotvec: Rotations given as a vector in axis angle form,
transform/rotation_np.py:210
↓ 2 callersFunctionroundall
(rows)
lib/datasets/freihand.py:126
↓ 2 callersFunctionrow
(A)
lib/external/cmr/utils.py:55
↓ 2 callersFunctionsample_with_heatmap
(img, heatmap, num_rows=3, parts_to_show=None)
lib/utils/heatmap.py:132
↓ 2 callersFunctionsave_a_image_with_mesh_joints
( image, cam_param, mesh_xyz, face, pose_uv, pose_xyz, file_name, padding=0,
lib/viztools/draw.py:501
↓ 2 callersMethodshape_reg_loss
(var_shape, shape_init)
lib/fit/hand_loss.py:35
↓ 2 callersMethodtesting_step
(self, batch, step_idx, **kwargs)
lib/models/PETR.py:357
↓ 2 callersMethodtesting_step
(self, batch, step_idx, **kwargs)
lib/models/darkpose.py:264
↓ 2 callersMethodtesting_step
(self, batch, step_idx, **kwargs)
lib/models/POEM.py:601
↓ 2 callersFunctionto_sparse
(spmat)
lib/external/cmr/utils.py:402
↓ 2 callersMethodvalidation_step
(self, data, step_idx, **kwargs)
lib/external/cmr/model.py:379
↓ 2 callersMethodvalidation_step
(self, batch, step_idx, **kwargs)
lib/external/metro/metro.py:152
↓ 2 callersMethodvertices_loss
Compute per-vertex loss if vertex annotations are available.
lib/external/metro/metro.py:254
↓ 2 callersMethodwith_pos_embed
(tensor, pos)
lib/models/layers/mvp_decoder.py:316
↓ 1 callersMethod__getitem__
(self, idx)
lib/datasets/dexycb.py:387
↓ 1 callersMethod__getitem__
(self, sample_idx)
lib/datasets/oakink.py:482
↓ 1 callersMethod__init__
(self, cfg)
lib/datasets/ho3d.py:32
↓ 1 callersMethod__init__
(self, cfg)
lib/datasets/oakink2_dev.py:29
↓ 1 callersMethod__init__
(self, cfg, dataset_list: list, max_len: int = None, data_preset: CN = None)
lib/datasets/mix_dataset.py:14
↓ 1 callersMethod__init__
(self)
lib/models/darkpose.py:50
↓ 1 callersMethod__init__
(self, cfg)
lib/models/integal_pose.py:29
↓ 1 callersMethod__init__
(self, in_planes, out_planes)
lib/models/backbones/hourglass.py:8
↓ 1 callersMethod__init__
(self, cfg: CN)
lib/external/cmr/data_adaptor.py:143
↓ 1 callersMethod_add_children
Add children for a registry. The ``registry`` will be added as children based on its scope. The parent registry could build objects f
lib/utils/builder.py:206
↓ 1 callersFunction_axis_angle_rotation
Return the rotation matrices for one of the rotations about an axis of which Euler angles describe, for each value of the angle given. Ar
transform/rotation_jit.py:306
↓ 1 callersFunction_axis_angle_rotation
Return the rotation matrices for one of the rotations about an axis of which Euler angles describe, for each value of the angle given. Ar
transform/rotation_np.py:287
↓ 1 callersMethod_build_head_module
(self)
lib/models/heads/petr_head.py:58
↓ 1 callersMethod_check_branches
(self, num_branches, blocks, num_blocks, num_inchannels, num_channels)
lib/models/backbones/hrnet.py:131
↓ 1 callersMethod_check_branches
(self, num_branches, blocks, num_blocks, num_inchannels, num_channels)
lib/external/metro/hrnet/hrnet.py:124
↓ 1 callersMethod_common_keys
(self)
lib/datasets/mix_dataset.py:44
↓ 1 callersFunction_create_renderer
(w=640, h=480, rt=np.zeros(3), t=np.zeros(3), f=None, c=None, k=None, near=0.5, far=10.0)
lib/viztools/opendr_renderer.py:175
↓ 1 callersMethod_data_filter
(self, raw_data)
lib/datasets/mix_dataset.py:54
← previousnext →201–300 of 1,165, ranked by callers