MCPcopy Create free account

hub / github.com/densechen/CASS / functions

Functions183 in github.com/densechen/CASS

↓ 24 callersMethodforward
(self, X)
lib/pointnet.py:40
↓ 14 callersFunctionget_MLP_layers
(dims, doLastRelu)
lib/pointnet.py:15
↓ 14 callersFunctionvector_norm
Return length, i.e. Euclidean norm, of ndarray along axis. >>> v = numpy.random.random(3) >>> n = vector_norm(v) >>> numpy.allclose(n, nu
lib/transformations.py:1688
↓ 13 callersMethod__init__
(self, pool_layer)
lib/pointnet.py:36
↓ 10 callersFunctionunit_vector
Return ndarray normalized by length, i.e. Euclidean norm, along axis. >>> v0 = numpy.random.random(3) >>> v1 = unit_vector(v0) >>> numpy.
lib/transformations.py:1727
↓ 9 callersFunctionto_device
(x)
tools/eval.py:76
↓ 7 callersMethodforward
(self, codeword)
lib/foldingnet.py:163
↓ 7 callersFunctionquaternion_matrix
Return homogeneous rotation matrix from quaternion. >>> M = quaternion_matrix([0.99810947, 0.06146124, 0, 0]) >>> numpy.allclose(M, rotation_
lib/transformations.py:1254
↓ 6 callersMethod__init__
(self, num_points, num_obj)
lib/network.py:233
↓ 6 callersMethod__init__
(self, opt)
lib/models.py:98
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, stride=1, dilation=1)
lib/extractors.py:99
↓ 4 callersFunctionget_3d_bbox
Input: scale: [3] or scalar shift: [3] or scalar Return bbox_3d: [3, N]
tools/utils.py:167
↓ 4 callersFunctiontransform_coordinates_3d
Input: coordinates: [3, N] RT: [4, 4] Return new_coordinates: [3, N]
tools/utils.py:199
↓ 3 callersMethod__init__
(self, Folding1_dims, Folding2_dims)
lib/foldingnet.py:146
↓ 3 callersFunctionarcball_constrain_to_axis
Return sphere point perpendicular to axis.
lib/transformations.py:1639
↓ 3 callersFunctionquaternion_from_matrix
Return quaternion from rotation matrix. If isprecise is True, the input matrix is assumed to be a precise rotation matrix and a faster algori
lib/transformations.py:1281
↓ 2 callersMethod__init__
(self, n_classes=21, sizes=(1, 2, 3, 6), psp_size=2048, deep_features_size=1024, backend='resnet18',
lib/pspnet.py:44
↓ 2 callersMethod__init__
(self, block, layers=(3, 4, 23, 3))
lib/extractors.py:79
↓ 2 callersFunctionarcball_map_to_sphere
Return unit sphere coordinates from window coordinates.
lib/transformations.py:1626
↓ 2 callersFunctionasymmetric_3d_iou
(RT_1, RT_2, scales_1, scales_2)
tools/utils.py:37
↓ 2 callersFunctioncompute_ap_from_matches_scores
(pred_match, pred_scores, gt_match)
tools/utils.py:327
↓ 2 callersFunctionconv3x3
(in_planes, out_planes, stride=1, dilation=1)
lib/extractors.py:14
↓ 2 callersMethodencode
(self, img, x, choose)
lib/models.py:85
↓ 2 callersFunctionestimateSimilarityUmeyama
(source_hom, target_hom)
datasets/utils.py:81
↓ 2 callersFunctionget_bbox
(label)
datasets/dataset.py:271
↓ 2 callersMethodget_class_names
()
datasets/dataset.py:112
↓ 2 callersFunctionload_obj
return np.array
datasets/utils.py:17
↓ 2 callersFunctionmake_box
function to make grids on a 3D unit box @param lower: lower bound @param upper: upper bound @param num: number of points on an axis.
lib/utils.py:5
↓ 2 callersFunctionmake_cylinder
function to make a grid from a cyliner centered at (0, 0, 0). The cyliner's radius is 1, height is 0.5 Method: 1) the surrounding surface
lib/utils.py:36
↓ 2 callersFunctionmake_sphere
function to sample a grid from a sphere
lib/utils.py:76
↓ 2 callersFunctiontriangle_area
(v1, v2, v3)
datasets/utils.py:144
↓ 1 callersFunction_import_module
Try import all public attributes from module into global namespace. Existing attributes with name clashes are renamed with prefix. Attributes
lib/transformations.py:1894
↓ 1 callersMethod_make_stage
(self, features, size)
lib/pspnet.py:17
↓ 1 callersFunctionaffine_matrix_from_points
Return affine transform matrix to register two point sets. v0 and v1 are shape (ndims, \*) arrays of at least ndims non-homogeneous coordinat
lib/transformations.py:889
↓ 1 callersFunctionalign
(class_ids, masks, coords, depth, intr)
datasets/dataset.py:14
↓ 1 callersFunctionarcball_nearest_axis
Return axis, which arc is nearest to point.
lib/transformations.py:1655
↓ 1 callersFunctioncal_surface_area
(mesh)
datasets/utils.py:153
↓ 1 callersFunctioncalculate_2d_projections
Input: coordinates: [3, N] intrinsics: [3, 3] Return projected_coordinates: [N, 2]
tools/utils.py:216
↓ 1 callersFunctioncalculate_emd_cf
(point_a, point_b)
tools/eval.py:110
↓ 1 callersFunctioncompute_3d_iou_new
Computes IoU overlaps between two 3d bboxes. bbox_3d_1, bbox_3d_1: [3, 8]
tools/utils.py:32
↓ 1 callersFunctioncompute_3d_matches
Finds matches between prediction and ground truth instances. Returns: gt_matches: 2-D array. For each GT box it has the index of the match
tools/utils.py:249
↓ 1 callersFunctioncompute_RT_degree_cm_symmetry
:param RT_1: [4, 4]. homogeneous affine transformation :param RT_2: [4, 4]. homogeneous affine transformation :return: theta: angle diffe
tools/utils.py:91
↓ 1 callersFunctioncompute_RT_overlaps
Finds overlaps between prediction and ground truth instances. Returns: overlaps: [pred_boxes, gt_boxes] IoU overlaps.
tools/utils.py:356
↓ 1 callersFunctioncompute_match_from_degree_cm
(overlaps, pred_class_ids, gt_class_ids, degree_thres_list, shift_thres_list)
tools/utils.py:382
↓ 1 callersFunctiondraw
Load data and draw visualization results.
tools/eval.py:302
↓ 1 callersFunctioneuler_from_matrix
Return Euler angles from rotation matrix for specified axis sequence. axes : One of 24 axis sequences as string or encoded tuple Note that m
lib/transformations.py:1112
↓ 1 callersFunctioneuler_matrix
Return homogeneous rotation matrix from Euler angles and axis sequence. ai, aj, ak : Euler's roll, pitch and yaw angles axes : One of 24 axis
lib/transformations.py:1049
↓ 1 callersFunctioneval_interface
(model, opt, result)
tools/eval.py:278
↓ 1 callersFunctioneval_nocs
(model, img, depth, masks, cls_ids, cad_model_info, cad_model_scale)
tools/eval.py:124
↓ 1 callersFunctionevaluateModel
(out_transform, source_hom, target_hom, pass_threshold)
datasets/utils.py:71
↓ 1 callersFunctiongetRANSACInliers
(source_hom, target_hom, max_iterations=100, pass_threshold=200, stop_threshold=1)
datasets/utils.py:51
↓ 1 callersFunctionget_and_init_FC_layer
(din, dout)
lib/pointnet.py:6
↓ 1 callersMethodget_model
(self, cls_idx)
tools/eval.py:101
↓ 1 callersFunctionget_predict_scales
(recd)
tools/eval.py:105
↓ 1 callersMethodload_model
(self)
tools/eval.py:90
↓ 1 callersFunctionload_obj
(path, ori_path, num_points)
datasets/dataset.py:51
↓ 1 callersMethodpose
(self, codeword, obj)
lib/models.py:88
↓ 1 callersFunctionquaternion_multiply
Return multiplication of two quaternions. >>> q = quaternion_multiply([4, 1, -2, 3], [8, -5, 6, 7]) >>> numpy.allclose(q, [28, -44, -14, 48])
lib/transformations.py:1366
↓ 1 callersFunctionquaternion_slerp
Return spherical linear interpolation between two quaternions. >>> q0 = random_quaternion() >>> q1 = random_quaternion() >>> q = quaterni
lib/transformations.py:1431
↓ 1 callersFunctionrandom_quaternion
Return uniform random unit quaternion. rand: array like or None Three independent random variables that are uniformly distributed
lib/transformations.py:1472
↓ 1 callersMethodrecon
(self, codeword)
lib/models.py:63
↓ 1 callersFunctiontrim_zeros
It's common to have tensors larger than the available data and pad with zeros. This function removes rows that are all zeros. x: [rows, column
tools/utils.py:233
↓ 1 callersFunctiony_rotation_matrix
(theta)
tools/utils.py:73
Method__getitem__
(self, index)
datasets/dataset.py:120
Method__init__
(self, opt)
tools/eval.py:84
Method__init__
(self, usegpu=True)
lib/network.py:18
Method__init__
(self, num_points)
lib/network.py:29
Method__init__
(self, num_points, num_obj)
lib/network.py:63
Method__init__
(self, num_points)
lib/network.py:129
Method__init__
(self, num_points, num_obj)
lib/network.py:171
Method__init__
(self, num_points)
lib/network.py:210
Method__init__
Initialize virtual trackball control. initial : quaternion or rotation matrix
lib/transformations.py:1538
Method__init__
(self, *args, **kwargs)
lib/models.py:9
Method__init__
(self, num_points, *args, **kwargs)
lib/models.py:14
Method__init__
(self, *args, **kwargs)
lib/models.py:41
Method__init__
(self, num_points, MLP_dims, FC_dims, Folding1_dims, Folding2_dims, MLP_doLastRelu)
lib/models.py:50
Method__init__
(self, num_points, num_obj)
lib/models.py:78
Method__init__
(self, *args, **kwargs)
lib/models.py:93
Method__init__
(self, dims)
lib/foldingnet.py:36
Method__init__
(self, MLP_dims, FC_dims, grid_dims, Folding1_dims, Folding2_dims, MLP_doLastRelu=False)
lib/foldingnet.py:45
Method__init__
(self, MLP_dims, FC_dims, Folding1_dims, Folding2_dims, MLP_doLastRelu=False)
lib/foldingnet.py:95
Method__init__
(self, dims, doLastRelu=False)
lib/pointnet.py:28
Method__init__
(self, dims, doLastRelu=False)
lib/pointnet.py:51
Method__init__
(self, dims, doLastRelu=True)
lib/pointnet.py:62
Method__init__
(self, MLP_dims, FC_dims, MLP_doLastRelu=False)
lib/pointnet.py:72
Method__init__
(self, MLP_dims, C_tpls, M_points)
lib/pointnet.py:84
Method__init__
(self)
lib/pointnet.py:99
Method__init__
(self, MLP_dims, Attention_dims, FC_dims, MLP_doLastRelu=False)
lib/pointnet.py:111
Method__init__
(self, MLP1_dims, FC1_dims, MLP2_dims, FC2_dims, FC_dims)
lib/pointnet.py:138
Method__init__
(self, dims, FC_dims)
lib/pointnet.py:167
Method__init__
(self, d, dims, FC_dims, max_pool=True)
lib/pointnet.py:188
Method__init__
(self, boost_factor, dims, FC_dims, sym_pool_max=True, boost_pool_max=True)
lib/pointnet.py:215
Method__init__
(self, boost_factor, dims, FC_dims, sym_pool_max=True, boost_pool_max=True)
lib/pointnet.py:243
Method__init__
(self, boost_factor, dims, FC_dims, boost_pool_max=True)
lib/pointnet.py:279
Method__init__
(self, features, out_features=1024, sizes=(1, 2, 3, 6))
lib/pspnet.py:8
Method__init__
(self, in_channels, out_channels)
lib/pspnet.py:31
Method__init__
(self, inplanes, planes, stride=1, downsample=None, dilation=1)
lib/extractors.py:21
Method__init__
(self, inplanes, planes, stride=1, downsample=None, dilation=1)
lib/extractors.py:48
Method__init__
(self, mode, num_pt, root)
datasets/dataset.py:61
Method__len__
(self)
datasets/dataset.py:255
next →1–100 of 183, ranked by callers