MCPcopy Create free account

hub / github.com/CGuangyan-BIT/PointGPT / functions

Functions329 in github.com/CGuangyan-BIT/PointGPT

Function_named_modules_with_dup
The same as `model.named_modules()`, except that it includes duplicated modules that have more than one name.
segmentation/logger.py:246
Method_register
(cls)
utils/registry.py:238
Function_strip_prefix_if_present
Strip the prefix in metadata, if any. Args: state_dict (OrderedDict): a state-dict to be loaded to the model. prefix (str): p
utils/checkpoint.py:50
Function_strip_prefix_if_present
Strip the prefix in metadata, if any. Args: state_dict (OrderedDict): a state-dict to be loaded to the model. prefix (str): p
segmentation/logger.py:175
Methodbackward
(ctx, grad_dist1, grad_dist2)
extensions/chamfer_dist/__init__.py:22
Methodbackward
(ctx, grad_dist1, grad_dist2)
segmentation/extensions/chamfer_dist/__init__.py:22
Methodbetter_than
(self, other)
tools/runner_pretrain.py:38
Functionbuild_from_cfg
Build a module from config dict. Args: cfg (edict): Config dict. It should at least contain the key "NAME". registry (:obj:`Regist
utils/registry.py:246
Functionbuild_lambda_bnsche
(model, config)
segmentation/misc.py:36
Functionbuild_lambda_sche
(opti, config)
segmentation/misc.py:27
Functionbuild_opti_sche
(base_model, config)
tools/builder.py:44
Functionchamfer_backward
extensions/chamfer_dist/chamfer_cuda.cpp:27
Functionchamfer_backward
segmentation/extensions/chamfer_dist/chamfer_cuda.cpp:27
Functionchamfer_forward
extensions/chamfer_dist/chamfer_cuda.cpp:22
Functionchamfer_forward
segmentation/extensions/chamfer_dist/chamfer_cuda.cpp:22
Methodchildren
(self)
utils/registry.py:120
Methodcount
(self, idx=None)
utils/AverageMeter.py:30
Functiondataset_builder
(args, config)
tools/builder.py:16
Functionfn
(m)
utils/misc.py:92
Functionfn
(m)
segmentation/misc.py:95
Methodforward
(ctx, xyz1, xyz2)
extensions/emd/emd.py:7
Methodforward
Earth Mover Distance (Approx) Args: xyz1 (torch.Tensor): (b, n1, 3) xyz2 (torch.Tensor): (b, n2, 3) trans
extensions/emd/emd.py:32
Methodforward
(ctx, xyz1, xyz2)
extensions/chamfer_dist/__init__.py:15
Methodforward
(self, xyz1, xyz2)
extensions/chamfer_dist/__init__.py:35
Methodforward
(self, xyz1, xyz2)
extensions/chamfer_dist/__init__.py:53
Methodforward
(self, xyz1, xyz2)
extensions/chamfer_dist/__init__.py:71
Methodforward
(self, x, attn_mask)
models/GPT.py:20
Methodforward
Expect input as shape [sequence len, batch] If classify, return classification logits
models/GPT.py:70
Methodforward
Expect input as shape [sequence len, batch] If classify, return classification logits
models/GPT.py:127
Methodforward
point_groups : B G N 3 ----------------- feature_global : B G C
models/PointGPT.py:38
Methodforward
point_groups : B G N 3 ----------------- feature_global : B G C
models/PointGPT.py:72
Methodforward
input: B N 3 --------------------------- output: B G M 3 center : B G 3
models/PointGPT.py:148
Methodforward
(self, x)
models/PointGPT.py:198
Methodforward
(self, x)
models/PointGPT.py:218
Methodforward
(self, x)
models/PointGPT.py:251
Methodforward
Args: xyz: Point positions (*, d_in) Returns: pos_emb (*, d_out)
models/PointGPT.py:280
Methodforward
(self, neighborhood, center, noaug=False, classify=False)
models/PointGPT.py:373
Methodforward
(self, pts, vis=False, **kwargs)
models/PointGPT.py:475
Methodforward
(self, pts)
models/PointGPT.py:631
Methodforward
Input: xyz: input points position data, [B, N, C] points: input points data, [B, N, C] Return: ne
segmentation/pointnet_util.py:175
Methodforward
Input: xyz: input points position data, [B, C, N] points: input points data, [B, D, N] Return: ne
segmentation/pointnet_util.py:219
Methodforward
Input: xyz1: input points position data, [B, C, N] xyz2: sampled input points position data, [B, C, S] po
segmentation/pointnet_util.py:272
Methodforward
(ctx, xyz1, xyz2)
segmentation/extensions/emd/emd.py:7
Methodforward
Earth Mover Distance (Approx) Args: xyz1 (torch.Tensor): (b, n1, 3) xyz2 (torch.Tensor): (b, n2, 3) trans
segmentation/extensions/emd/emd.py:32
Methodforward
(ctx, xyz1, xyz2)
segmentation/extensions/chamfer_dist/__init__.py:15
Methodforward
(self, xyz1, xyz2)
segmentation/extensions/chamfer_dist/__init__.py:35
Methodforward
(self, xyz1, xyz2)
segmentation/extensions/chamfer_dist/__init__.py:53
Methodforward
(self, xyz1, xyz2)
segmentation/extensions/chamfer_dist/__init__.py:71
Methodforward
(self, x)
segmentation/models/gpt2_seg.py:21
Methodforward
Expect input as shape [sequence len, batch] If classify, return classification logits
segmentation/models/gpt2_seg.py:62
Methodforward
Expect input as shape [sequence len, batch] If classify, return classification logits
segmentation/models/gpt2_seg.py:123
Methodforward
input: B N 3 --------------------------- output: B G M 3 center : B G 3
segmentation/models/pt.py:83
Methodforward
point_groups : B G N 3 ----------------- feature_global : B G C
segmentation/models/pt.py:138
Methodforward
point_groups : B G N 3 ----------------- feature_global : B G C
segmentation/models/pt.py:174
Methodforward
(self, x)
segmentation/models/pt.py:201
Methodforward
(self, x)
segmentation/models/pt.py:223
Methodforward
(self, x)
segmentation/models/pt.py:255
Methodforward
(self, x, pos)
segmentation/models/pt.py:278
Methodforward
Args: xyz: Point positions (*, d_in) Returns: pos_emb (*, d_out)
segmentation/models/pt.py:311
Methodforward
(self, pts, cls_label)
segmentation/models/pt.py:454
Methodforward
(self, pred, target)
segmentation/models/pt.py:526
Methodforward
Input: xyz: input points position data, [B, C, N] points: input points data, [B, D, N] Return: ne
segmentation/models/pointnet2_utils.py:173
Methodforward
Input: xyz: input points position data, [B, C, N] points: input points data, [B, D, N] Return: ne
segmentation/models/pointnet2_utils.py:221
Methodforward
Input: xyz1: input points position data, [B, C, N] xyz2: sampled input points position data, [B, C, S] po
segmentation/models/pointnet2_utils.py:273
Functiongather_tensor
(tensor, args)
utils/dist_utils.py:50
Functionget_args
()
utils/parser.py:5
Functionget_dist_info
()
utils/dist_utils.py:27
Methodget_loss_acc
(self, ret, gt)
segmentation/models/pt.py:416
Methodget_momentum
(self, epoch=None)
utils/misc.py:124
Methodget_momentum
(self, epoch=None)
segmentation/misc.py:129
Functionget_ptcloud_img
(ptcloud,roll,pitch)
utils/misc.py:186
Functionget_ptcloud_img
(ptcloud)
segmentation/misc.py:191
Functionget_root_logger
Get root logger and add a keyword filter to it. The logger will be initialized if it has not been initialized. By default a StreamHandler will
segmentation/logger.py:18
Functioninit_dist
(launcher, backend='nccl', **kwargs)
utils/dist_utils.py:9
Functioninplace_relu
(m)
segmentation/main.py:35
Functionis_seq_of
Check whether it is a sequence of some type. Args: seq (Sequence): The sequence to be checked. expected_type (type): Expected type
utils/misc.py:69
Functionis_seq_of
Check whether it is a sequence of some type. Args: seq (Sequence): The sequence to be checked. expected_type (type): Expected type
segmentation/misc.py:72
Functionjitter_point_cloud
Randomly jitter points. jittering is per point. Input: BxNx3 array, original batch of point clouds Return: BxNx3
segmentation/provider.py:201
Functionload_model
(base_model, ckpt_path, logger=None)
tools/builder.py:160
Functionmodel_builder
(config)
tools/builder.py:39
Methodmodule_dict
(self)
utils/registry.py:116
Methodmorton_sorting
(self, xyz, center)
models/PointGPT.py:130
Methodmorton_sorting
(self, xyz, center)
segmentation/models/pt.py:65
Methodname
(self)
utils/registry.py:108
Functionnormalize_data
Normalize the batch data, use coordinates of the block centered at origin, Input: BxNxC array Output: BxNxC a
segmentation/provider.py:3
Functionpc_normalize
(pc)
segmentation/models/pointnet2_utils.py:11
Functionprint_log
Print a log message. Args: msg (str): The message to be logged. logger (logging.Logger | str | None): The logger to be used.
segmentation/logger.py:115
Functionrandom_dropping
(pc, e)
utils/misc.py:236
Functionrandom_dropping
(pc, e)
segmentation/misc.py:241
Functionrandom_point_dropout
batch_pc: BxNx3
segmentation/provider.py:241
Functionrandom_scale
(partial, scale_range=[0.8, 1.2])
utils/misc.py:246
Functionrandom_scale
(partial, scale_range=[0.8, 1.2])
segmentation/misc.py:251
Functionrandom_scale_point_cloud
Randomly scale the point cloud. Scale is per point cloud. Input: BxNx3 array, original batch of point clouds Return:
segmentation/provider.py:228
Functionreduce_tensor
for acc kind, get the mean in each gpu
utils/dist_utils.py:41
Methodregister_module
Register a module. A record will be added to `self._module_dict`, whose key is the class name or the specified name, and value is the
utils/registry.py:193
Functionresume_model
(base_model, args, logger=None)
tools/builder.py:103
Functionresume_optimizer
(optimizer, args, logger=None)
tools/builder.py:133
Functionrotate_perturbation_point_cloud
Randomly perturb the point clouds by small rotations Input: BxNx3 array, original batch of point clouds Return: B
segmentation/provider.py:176
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
segmentation/provider.py:106
Functionrotate_point_cloud
Randomly rotate the point clouds to augument the dataset rotation is per shape based along up direction Input: BxNx3 array,
segmentation/provider.py:46
← previousnext →201–300 of 329, ranked by callers