MCPcopy Create free account

hub / github.com/d62lu/3DCTN / functions

Functions219 in github.com/d62lu/3DCTN

↓ 50 callersMethodwrite
Write PLY data to a writeable file-like object or filename.
visualizer/plyfile.py:279
↓ 13 callersMethodclose
(self)
util.py:45
↓ 10 callersFunctionlog_string
(str)
train_classification.py:81
↓ 10 callersFunctionlog_string
(str)
log/classification/pointnet2_cls_msg_github/train_classification.py:81
↓ 9 callersMethoddtype
Return the numpy dtype of the in-memory representation of the data. (If there are no list properties, and the PLY format is
visualizer/plyfile.py:428
↓ 8 callersFunction_lookup_type
(type_str)
visualizer/plyfile.py:80
↓ 8 callersFunctionindex_points
Input: points: input points data, [B, N, C] idx: sample index data, [B, S] Return: new_points:, indexed points data,
log/classification/pointnet2_cls_msg_github/pointnet2_utils.py:45
↓ 8 callersFunctionindex_points
Input: points: input points data, [B, N, C] idx: sample index data, [B, S] Return: new_points:, indexed points data,
models/pointnet2_utils.py:45
↓ 6 callersMethod__init__
(self, batchnorm, input_dim, output_dim, heads, head_dim, mlp_dim, patch_size, attn_drop_value, feed_drop_valu
log/classification/pointnet2_cls_msg_github/pointnet2_utils.py:312
↓ 6 callersMethod__init__
(self, batchnorm, input_dim, output_dim, heads, head_dim, mlp_dim, patch_size, attn_drop_value, feed_drop_valu
models/pointnet2_utils.py:312
↓ 4 callersMethoddtype
Return the numpy dtype description for this property (as a tuple of strings).
visualizer/plyfile.py:739
↓ 4 callersMethodlist_dtype
Return the pair (len_dtype, val_dtype) (both numpy-friendly strings).
visualizer/plyfile.py:809
↓ 3 callersMethod_check_sanity
(self)
visualizer/plyfile.py:395
↓ 3 callersFunctiondraw_point_cloud
Render point cloud to image with alpha channel. Input: points: Nx3 numpy array (+y is up direction) Output: g
visualizer/pc_utils.py:98
↓ 2 callersMethod__getitem__
(self, idx)
data_utils/S3DISDataLoader.py:48
↓ 2 callersMethod__init__
elements: sequence of PlyElement instances. text: whether the resulting PLY file will be text (True) or binary (False).
visualizer/plyfile.py:160
↓ 2 callersMethod_index
(self)
visualizer/plyfile.py:410
↓ 2 callersFunction_open_stream
(stream, read_or_write)
visualizer/plyfile.py:341
↓ 2 callersFunctioncollect_point_label
Convert original dataset files to data_label file (each line is XYZRGBL). We aggregated all the points from each instance in the room. A
data_utils/indoor3d_util.py:34
↓ 2 callersFunctionfarthest_point_sample
Input: xyz: pointcloud data, [B, N, 3] npoint: number of samples Return: centroids: sampled pointcloud index, [B, npo
log/classification/pointnet2_cls_msg_github/pointnet2_utils.py:65
↓ 2 callersFunctionfarthest_point_sample
Input: xyz: pointcloud data, [B, N, 3] npoint: number of samples Return: centroids: sampled pointcloud index, [B, npo
models/pointnet2_utils.py:65
↓ 2 callersFunctionfarthest_point_sample
Input: xyz: pointcloud data, [N, D] npoint: number of samples Return: centroids: sampled pointcloud index, [npoint, D
data_utils/ModelNetDataLoader.py:25
↓ 2 callersFunctionload_data
(partition)
data.py:32
↓ 2 callersFunctionmat2euler
Discover Euler angle vector from 3x3 matrix Uses the conventions above. Parameters ---------- M : array-like, shape (3,3) cy_thre
visualizer/eulerangles.py:168
↓ 2 callersFunctionparse_args
PARAMETERS
train_classification.py:25
↓ 2 callersFunctionparse_args
PARAMETERS
log/classification/pointnet2_cls_msg_github/train_classification.py:25
↓ 2 callersFunctionquery_ball_point
Input: radius: local region radius nsample: max sample number in local region xyz: all points, [B, N, 3] new_xyz:
log/classification/pointnet2_cls_msg_github/pointnet2_utils.py:89
↓ 2 callersFunctionquery_ball_point
Input: radius: local region radius nsample: max sample number in local region xyz: all points, [B, N, 3] new_xyz:
models/pointnet2_utils.py:89
↓ 2 callersFunctionroom2blocks
Prepare block training data. Args: data: N x 6 numpy array, 012 are XYZ in meters, 345 are RGB in [0,1] assumes the data is s
data_utils/indoor3d_util.py:140
↓ 2 callersFunctionsquare_distance
Calculate Euclid distance between each two points. src^T * dst = xn * xm + yn * ym + zn * zm; sum(src^2, dim=-1) = xn*xn + yn*yn + zn*zn
log/classification/pointnet2_cls_msg_github/pointnet2_utils.py:21
↓ 2 callersFunctionsquare_distance
Calculate Euclid distance between each two points. src^T * dst = xn * xm + yn * ym + zn * zm; sum(src^2, dim=-1) = xn*xn + yn*yn + zn*zn
models/pointnet2_utils.py:21
↓ 2 callersFunctiontranslate_pointcloud
(pointcloud)
data.py:68
↓ 1 callersMethod__init__
(self)
log/classification/pointnet2_cls_msg_github/pointnet2_cls_msg.py:51
↓ 1 callersMethod__init__
(self)
models/pointnet2_cls_msg.py:51
↓ 1 callersMethod__len__
(self)
data_utils/S3DISDataLoader.py:82
↓ 1 callersMethod_check_name
(self)
visualizer/plyfile.py:423
↓ 1 callersMethod_check_name
(self)
visualizer/plyfile.py:710
↓ 1 callersMethod_from_fields
Parse from generator. Raise StopIteration if the property could not be read.
visualizer/plyfile.py:746
↓ 1 callersMethod_get_item
(self, index)
data_utils/ModelNetDataLoader.py:115
↓ 1 callersMethod_index
(self)
visualizer/plyfile.py:203
↓ 1 callersMethod_parse_header
Parse a PLY header from a readable file-like stream.
visualizer/plyfile.py:210
↓ 1 callersMethod_parse_multi
Parse a list of PLY element definitions.
visualizer/plyfile.py:439
↓ 1 callersMethod_parse_one
Consume one element definition. The unconsumed input is returned along with a PlyElement instance.
visualizer/plyfile.py:451
↓ 1 callersMethod_read
Read the actual data from a PLY file.
visualizer/plyfile.py:544
↓ 1 callersMethod_read_bin
Load a PLY element from a binary PLY file. The element may contain list properties.
visualizer/plyfile.py:629
↓ 1 callersMethod_read_txt
Load a PLY element from an ASCII-format PLY file. The element may contain list properties.
visualizer/plyfile.py:586
↓ 1 callersFunction_split_line
(line, n)
visualizer/plyfile.py:91
↓ 1 callersMethod_to_fields
Return generator over one item.
visualizer/plyfile.py:753
↓ 1 callersMethod_write
Write the data to a PLY file.
visualizer/plyfile.py:569
↓ 1 callersMethod_write_bin
Save a PLY element to a binary PLY file. The element may contain list properties.
visualizer/plyfile.py:645
↓ 1 callersMethod_write_txt
Save a PLY element to an ASCII-format PLY file. The element may contain list properties.
visualizer/plyfile.py:617
↓ 1 callersMethoddescribe
Construct a PlyElement from an array's metadata. len_types and val_types can be given as mappings from list property names to
visualizer/plyfile.py:486
↓ 1 callersFunctiondownload
()
data.py:19
↓ 1 callersFunctioneuler2mat
Return matrix for rotations around z, y and x axes Uses the z, then y, then x convention above Parameters ---------- z : scalar
visualizer/eulerangles.py:81
↓ 1 callersFunctioneuler2quat
Return quaternion corresponding to these Euler angles Uses the z, then y, then x convention above Parameters ---------- z : scalar
visualizer/eulerangles.py:228
↓ 1 callersFunctionload_scanobjectnn_data
(partition)
data.py:50
↓ 1 callersFunctionmain
(args)
train_classification.py:80
↓ 1 callersFunctionmain
(args)
log/classification/pointnet2_cls_msg_github/train_classification.py:80
↓ 1 callersFunctionpc_normalize
(pc)
data_utils/ModelNetDataLoader.py:17
↓ 1 callersFunctionpc_normalize
(pc)
data_utils/ShapeNetDataLoader.py:9
↓ 1 callersFunctionpoint_cloud_three_views
input points Nx3 numpy array (+y is up direction). return an numpy array gray image of size 500x1500.
visualizer/pc_utils.py:158
↓ 1 callersFunctionpoint_cloud_three_views_demo
Demo for draw_point_cloud function
visualizer/pc_utils.py:175
↓ 1 callersFunctionpoint_cloud_to_volume
input is Nx3 points. output is vsize*vsize*vsize assumes points are in range [-radius, radius]
visualizer/pc_utils.py:40
↓ 1 callersFunctionpyplot_draw_point_cloud
points is a Nx3 numpy array
visualizer/pc_utils.py:192
↓ 1 callersMethodread
Read PLY data from a readable file-like object or filename.
visualizer/plyfile.py:264
↓ 1 callersFunctionrender
()
visualizer/show3d_balls.py:57
↓ 1 callersFunctionroom2blocks_plus
room2block with input filename and RGB preprocessing.
data_utils/indoor3d_util.py:212
↓ 1 callersFunctionroom2blocks_plus_normalized
room2block, with input filename and RGB preprocessing. for each block centralize XYZ, add normalized XYZ as 678 channels
data_utils/indoor3d_util.py:235
↓ 1 callersFunctionroom2samples
Prepare whole room samples. Args: data: N x 6 numpy array, 012 are XYZ in meters, 345 are RGB in [0,1] assumes the data is s
data_utils/indoor3d_util.py:274
↓ 1 callersFunctionroom2samples_plus_normalized
room2sample, with input filename and RGB preprocessing. for each block centralize XYZ, add normalized XYZ as 678 channels
data_utils/indoor3d_util.py:310
↓ 1 callersFunctionsample_and_group
Input: npoint: radius: nsample: xyz: input points position data, [B, N, 3] points: input points data, [B,
log/classification/pointnet2_cls_msg_github/pointnet2_utils.py:112
↓ 1 callersFunctionsample_and_group
Input: npoint: radius: nsample: xyz: input points position data, [B, N, 3] points: input points data, [B,
models/pointnet2_utils.py:112
↓ 1 callersFunctionsample_and_group_all
Input: xyz: input points position data, [B, N, 3] points: input points data, [B, N, D] Return: new_xyz: sampled point
log/classification/pointnet2_cls_msg_github/pointnet2_utils.py:143
↓ 1 callersFunctionsample_and_group_all
Input: xyz: input points position data, [B, N, 3] points: input points data, [B, N, D] Return: new_xyz: sampled point
models/pointnet2_utils.py:143
↓ 1 callersFunctionsample_and_group_all_gt
Input: xyz: input points position data, [B, N, 3] points: input points data, [B, N, D] Return: new_xyz: sampled point
log/classification/pointnet2_cls_msg_github/pointnet2_utils.py:162
↓ 1 callersFunctionsample_and_group_all_gt
Input: xyz: input points position data, [B, N, 3] points: input points data, [B, N, D] Return: new_xyz: sampled point
models/pointnet2_utils.py:162
↓ 1 callersFunctionsample_data
data is in N x ... we want to keep num_samplexC of them. if N > num_sample, we will randomly keep num_sample of them. if N <
data_utils/indoor3d_util.py:118
↓ 1 callersFunctionsample_data_label
(data, label, num_sample)
data_utils/indoor3d_util.py:135
↓ 1 callersFunctionshowpoints
(xyz, c_gt=None, c_pred=None, waittime=0, showrot=False, magnifyBlue=0, freezerot=False, backgr
visualizer/show3d_balls.py:31
↓ 1 callersFunctiontest
(model, loader, num_class=40)
train_classification.py:51
↓ 1 callersFunctiontest
(model, loader, num_class=40)
log/classification/pointnet2_cls_msg_github/train_classification.py:51
↓ 1 callersFunctionvolume_to_point_cloud
vol is occupancy grid (value = 0 or 1) of size vsize*vsize*vsize return Nx3 numpy array.
visualizer/pc_utils.py:56
Method__contains__
(self, name)
visualizer/plyfile.py:325
Method__getitem__
(self, item)
data.py:88
Method__getitem__
(self, item)
data.py:106
Method__getitem__
(self, name)
visualizer/plyfile.py:328
Method__getitem__
(self, key)
visualizer/plyfile.py:671
Method__getitem__
(self, index)
data_utils/S3DISDataLoader.py:121
Method__getitem__
(self, index)
data_utils/ModelNetDataLoader.py:135
Method__getitem__
(self, index)
data_utils/ShapeNetDataLoader.py:89
Method__init__
(self, path)
util.py:37
Method__init__
(self, num_points, partition='train')
data.py:83
Method__init__
(self, num_points, partition='training')
data.py:101
Method__init__
(self,num_class,normal_channel=True)
log/classification/pointnet2_cls_msg_github/pointnet2_cls_msg.py:7
Method__init__
(self, n)
log/classification/pointnet2_cls_msg_github/pointnet2_utils.py:188
Method__init__
(self, input_dim, output_dim, heads, head_dim, patch_size, attn_drop_value)
log/classification/pointnet2_cls_msg_github/pointnet2_utils.py:204
Method__init__
(self, npoint, radius, nsample, in_channel, mlp, group_all)
log/classification/pointnet2_cls_msg_github/pointnet2_utils.py:326
Method__init__
(self, avepooling, batchnorm, attn_drop_value, feed_drop_value, npoint, in_channel, out_channels, layers, num_
log/classification/pointnet2_cls_msg_github/pointnet2_utils.py:369
Method__init__
(self, npoint, radius_list, nsample_list, in_channel, mlp_list)
log/classification/pointnet2_cls_msg_github/pointnet2_utils.py:419
Method__init__
(self, in_channel, mlp)
log/classification/pointnet2_cls_msg_github/pointnet2_utils.py:491
next →1–100 of 219, ranked by callers