MCPcopy Create free account

hub / github.com/HKUST-Aerial-Robotics/SG-Reg / functions

Functions402 in github.com/HKUST-Aerial-Robotics/SG-Reg

Method__getitem__
(self, index)
sgreg/dataset/scene_pair_dataset.py:306
Method__init__
(self, conf)
sgreg/sg_reg.py:30
Method__init__
(self, dim: int, threshold: float, topk: int, multiply_matchability: bool)
sgreg/match/match.py:130
Method__init__
r"""Sinkhorn Optimal transport with dustbin parameter (SuperGlue style).
sgreg/match/learnable_sinkhorn.py:11
Method__init__
(self, channels, reduction=16)
sgreg/backbone/senet.py:7
Method__init__
(self, input_dim, output_dim, kernel_size,
sgreg/backbone/shape_encoder.py:9
Method__init__
(self, input_dim, output_dim, init_dim, kernel_size, init_radius, init_sigma, group_norm)
sgreg/backbone/backbone.py:43
Method__init__
(self)
sgreg/utils/utils.py:9
Method__init__
(self)
sgreg/utils/utils.py:38
Method__init__
(self, max_epoch, eta_min=0.0)
sgreg/utils/torch.py:268
Method__init__
(self, total_steps, warmup_steps, eta_init=0.1, eta_min=0.1)
sgreg/utils/torch.py:278
Method__init__
(self)
sgreg/utils/tictoc.py:4
Method__init__
r"""Point Matching with Local-to-Global Registration. Args: k (int): top-k selection for point matching. acceptance_r
sgreg/registration/local_global_registration.py:12
Method__init__
(self, weight_thresh=0.0, eps=1e-5, return_transform=False)
sgreg/registration/procrustes.py:77
Method__init__
( self, src_pcd: o3d.geometry.PointCloud, tgt_pcd: o3d.geometry.PointCloud, re
sgreg/registration/hybrid_reg.py:10
Method__init__
(self, dataroot:str, split:str, conf)
sgreg/dataset/scene_pair_dataset.py:78
Method__init__
(self,idx:int, cloud:o3d.geometry.PointCloud|np.ndarray, label:str,
sgreg/dataset/scene_graph.py:12
Method__init__
(self, text_encoder)
sgreg/bert/bertwarper.py:167
Method__init__
(self, input_dim, edge_dim, out_dim)
sgreg/gnn/gnn.py:31
Method__init__
(self, in_channels, out_channels, heads=4, dropout=0.2)
sgreg/gnn/gnn.py:76
Method__init__
(self, conf)
sgreg/gnn/gnn.py:118
Method__init__
(self, d_model)
sgreg/gnn/triplet_gnn.py:206
Method__init__
(self, d_model)
sgreg/gnn/triplet_gnn.py:238
Method__init__
(self, M: int, dim: int, F_dim: int = None, gamma: float = 1.0)
sgreg/gnn/spatial_attention.py:25
Method__init__
( self, embed_dim: int, num_heads: int, flash: bool = False, bias: bool = True )
sgreg/gnn/spatial_attention.py:89
Method__init__
( self, embed_dim: int, num_heads: int, flash: bool = False, bias: bool = True )
sgreg/gnn/spatial_attention.py:152
Method__init__
(self, embed_dim, heads, position_encoding, all_self_edges)
sgreg/gnn/spatial_attention.py:211
Method__init__
(self, sg_conf, shape_emb_dim, online_bert)
sgreg/gnn/nodes_init_layer.py:10
Method__init__
Initialize parameters for KPConv. Modified from [KPConv-PyTorch](https://github.com/HuguesTHOMAS/KPConv-PyTorch). Deformable KPConv
sgreg/kpconv/kpconv.py:11
Method__init__
(self, k, eps=1e-8)
sgreg/kpconv/modules.py:9
Method__init__
r"""Initialize a standard unary block with GroupNorm and LeakyReLU. Args: in_channels: dimension input features out_c
sgreg/kpconv/modules.py:54
Method__init__
r"""Initialize a standard last_unary block without GN, ReLU. Args: in_channels: dimension input features out_channels
sgreg/kpconv/modules.py:87
Method__init__
r"""Initialize a KPConv block with ReLU and BatchNorm. Args: in_channels: dimension input features out_channels: dime
sgreg/kpconv/modules.py:105
Method__init__
r"""Initialize a ResNet bottleneck block. Args: in_channels: dimension input features out_channels: dimension input f
sgreg/kpconv/modules.py:150
Method__init__
(self, cfg)
sgreg/loss/loss.py:312
Method__init__
(self, cfg)
sgreg/loss/eval.py:9
Method__len__
(self)
sgreg/dataset/scene_pair_dataset.py:99
Method__repr__
(self)
sgreg/match/learnable_sinkhorn.py:73
Method__repr__
(self)
sgreg/kpconv/kpconv.py:124
Methodaccum_dist
sgreg/extensions/extra/nanoflann/nanoflann.hpp:411
Methodaccum_dist
sgreg/extensions/extra/nanoflann/nanoflann.hpp:443
Methodaccum_dist
sgreg/extensions/extra/nanoflann/nanoflann.hpp:471
Methodaccum_dist
sgreg/extensions/extra/nanoflann/nanoflann.hpp:504
MethodaddPoint
* Called during search to add an element matching the criteria. * @return true if the search should be continued, false if the results are * suf
sgreg/extensions/extra/nanoflann/nanoflann.hpp:249
MethodaddPoints
Add points to the set, Inserts all points from [start, end] */
sgreg/extensions/extra/nanoflann/nanoflann.hpp:1886
Functionall_reduce_tensors
r"""Average reduce all tensors across all workers.
sgreg/utils/torch.py:24
Methodallocate
sgreg/extensions/extra/nanoflann/nanoflann.hpp:578
Methodallocate
sgreg/extensions/extra/nanoflann/nanoflann.hpp:702
Functionapply_rotation
r"""Rotate points and normals (optional) along the origin. Given a point cloud P(3, N), normals V(3, N) and a rotation matrix R, the output point
sgreg/ops/transformation.py:63
Functionassociate_points_f_instances
(points_f:np.ndarray,xyz:np.ndarray,instances:np.ndarray,radius=0.2)
sgreg/dataset/scene_pair_dataset.py:13
MethodbuildIndex
* Builds the index */
sgreg/extensions/extra/nanoflann/nanoflann.hpp:1555
Functionbuild_centroids_from_points
(points:np.ndarray,radius=0.1)
sgreg/utils/viz_tools.py:43
Functionbuild_correspondences_lines
(corres_s, corres_t, corres_pos=None)
sgreg/utils/viz_tools.py:12
Functionbuild_instance_centroids
(graph:dict,pos_indices=np.array([]),neg_indices=np.array([]),radius=0.1)
sgreg/utils/viz_tools.py:28
Functionbuild_o3d_points
(points:np.ndarray,colors:np.ndarray=None)
sgreg/utils/viz_tools.py:5
Functionbuild_warmup_cosine_lr_scheduler
(optimizer, total_steps, warmup_steps, eta_init=0.1, eta_min=0.1, grad_acc_steps=1)
sgreg/utils/torch.py:297
Methodcalculate_loss
Inputs: - matching_scores: Tensor of shape (B, N+1, M+1) giving the matching scores - gt_masks: Tensor of shape (B, N, M) giv
sgreg/loss/loss.py:247
Functioncalculate_shape_similarity
(src_shape_feats, ref_shape_feats, data_dict)
sgreg/sg_reg.py:688
Functioncalculate_similarity_scores
(data_dict:dict, src_feats:torch.Tensor, ref_feats:torch.Tensor)
sgreg/match/match.py:7
MethodcomputeBoundingBox
sgreg/extensions/extra/nanoflann/nanoflann.hpp:1318
MethodcomputeBoundingBox
sgreg/extensions/extra/nanoflann/nanoflann.hpp:1669
MethodcomputeMinMax
sgreg/extensions/extra/nanoflann/nanoflann.hpp:836
Functioncompute_instance_residuals
()
sgreg/registration/test_registration.py:26
Functionconvert_from_batch_pred
(data_dict, pred_nodes, pred_scores=None)
sgreg/train.py:48
Functioncreate_mask_from_edges
(edge_index, min_nodes, max_nodes)
sgreg/utils/utils.py:86
Methoddot
sgreg/extensions/extra/cloud/cloud.h:42
Methodencode_nodes
Encode node [semantic, bbox, shape] features.
sgreg/sg_reg.py:209
MethodevalMetric
sgreg/extensions/extra/nanoflann/nanoflann.hpp:383
MethodevalMetric
sgreg/extensions/extra/nanoflann/nanoflann.hpp:432
MethodevalMetric
sgreg/extensions/extra/nanoflann/nanoflann.hpp:463
MethodevalMetric
sgreg/extensions/extra/nanoflann/nanoflann.hpp:498
Functioneval_instance_match
background (floors, carpets) are considered. pred: (a,2), gt: (b,2) return: true_pos, false_pos
sgreg/loss/eval.py:77
Methodevaluate_coarse
(self, output_dict)
sgreg/loss/eval.py:16
Functionextract_instance_f_feats
replace the f_feats in instances_knn_dict with the fused f_feats fused_feats_dict: - features: (P, C), fine-level features -
sgreg/ops/instance_partition.py:187
Functionfilter_invalid_match
Input, - matches: tensor of shape (num_matches,2), [src_id,tar_id] - src_labels: list of string - ref_labels: list of str
sgreg/dataset/scene_pair_dataset.py:59
MethodfindNeighbors
sgreg/extensions/extra/nanoflann/nanoflann.hpp:1929
Methodfind_assignment
convert log assignment matrix to assignment matrix
sgreg/match/match.py:169
Functionfix_network_modules
(model, fixed_modules=[])
sgreg/utils/torch.py:260
Functionfloat_list
(string)
sgreg/visualize.py:163
Methodforward
Encode all nodes in both graphs.
sgreg/sg_reg.py:232
Methodforward
build assignment matrix from descriptors
sgreg/match/match.py:140
Methodforward
(self, desc0: torch.Tensor, desc1: torch.Tensor)
sgreg/match/match.py:235
Methodforward
r"""Sinkhorn Optimal Transport (SuperGlue style) forward. Args: scores: torch.Tensor (B, M, N) row_masks: torch.Tenso
sgreg/match/learnable_sinkhorn.py:25
Methodforward
Input, - x: (N,C)
sgreg/backbone/senet.py:17
Methodforward
Input: f_points: (P, 3), f_feats: (P, C), f_instances: (P, 1), instances_centroids: (N, 3)
sgreg/backbone/shape_encoder.py:33
Methodforward
Read a scene pair. Encode all the fine points and features.
sgreg/backbone/backbone.py:82
Methodforward
Read a scene pair. Encode all the fine points and features.
sgreg/backbone/backbone.py:131
Methodforward
r"""Point Matching Module forward propagation with Local-to-Global registration. There are B pairs of matched nodes. Args:
sgreg/registration/local_global_registration.py:235
Methodforward
(self, src_points, tgt_points, weights=None)
sgreg/registration/procrustes.py:83
Methodforward
r""" encoder_hidden_states (:obj:`torch.FloatTensor` of shape :obj:`(batch_size, sequence_length, hidden_size)`, `optional`): Seq
sgreg/bert/bertwarper.py:28
Methodforward
(self, **kw)
sgreg/bert/bertwarper.py:172
Methodforward
(self, x, pos, edges)
sgreg/gnn/gnn.py:36
Methodforward
Input, - feats: (N,D) - edges: (E,2)
sgreg/gnn/gnn.py:48
Methodforward
Input, - src_batch: (B+1) - tar_batch: (B+1)
sgreg/gnn/gnn.py:81
Methodforward
(self, x_src, x_ref, batch_graph_dict)
sgreg/gnn/gnn.py:166
Methodforward
r"""Sinusoidal Positional Embedding. Args: emb_indices: torch.Tensor (*), (N',K) or (N',K,2) Returns: embedd
sgreg/gnn/triplet_gnn.py:215
Methodforward
r"""Sinusoidal Positional Embedding. Args: emb_indices: torch.Tensor (*), (N',K,2) Returns: embeddings: torc
sgreg/gnn/triplet_gnn.py:247
Methodforward
Input: - x: (N, in_channels) - pos: (N, 3) - anchor_indices: (N') - corner_indices: (N',K,2)
sgreg/gnn/triplet_gnn.py:306
Methodforward
encode position vector x: (b,n,3) return (2,b,n,d/2)
sgreg/gnn/spatial_attention.py:32
Methodforward
q: (B,K,D)
sgreg/gnn/spatial_attention.py:60
← previousnext →201–300 of 402, ranked by callers