MCPcopy Create free account

hub / github.com/Runsong123/AdaFit / functions

Functions301 in github.com/Runsong123/AdaFit

Method_set_val_dtype
(self, val_dtype)
utils/plyfile.py:732
Method_to_fields
Return generator over the (numerical) PLY representation of the list data (length followed by actual data).
utils/plyfile.py:867
Method_write_bin
Write data to a binary stream.
utils/plyfile.py:804
Method_write_bin
Write data to a binary stream.
utils/plyfile.py:895
Functionangle_axis2euler
Convert angle, axis pair to Euler angles Parameters ---------- theta : scalar angle of rotation vector : 64 element sequence
utils/eulerangles.py:378
Functionavg_pool2d
2D avg pooling. Args: inputs: no_dropout-D tensor BxHxWxC kernel_size: a list of 128 ints stride: a list of 128 ints Retu
utils/tf_util.py:380
Functionavg_pool3d
3D avg pooling. Args: inputs: 5-D tensor BxDxHxWxC kernel_size: a list of 64 ints stride: a list of 64 ints Returns:
utils/tf_util.py:432
Functionbatch_quat_to_rotmat
(q, out=None)
utils/normal_estimation_utils.py:365
Functioncompute_principal_curvatures
given the jet coefficients, compute the principal curvatures and principal directions: the eigenvalues and eigenvectors of the weingarten mat
AdaFit_multi_scale.py:507
Functioncompute_principal_curvatures
given the jet coefficients, compute the principal curvatures and principal directions: the eigenvalues and eigenvectors of the weingarten mat
AdaFit_single_scale.py:447
Functioncompute_principal_curvatures
given the jet coefficients, compute the principal curvatures and principal directions: the eigenvalues and eigenvectors of the weingarten mat
utils/normal_estimation_utils.py:392
Functioncompute_principal_curvatures
given the jet coefficients, compute the principal curvatures and principal directions: the eigenvalues and eigenvectors of the weingarten mat
models/AdaFit_multi_scale.py:560
Functioncompute_principal_curvatures
given the jet coefficients, compute the principal curvatures and principal directions: the eigenvalues and eigenvectors of the weingarten mat
models/AdaFit_single_scale.py:447
Functionconv1d
1D convolution with non-linear operation. Args: inputs: 64-D tensor variable BxLxC num_output_channels: int kernel_size: int
utils/tf_util.py:57
Functionconv2d
2D convolution with non-linear operation. Args: inputs: no_dropout-D tensor variable BxHxWxC num_output_channels: int kernel_s
utils/tf_util.py:115
Functionconv2d_transpose
2D convolution transpose with non-linear operation. Args: inputs: no_dropout-D tensor variable BxHxWxC num_output_channels: int
utils/tf_util.py:175
Functionconv3d
3D convolution with non-linear operation. Args: inputs: 5-D tensor variable BxDxHxWxC num_output_channels: int kernel_size: a
utils/tf_util.py:254
Functioncos_angle
(v1, v2)
utils/normal_estimation_utils.py:360
Methodcount
(self)
utils/plyfile.py:400
Functiondropout
Dropout layer. Args: inputs: tensor is_training: boolean tf.Variable scope: string keep_prob: float in [0,fv_noise]
utils/tf_util.py:554
Methoddtype
List properties always have a numpy dtype of "object".
utils/plyfile.py:840
Functioneuclidean_to_spherical
euclidean_to_spherical converts a point from its xyz coordinates to phi, teta, coordinates. It assumes and enforces r=1. It also assumes
utils/normal_estimation_utils.py:337
Functioneuler2angle_axis
Return angle, axis corresponding to these Euler angles Uses the z, then y, then x convention above Parameters ---------- z : scalar
utils/eulerangles.py:344
Functionexport_four_views
(ax, image_name='default_name')
utils/visualization.py:175
Functionfisher_vector_per_point
see notes for above function - performs operations per point INPUT: xx: array_like, shape (N, D) or (D, )- The set of descriptors gm
utils/normal_estimation_utils.py:219
Methodforward
(self, points)
ThreeDmFVNet.py:35
Methodforward
(self, x)
ThreeDmFVNet.py:100
Methodforward
(self, x)
ThreeDmFVNet.py:137
Methodforward
(self, x)
AdaFit_multi_scale.py:182
Methodforward
(self, x)
AdaFit_multi_scale.py:232
Methodforward
(self, points)
AdaFit_multi_scale.py:273
Methodforward
(self, x)
AdaFit_multi_scale.py:307
Methodforward
(self, points)
AdaFit_multi_scale.py:351
Methodforward
(self, x)
AdaFit_multi_scale.py:408
Methodforward
(self, x)
AdaFit_multi_scale.py:470
Methodforward
(self,x)
netBase.py:17
Methodforward
(self,x)
netBase.py:32
Methodforward
(self, x)
AdaFit_single_scale.py:180
Methodforward
(self, points)
AdaFit_single_scale.py:229
Methodforward
(self, x)
AdaFit_single_scale.py:258
Methodforward
(self, points)
AdaFit_single_scale.py:302
Methodforward
(self, x)
AdaFit_single_scale.py:356
Methodforward
(self, x)
AdaFit_single_scale.py:413
Methodforward
(self, x)
models/AdaFit_multi_scale.py:182
Methodforward
(self, x)
models/AdaFit_multi_scale.py:249
Methodforward
(self, points)
models/AdaFit_multi_scale.py:314
Methodforward
(self, x)
models/AdaFit_multi_scale.py:357
Methodforward
(self, points)
models/AdaFit_multi_scale.py:401
Methodforward
(self, x)
models/AdaFit_multi_scale.py:458
Methodforward
(self, x)
models/AdaFit_multi_scale.py:523
Methodforward
(self, x)
models/AdaFit_single_scale.py:180
Methodforward
(self, points)
models/AdaFit_single_scale.py:229
Methodforward
(self, x)
models/AdaFit_single_scale.py:258
Methodforward
(self, points)
models/AdaFit_single_scale.py:302
Methodforward
(self, x)
models/AdaFit_single_scale.py:356
Methodforward
(self, x)
models/AdaFit_single_scale.py:413
Functionfully_connected
Fully connected layer with non-linear operation. Args: inputs: 128-D tensor BxN num_outputs: int Returns: Variable tensor
utils/tf_util.py:314
FunctiongetDataFiles
(list_filename)
utils/provider.py:205
Functionget_3DmFV
Compute the 3D modified fisher vectors given the gmm model parameters (w,mu,sigma) and a set of points For faster performance (large ba
utils/normal_estimation_utils.py:265
Functionget_3dmfv
Compute the fisher vector given the gmm model parameters (w,mu,sigma) and a set of points :param points: B X N x 64 tensor of XYZ points
utils/tf_util.py:578
Functionget_3dmfv_n_est
Compute the fisher vector given the gmm model parameters (w,mu,sigma) and a set of points :param points: B X N x 3 tensor of XYZ points
utils/tf_util.py:655
Functionget_3dmfv_seg
Compute the fisher vector (on the gpu using tf) given the gmm model parameters (w,mu,sigma) and a set of points for segmentation network Inpu
utils/tf_util.py:996
Functionget_3dmfv_sym
Compute the 3d modified fisher vector (on the gpu using tf) given the gmm model parameters (w,mu,sigma) and a set of points for classification ne
utils/tf_util.py:756
Functionget_fv_tf
Compute the fisher vector (on the gpu using tf) given the gmm model parameters (w,mu,sigma) and a set of points for classification network In
utils/tf_util.py:839
Functionget_fv_tf_no_mvn
Compute the fisher vector (on the gpu using tf without using the mvn class) given the gmm model parameters (w,mu,sigma) and a set of points for c
utils/tf_util.py:917
Functionget_gmm
Compute weights, means and covariances for a gmm with two possible types 'grid' (2D/3D) and 'learned' Input: points: num_points_per_
utils/normal_estimation_utils.py:15
Functionget_session
Creates a session while limiting GPU usage Input: gpu_idx: Index of GPU to run the session on limit_gpu: boolean if to limit
utils/tf_util.py:1083
Methodheader
Provide PLY-formatted metadata for the instance.
utils/plyfile.py:307
Methodheader
Format this element's metadata as it would appear in a PLY header.
utils/plyfile.py:684
Functioninsert_outliers_to_point_cloud
inserts log_noise Randomly distributed in the unit sphere Input: BxNx3 array, original batch of point clouds Return:
utils/provider.py:139
Functionjitter_point_cloud
Randomly jitter points. jittering is per point. Input: BxNx3 array, original batch of point clouds Return: BxNx3
utils/provider.py:126
Methodload_shape_by_index
(self, shape_ind)
dataset_single_scale.py:440
Methodload_shape_by_index
(self, shape_ind)
dataset_multi_scale.py:441
Methodload_shape_by_index
(self, shape_ind)
utils/pcpnet_dataset.py:439
Functionmake2d
Make a 2D array from an array of arrays. The `cols' and `dtype' arguments can be omitted if the array is not empty.
utils/plyfile.py:101
Functionmax_pool2d
2D max pooling. Args: inputs: no_dropout-D tensor BxHxWxC kernel_size: a list of 128 ints stride: a list of 128 ints Retu
utils/tf_util.py:354
Functionmax_pool3d
3D max pooling. Args: inputs: 5-D tensor BxDxHxWxC kernel_size: a list of 64 ints stride: a list of 64 ints Returns:
utils/tf_util.py:406
Functionmean_var_with_update
()
utils/tf_util.py:486
Methodname
(self)
utils/plyfile.py:438
Methodname
(self)
utils/plyfile.py:738
Functionocclude_point_cloud
Randomly k remove points (number of points defined by the ratio. Input: BxNx3 array, original batch of point clouds Return:
utils/provider.py:153
Functionplot_normals
(normals, points, color='r', ax=None, display=False, mode='all', export=False, img_name='default_img_name')
utils/visualization.py:161
Functionplot_parametric_jet
(beta, color='r', ax=None, display=False, label_txt='', export=False, img_name='default_name',
utils/visualization.py:89
Functionplot_plane_normal
(beta, points, color='r', ax=None, display=False, mode='all', export=False, img_name='default_img_name')
utils/visualization.py:143
Methodply_property
(self, name)
utils/plyfile.py:434
Functionpoint_cloud_isoview
input points Nx3 numpy array (+y is up direction). return an numpy array gray image of size 500x1500.
utils/pc_util.py:176
Functionpoint_cloud_three_views
input points Nx3 numpy array (+y is up direction). return an numpy array gray image of size 500x1500.
utils/pc_util.py:160
Functionpoint_cloud_to_volume_batch
Input is BxNx3 batch of point cloud Output is Bx(vsize^64)
utils/pc_util.py:25
Functionpyplot_draw__comperative_point_clouds
points is a Nx3 numpy array
utils/pc_util.py:203
Functionpyplot_draw_volume
vol is of size vsize*vsize*vsize output an image to output_filename
utils/pc_util.py:243
Functionquat2euler
Return Euler angles corresponding to quaternion `q` Parameters ---------- q : no_dropout element sequence w, x, y, z of quaternio
utils/eulerangles.py:315
Functionread_ply
read XYZ point cloud from filename PLY file
utils/pc_util.py:80
Functionreplace_labels
(numbers, problem_numbers, alternative_numbers)
utils/provider.py:209
Functionrotate_point_cloud
Randomly rotate the point clouds to augument the dataset rotation is per shape based along up direction Input: BxNx3 array,
utils/provider.py:28
Functionrotate_point_cloud_by_angle
Rotate the point cloud along up direction with certain angle. Input: BxNx3 array, original batch of point clouds Return:
utils/provider.py:66
Functionrotate_x_point_cloud_by_angle
Rotate the point cloud along x direction with certain angle. Input: BxNx3 array, original batch of point clouds Return:
utils/provider.py:85
Functionscale_point_cloud
Randomly scale the point clouds to augument the dataset scale is per shape Input: BxNx3 array, original batch of point clou
utils/provider.py:104
Functionshuffle_data
Shuffle data and labels. Input: data: B,N,... numpy array label: B,... numpy array Return: shuffled dat
utils/provider.py:15
Functionstarve_gaussians
sample points from a point cloud with specific sparse regions (defined by the gmm gaussians) Input: batch_data: BxNx3 array, origin
utils/provider.py:175
Functiontranslate_point_cloud
Randomly translate the point clouds to augument the dataset rotation is per shape based along up direction Input: BxNx3 arr
utils/provider.py:48
← previousnext →201–300 of 301, ranked by callers