MCPcopy Create free account

hub / github.com/Gorilla-Lab-SCUT/AffordanceNet / functions

Functions109 in github.com/Gorilla-Lab-SCUT/AffordanceNet

↓ 17 callersMethodcprint
(self, text)
utils/utils.py:11
↓ 7 callersFunctionindex_points
Input: points: input points data, [B, N, C] idx: sample index data, [B, S] Return: new_points:, indexed points data,
models/pointnet_util.py:47
↓ 4 callersFunction_l2_normalize
(d)
loss.py:98
↓ 4 callersFunctionget_graph_feature
(x, k=20, idx=None, dim9=False)
models/dgcnn.py:22
↓ 3 callersFunctionball_query
models/pointnet2_ops/pointnet2/_ext-src/src/ball_query.cpp:8
↓ 2 callersMethodMSELoss
(self, input1, input2)
loss.py:112
↓ 2 callersMethod__init__
(self, warmup_epoch=0)
loss.py:105
↓ 2 callersMethod__init__
(self, path)
utils/utils.py:8
↓ 2 callersMethod__init__
(self, npoint, radius, nsample, in_channel, mlp, group_all)
models/pointnet_util.py:183
↓ 2 callersMethodbackward
(ctx, a=None, b=None)
models/pointnet2_ops/pointnet2/pointnet2_utils.py:113
↓ 2 callersFunctionbuild_dataset
(cfg, test=False)
utils/builder.py:47
↓ 2 callersFunctionbuild_loader
(cfg, dataset_dict)
utils/builder.py:78
↓ 2 callersFunctionbuild_loss
(cfg)
utils/builder.py:106
↓ 2 callersFunctionbuild_model
(cfg)
utils/builder.py:31
↓ 2 callersFunctionbuild_optimizer
(cfg, model)
utils/builder.py:115
↓ 2 callersFunctionevaluation
(logger, cfg, model, test_loader, affordance)
utils/eval.py:9
↓ 2 callersFunctionknn
(x, k)
models/dgcnn.py:12
↓ 2 callersFunctionopt_n_threads
models/pointnet2_ops/pointnet2/_ext-src/include/cuda_utils.h:15
↓ 2 callersFunctionpc_normalize
(pc)
dataset/AffordanceNet.py:12
↓ 2 callersMethodrun
(self)
utils/trainer.py:113
↓ 2 callersFunctionset_random_seed
(seed)
utils/utils.py:53
↓ 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/pointnet_util.py:23
↓ 1 callersMethodMSELoss
(self, input1, input2)
loss.py:46
↓ 1 callersMethod__init__
(self, data_dir, split, partial=False, rotate='None', semi=False)
dataset/AffordanceNet.py:29
↓ 1 callersMethod__init__
(self, args)
models/dgcnn.py:54
↓ 1 callersMethod__init__
(self, use_xyz: bool = True)
models/pointnet2_ops/pointnet2/pointnet2_utils.py:325
↓ 1 callersFunction_disable_tracking_bn_stats
(model)
loss.py:87
↓ 1 callersMethodload_data
(self)
dataset/AffordanceNet.py:44
↓ 1 callersMethodload_data
(self)
dataset/AffordanceNet.py:135
↓ 1 callersFunctionparse_args
()
train.py:14
↓ 1 callersFunctionparse_args
()
test.py:14
↓ 1 callersFunctionrandom_rotation_matrix
()
utils/provider.py:73
↓ 1 callersFunctionrotate_point_cloud_SO3
Randomly rotate the point clouds to augument the dataset rotation is per shape based along three axis Input: BxNx3 array, origina
utils/provider.py:84
↓ 1 callersFunctionrotate_point_cloud_y
Randomly rotate the point clouds to augument the dataset rotation is per shape based along up direction Input: BxNx3 array,
utils/provider.py:102
↓ 1 callersFunctionsample_and_group
Input: npoint: radius: nsample: xyz: input points position data, [B, N, 3] points: input points data, [B,
models/pointnet_util.py:125
↓ 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/pointnet_util.py:162
FunctionPYBIND11_MODULE
models/pointnet2_ops/pointnet2/_ext-src/src/bindings.cpp:6
Method__call__
(self, epoch)
utils/utils.py:29
Method__call__
(self, m, epoch)
utils/utils.py:44
Method__getitem__
(self, index)
dataset/AffordanceNet.py:91
Method__getitem__
(self, index)
dataset/AffordanceNet.py:147
Method__init__
(self)
loss.py:12
Method__init__
(self)
loss.py:43
Method__init__
(self, init_lr, step, decay_rate, min_lr)
utils/utils.py:21
Method__init__
(self, origin_m, m_decay, step)
utils/utils.py:37
Method__init__
(self, cfg, running)
utils/trainer.py:15
Method__init__
(self, data_dir)
dataset/AffordanceNet.py:128
Method__init__
(self, npoint, radius_list, nsample_list, in_channel, mlp_list)
models/pointnet_util.py:228
Method__init__
(self, in_channel, mlp)
models/pointnet_util.py:289
Method__init__
(self, args, num_classes, normal_channel=False)
models/pn2.py:11
Method__init__
(self, args, num_classes)
models/dgcnn.py:111
Method__init__
(self, radius: float, nsample: int, use_xyz: bool = True)
models/pointnet2_ops/pointnet2/pointnet2_utils.py:273
Method__len__
(self)
dataset/AffordanceNet.py:123
Method__len__
(self)
dataset/AffordanceNet.py:159
Methodbackward
(xyz, a=None)
models/pointnet2_ops/pointnet2/pointnet2_utils.py:42
Methodbackward
(ctx, grad_out)
models/pointnet2_ops/pointnet2/pointnet2_utils.py:76
Methodbackward
r""" Parameters ---------- grad_out : torch.Tensor (B, c, n) tensor with gradients of ouputs Returns
models/pointnet2_ops/pointnet2/pointnet2_utils.py:149
Methodbackward
r""" Parameters ---------- grad_out : torch.Tensor (B, C, npoint, nsample) tensor of the gradients of the output
models/pointnet2_ops/pointnet2/pointnet2_utils.py:203
Methodbackward
(ctx, a=None)
models/pointnet2_ops/pointnet2/pointnet2_utils.py:254
Methodclose
(self)
utils/utils.py:16
Functionfarthest_point_sample
Input: xyz: pointcloud data, [B, N, 3] npoint: number of samples Return: centroids: sampled pointcloud index, [B, npo
models/pointnet_util.py:77
Methodforward
(self, pred, target)
loss.py:17
Methodforward
(self, labeled_pred, target, unlabeled_pred, validate=False)
loss.py:49
Methodforward
(self, model, labeled_data, unlabeled_data, labeled_pred, target, unlabeled_pred, epoch, validate=False)
loss.py:115
Methodforward
Input: xyz: input points position data, [B, C, N] points: input points data, [B, D, N] Return: ne
models/pointnet_util.py:197
Methodforward
Input: xyz: input points position data, [B, C, N] points: input points data, [B, D, N] Return: ne
models/pointnet_util.py:246
Methodforward
Input: xyz1: input points position data, [B, C, N] xyz2: sampled input points position data, [B, C, S] po
models/pointnet_util.py:299
Methodforward
(self, xyz)
models/pn2.py:40
Methodforward
(self, x)
models/dgcnn.py:82
Methodforward
(self, x)
models/dgcnn.py:164
Methodforward
r""" Uses iterative furthest point sampling to select a set of npoint features that have the largest minimum distance Paramet
models/pointnet2_ops/pointnet2/pointnet2_utils.py:22
Methodforward
r""" Parameters ---------- features : torch.Tensor (B, C, N) tensor idx : torch.Tensor (B, n
models/pointnet2_ops/pointnet2/pointnet2_utils.py:52
Methodforward
r""" Find the three nearest neighbors of unknown in known Parameters ---------- unknown : torch.Tensor
models/pointnet2_ops/pointnet2/pointnet2_utils.py:90
Methodforward
r""" Performs weight linear interpolation on 3 features Parameters ---------- features : torch.Tensor
models/pointnet2_ops/pointnet2/pointnet2_utils.py:123
Methodforward
r""" Parameters ---------- features : torch.Tensor (B, C, N) tensor of features to group idx : torch.Tens
models/pointnet2_ops/pointnet2/pointnet2_utils.py:180
Methodforward
r""" Parameters ---------- radius : float radius of the balls nsample : int maximum number of
models/pointnet2_ops/pointnet2/pointnet2_utils.py:231
Methodforward
r""" Parameters ---------- xyz : torch.Tensor xyz coordinates of the features (B, N, 3) new_xyz : torch.Te
models/pointnet2_ops/pointnet2/pointnet2_utils.py:277
Methodforward
r""" Parameters ---------- xyz : torch.Tensor xyz coordinates of the features (B, N, 3) new_xyz : torch.Te
models/pointnet2_ops/pointnet2/pointnet2_utils.py:329
Functionfurthest_point_sampling
models/pointnet2_ops/pointnet2/_ext-src/src/sampling.cpp:65
Functiongather_points
models/pointnet2_ops/pointnet2/_ext-src/src/sampling.cpp:15
Functiongather_points_grad
models/pointnet2_ops/pointnet2/_ext-src/src/sampling.cpp:40
Functiongroup_points
models/pointnet2_ops/pointnet2/_ext-src/src/group_points.cpp:12
Functiongroup_points_grad
models/pointnet2_ops/pointnet2/_ext-src/src/group_points.cpp:38
Functionjitter_point_cloud
Randomly jitter points. jittering is per point. Input: BxNx3 array, original batch of point clouds Return: BxNx3
utils/provider.py:243
Functionnormalize_data
Normalize the batch data, use coordinates of the block centered at origin, Input: BxNxC array Output: BxNxC a
utils/provider.py:6
Functionopt_block_config
models/pointnet2_ops/pointnet2/_ext-src/include/cuda_utils.h:21
Functionpc_normalize
(pc)
models/pointnet_util.py:14
Functionquery_ball_point
Input: radius: local region radius nsample: max sample number in local region xyz: all points, [B, N, 3] new_xyz:
models/pointnet_util.py:101
Functionrandom_point_dropout
batch_pc: BxNx3
utils/provider.py:285
Functionrandom_scale_point_cloud
Randomly scale the point cloud. Scale is per point cloud. Input: BxNx3 array, original batch of point clouds Return:
utils/provider.py:271
Functionrotate_perturbation_point_cloud
Randomly perturb the point clouds by small rotations Input: BxNx3 array, original batch of point clouds Return: B
utils/provider.py:217
Functionrotate_perturbation_point_cloud_with_normal
Randomly perturb the point clouds by small rotations Input: BxNx6 array, original batch of point clouds and point normals R
utils/provider.py:143
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:51
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:171
Functionrotate_point_cloud_by_angle_with_normal
Rotate the point cloud along up direction with certain angle. Input: BxNx6 array, original batch of point clouds with normal
utils/provider.py:192
Functionrotate_point_cloud_with_normal
Randomly rotate XYZ, normal point cloud. Input: batch_xyz_normal: B,N,6, first three channels are XYZ, last 3 all normal
utils/provider.py:120
Functionsemi_points_transform
(points)
dataset/AffordanceNet.py:20
Functionshift_point_cloud
Randomly shift point cloud. Shift is per point cloud. Input: BxNx3 array, original batch of point clouds Return:
utils/provider.py:257
Functionshuffle_data
Shuffle data and labels. Input: data: B,N,... numpy array label: B,... numpy array Return: shuffled dat
utils/provider.py:25
Functionshuffle_points
Shuffle orders of points in each point cloud -- changes FPS behavior. Use the same shuffling idx for the entire batch. Input:
utils/provider.py:38
next →1–100 of 109, ranked by callers