MCPcopy Create free account

hub / github.com/Atrovast/THGS / types & classes

Types & classes117 in github.com/Atrovast/THGS

↓ 15 callersClassData
Inherit from torch_geometric.Data with extensions tailored to our specific needs.
ext/spt/data/data.py:27
↓ 8 callersClassNAG
Holder for a Nested Acyclic Graph, containing a list of nested partitions of the same point cloud.
ext/spt/data/nag.py:17
↓ 7 callersClassCluster
Child class of CSRData to simplify some common operations dedicated to cluster-point indexing.
ext/spt/data/cluster.py:15
↓ 6 callersClassInstanceData
Child class of CSRData to simplify some common operations dedicated to instance labels clustering. In particular, this data structure stores t
ext/spt/data/instance.py:15
↓ 6 callersClassPipelineParams
arguments/__init__.py:68
↓ 5 callersClassCodeTimer
utils/linetimer.py:27
↓ 5 callersClassGaussianModel
scene/gaussian_model.py:24
↓ 4 callersClassMiniCam
gui/gs_renderer.py:142
↓ 4 callersClassModelParams
arguments/__init__.py:47
↓ 4 callersClassSaveNodeIndex
Adds the index of the nodes to the Data object attributes. This allows tracking nodes from the output back to the input Data object.
ext/spt/transforms/sampling.py:29
↓ 4 callersClassScene
scene/__init__.py:22
↓ 3 callersClassBasicPointCloud
gui/gs_renderer.py:120
↓ 3 callersClassCamera
scene/cameras.py:17
↓ 3 callersClassPanopticSegmentationOutput
A simple holder for panoptic segmentation model output, with a few helper methods for manipulating the predictions and targets (if any).
ext/spt/utils/output_panoptic.py:14
↓ 2 callersClassCameraInfo
scene/dataset_readers.py:27
↓ 2 callersClassGridSampling3D
Clusters 3D points into voxels with size :attr:`size`. By default, some special keys undergo dedicated grouping mechanisms. The `_VOTING_KEY
ext/spt/transforms/sampling.py:59
↓ 2 callersClassImage
scene/colmap_loader.py:68
↓ 2 callersClassNAGRemoveKeys
Remove attributes of a NAG object based on their name. :param level: int or str Level at which to remove attributes. Can be an int or a s
ext/spt/transforms/data.py:130
↓ 2 callersClassOptimizationParams
arguments/__init__.py:76
↓ 2 callersClassOrbitCamera
gui/cam_utils.py:146
↓ 2 callersClassRenderer
gui/gs_renderer.py:171
↓ 2 callersClassSceneInfo
scene/dataset_readers.py:41
↓ 2 callersClassSemanticNAG
nag_data.py:12
↓ 1 callersClassAddKeysTo
Get attributes from their keys and concatenate them to x. :param keys: str or list(str) The feature concatenated to 'to' :param to: s
ext/spt/transforms/data.py:179
↓ 1 callersClassAlexNet
lpipsPyTorch/modules/networks.py:77
↓ 1 callersClassCast
Cast Data attributes to the provided integer and floating point dtypes. In case 'rgb' or 'mean_rgb' is found, `rgb_to_float` will decide wheth
ext/spt/transforms/data.py:36
↓ 1 callersClassClipSimMeasure
utils/vlm_utils.py:5
↓ 1 callersClassClipSimMeasure
gui/main.py:43
↓ 1 callersClassColorAutoContrast
Apply some random contrast to the point colors. credit: https://github.com/guochengqian/openpoints :param p: float Probability of th
ext/spt/transforms/point.py:423
↓ 1 callersClassColorDrop
Randomly set point colors to 0. :param p: float Probability of the transform to be applied :param x_idx: int If specified, th
ext/spt/transforms/point.py:513
↓ 1 callersClassColorNormalize
Normalize the colors using given means and standard deviations. credit: https://github.com/guochengqian/openpoints :param mean: list
ext/spt/transforms/point.py:578
↓ 1 callersClassF
utils/general_utils.py:114
↓ 1 callersClassFeatureNorm
scene/semantic_model.py:4
↓ 1 callersClassGUI
gui/main.py:79
↓ 1 callersClassGaussianExtractor
utils/mesh_utils.py:73
↓ 1 callersClassGroupParams
arguments/__init__.py:16
↓ 1 callersClassLPIPS
r"""Creates a criterion that measures Learned Perceptual Image Patch Similarity (LPIPS). Arguments: net_type (str): the network type
lpipsPyTorch/modules/lpips.py:8
↓ 1 callersClassLinLayers
lpipsPyTorch/modules/networks.py:23
↓ 1 callersClassMiniCam
scene/cameras.py:67
↓ 1 callersClassOnTheFlyInstanceGraph
Compute the non-oriented graph used for instance and panoptic segmentation. We choose the following assignment rule: - each superpoint
ext/spt/transforms/instance.py:43
↓ 1 callersClassOpenCLIPNetwork
scripts/image_encoding.py:37
↓ 1 callersClassRemoveKeys
Remove attributes of a Data object based on their name. :param keys: str of list(str) List of attribute names :param strict: bool
ext/spt/transforms/data.py:104
↓ 1 callersClassSAI3D
merge_proj.py:32
↓ 1 callersClassSelectColumns
Select columns of an attribute based on their indices. :param key: str The Data attribute whose columns should be selected :param idx
ext/spt/transforms/data.py:386
↓ 1 callersClassSemanticModel
scene/semantic_model.py:13
↓ 1 callersClassShuffle
Shuffle the order of points in a Data object.
ext/spt/transforms/sampling.py:21
↓ 1 callersClassSqueezeNet
lpipsPyTorch/modules/networks.py:66
↓ 1 callersClassVGG16
lpipsPyTorch/modules/networks.py:88
ClassAdjacencyGraph
Create the adjacency graph in `edge_index` and `edge_attr` based on the `Data.neighbor_index` and `Data.neighbor_distance`. NB: the produced
ext/spt/transforms/graph.py:24
ClassBaseNet
lpipsPyTorch/modules/networks.py:36
ClassBaseSampleSubgraphs
Base class for sampling subgraphs from a NAG. It randomly picks `k` seed nodes from `i_level`, from which `k` subgraphs can be grown. Child cl
ext/spt/transforms/sampling.py:608
ClassBasicPointCloud
utils/graphics_utils.py:17
ClassBatch
Inherit from torch_geometric.Batch with extensions tailored to our specific needs. NB: contrary to PyGBatch's dynamic inheritance behavior, w
ext/spt/data/data.py:857
ClassCSRBatch
Wrapper class of CSRData to build a batch from a list of CSRData data and reconstruct it afterward. When defining a subclass A of CSRDat
ext/spt/data/csr.py:551
ClassCSRData
Implements the CSRData format and associated mechanisms in Torch. When defining a subclass A of CSRData, it is recommended to create an assoc
ext/spt/data/csr.py:33
ClassCenterPosition
Center the position of all nodes of all levels of a NAG around their level-0 centroid.
ext/spt/transforms/geometry.py:12
ClassClusterBatch
Wrapper for Cluster batching.
ext/spt/data/cluster.py:211
ClassColorTransform
Parent class for color-based point Transforms, to avoid redundant code. :param x_idx: int If specified, the colors will be searched i
ext/spt/transforms/point.py:388
ClassConnectIsolated
Creates edges for isolated nodes. Each isolated node is connected to the `k` nearest nodes. If the Data graph contains edge features in `Data.
ext/spt/transforms/graph.py:1320
ClassCutPursuitPartition
Partition a graph contained in a `Data` object using cut-pursuit. The input `Data` object is assumed to hold the following attributes: - `p
ext/spt/transforms/partition.py:23
ClassDataTo
Move Data object to specified device.
ext/spt/transforms/device.py:9
ClassDataToNAG
Convert Data to a single-level NAG.
ext/spt/transforms/data.py:15
ClassDelaunayHorizontalGraph
Compute horizontal edges for all NAG levels except its first (i.e. the 0-level). These are the edges connecting the segments at each level, eq
ext/spt/transforms/graph.py:293
ClassDropoutColumns
Randomly set a Data attribute column to 0. :param p: float Probability of a column to be dropped :param key: str The Data att
ext/spt/transforms/data.py:457
ClassDropoutRows
Randomly set a Data attribute rows to 0. :param p: float Probability of a row to be dropped :param key: str The Data attribut
ext/spt/transforms/data.py:557
ClassGridPartition
XY-grid-based hierarchical partition of Data. The nodes are aggregated based on their coordinates in a grid of step `size`. :param size: int
ext/spt/transforms/partition.py:287
ClassGroundElevation
Compute pointwise elevation with respect to the ground. We do so in a two-step process where we first remove as many potentially non-ground p
ext/spt/transforms/point.py:224
ClassHelloWorld
ext/spt/transforms/debug.py:12
ClassInliers
Search for points with `k_min` OR MORE neighbors within a radius of `r_max`. Since removing outliers may cause some points to become outliers
ext/spt/transforms/neighbors.py:60
ClassInstanceBatch
Wrapper for InstanceData batching. Importantly, although instance labels in 'obj' will be updated to avoid collisions between the different ba
ext/spt/data/instance.py:809
ClassKNN
K-NN search for each point in Data. Neighbors and corresponding distances are stored in `Data.neighbor_index` and `Data.neighbor_distance`, r
ext/spt/transforms/neighbors.py:9
ClassLearnableParameter
A simple class to be used for learnable parameters (e.g. learnable position encodings, queries, keys, ...). Using this is useful to use custom
ext/spt/utils/parameter.py:7
ClassNAGAddKeysTo
Get attributes from their keys and concatenate them to x. :param level: int or str Level at which to remove attributes. Can be an int or
ext/spt/transforms/data.py:251
ClassNAGAddSelfLoops
Add self-loops to all NAG levels having a horizontal graph. If the edges have attributes, the self-loops will receive 0-features.
ext/spt/transforms/graph.py:1284
ClassNAGBatch
Wrapper for NAG batching.
ext/spt/data/nag.py:522
ClassNAGCast
Cast NAG attributes to the provided integer and floating point dtypes. In case 'rgb' or 'mean_rgb' is found and is not a floating point tensor
ext/spt/transforms/data.py:82
ClassNAGColorAutoContrast
Apply some random contrast to the point colors. credit: https://github.com/guochengqian/openpoints :param level: int or str Level at
ext/spt/transforms/point.py:461
ClassNAGColorDrop
Randomly set point colors to 0. :param level: int or str Level at which to remove attributes. Can be an int or a str. If the latt
ext/spt/transforms/point.py:533
ClassNAGColorNormalize
Normalize the colors using given means and standard deviations. credit: https://github.com/guochengqian/openpoints :param level: int or str
ext/spt/transforms/point.py:610
ClassNAGDropoutColumns
Randomly set a Data attribute column to 0. :param level: int or str Level at which to drop columns. Can be an int or a str. If th
ext/spt/transforms/data.py:496
ClassNAGDropoutRows
Randomly set a Data attribute rows to 0. :param level: int or str Level at which to drop rows. Can be an int or a str. If the lat
ext/spt/transforms/data.py:597
ClassNAGJitterKey
Add some gaussian noise to Data['key'] for all data in a NAG. :param key: str The attribute on which to apply jittering :param sigma:
ext/spt/transforms/data.py:658
ClassNAGPropagatePointInstances
Compute the instances contained in each superpoint of each level, provided that the first level has an 'obj' attribute holding an `InstanceDat
ext/spt/transforms/instance.py:11
ClassNAGRestrictSize
Randomly sample nodes and edges to restrict their number within given limits. This is useful for stabilizing memory use of the model. :pa
ext/spt/transforms/sampling.py:1032
ClassNAGSaveNodeIndex
SaveNodeIndex, applied to each NAG level.
ext/spt/transforms/sampling.py:45
ClassNAGSelectByKey
Select the i-level nodes based on a key. The corresponding key is expected to exist in the i-level attributes and should hold a 1D boolean mas
ext/spt/transforms/data.py:310
ClassNAGSelectColumns
Select columns of an attribute based on their indices. :param level: int or str Level at which to select attributes. Can be an int or a s
ext/spt/transforms/data.py:410
ClassNAGTo
Move Data object to specified device.
ext/spt/transforms/device.py:23
ClassNAGToData
Convert a single-level NAG to Data.
ext/spt/transforms/data.py:25
ClassNodeSize
Compute the number of `low`-level elements are contained in each segment, at each above-level. Results are save in the `node_size` attribute o
ext/spt/transforms/graph.py:1340
ClassOnTheFlyHorizontalEdgeFeatures
Compute edge features "on-the-fly" for all i->j and j->i horizontal edges of the NAG levels except its first (i.e. the 0-level). Expects
ext/spt/transforms/graph.py:932
ClassOnTheFlyVerticalEdgeFeatures
Compute edge features "on-the-fly" for all vertical edges of the NAG levels. Optionally build some edge features that can be recovered from t
ext/spt/transforms/graph.py:1145
ClassOpenCLIPNetworkConfig
scripts/image_encoding.py:29
ClassOutliers
Search for points with LESS THAN `k_min` neighbors within a radius of `r_max`. Since removing outliers may cause some points to become outlie
ext/spt/transforms/neighbors.py:91
ClassParamGroup
arguments/__init__.py:19
ClassPartitionParameterSearchStorage
A class to hold the output results of multiple partitions, when searching for the optimal partition parameter settings. Since metrics are only
ext/spt/utils/output_panoptic.py:511
ClassPointFeatures
Compute pointwise features based on what is already available in the Data object. All local geometric features assume the input ``Data`` has
ext/spt/transforms/point.py:18
ClassRadiusHorizontalGraph
Compute horizontal edges for all NAG levels except its first (i.e. the 0-level). These are the edges connecting the segments at each level, eq
ext/spt/transforms/graph.py:551
ClassRandomAnisotropicScale
Scales node positions by a randomly sampled factor ``s1, s2, s3`` within a given interval, *e.g.*, resulting in the following transformation m
ext/spt/transforms/geometry.py:116
ClassRandomAxisFlip
Flip the node positions wrt one of the XYZ axes, with a specified probability. This transform is not very modular because it is intended to be
ext/spt/transforms/geometry.py:187
next →1–100 of 117, ranked by callers