MCPcopy Create free account

hub / github.com/Atrovast/THGS / functions

Functions879 in github.com/Atrovast/THGS

↓ 1 callersMethod_prune_optimizer
(self, mask)
scene/gaussian_model.py:345
↓ 1 callersMethod_rotate_normal
(normal, R)
ext/spt/transforms/geometry.py:109
↓ 1 callersMethod_scale_normal
(normal, scale)
ext/spt/transforms/geometry.py:183
↓ 1 callersFunction_ssim
(img1, img2, window, window_size, channel, size_average=True)
utils/loss_utils.py:53
↓ 1 callersMethodadd_dpg_list
(self, camera_list, step=10)
gui/main.py:1115
↓ 1 callersMethodassign_label
assign instance labels for all points in the scene :param points: (N, 3), points in world coordinate :param thres_connect: t
merge_proj.py:218
↓ 1 callersMethodassign_seg_label_torch
优化后的超点区域生长算法
merge_proj.py:295
↓ 1 callersFunctionatomic_to_histogram
Convert point-level positive integer data to histograms of segment-level labels, based on idx. :param item: 1D or 2D torch.Tensor :param
ext/spt/utils/histogram.py:39
↓ 1 callersFunctionaverage_pose
New pose using average position, z-axis, and up vector of input poses.
utils/render_utils.py:51
↓ 1 callersFunctionbuild_rotation
(r)
gui/gs_renderer.py:86
↓ 1 callersFunctionbuild_scaling_rotation
(s, r)
utils/general_utils.py:101
↓ 1 callersFunctioncalcu_similar
:param label0: (lr-1,), label distribuion of one seg :param labels1: (neigh,lr-1), label distribution of neighbors of the seg above
utils/sai3d_utils.py:452
↓ 1 callersFunctioncamera_to_JSON
(id, camera : Camera)
utils/camera_utils.py:82
↓ 1 callersFunctioncast_numpyfy
Convert torch.Tensor to numpy while respecting some constraints on output dtype. Integer tensors will be cast to the smallest possible integer
ext/spt/utils/tensor.py:174
↓ 1 callersFunctioncast_to_optimal_integer_type
Cast an integer tensor to the smallest possible integer dtype preserving its precision.
ext/spt/utils/tensor.py:153
↓ 1 callersMethodcat_select
Does part of what `Data.select()` does but in an ugly way. This is mostly intended for the `DataLoader` to be able to load `NAG` and s
ext/spt/data/nag.py:390
↓ 1 callersMethodcat_tensors_to_optimizer
(self, tensors_dict)
scene/gaussian_model.py:380
↓ 1 callersMethodclone
Shallow copy of self. This may cause issues for certain types of downstream operations, but it saves time and memory. In practice, it
ext/spt/data/csr.py:188
↓ 1 callersFunctionclose_loggers
Makes sure all loggers closed properly (prevents logging failure during multirun).
ext/spt/utils/utils.py:201
↓ 1 callersFunctioncmap
Apply Turbo colormap to a normalized value tensor. For cuda acceleration, the colormap is preloaded as a tensor. Args: value (to
utils/image_utils.py:173
↓ 1 callersFunctioncolormap
(map, cmap="turbo")
utils/image_utils.py:39
↓ 1 callersMethodcompute_main_xy_direction
(data)
ext/spt/transforms/sampling.py:441
↓ 1 callersFunctioncompute_panoptic_metrics
Helper function to compute the semantic, instance, panoptic segmentation metrics of a model on a given dataset, for given instance graph and p
ext/spt/utils/instance.py:855
↓ 1 callersFunctioncompute_semantic_metrics
Helper function to compute the semantic segmentation metrics of a model on a given dataset.
ext/spt/utils/semantic.py:19
↓ 1 callersMethodcompute_similarity
(self, semantic_feature)
gui/main.py:66
↓ 1 callersMethodconstruct_list_of_attributes
(self)
scene/gaussian_model.py:238
↓ 1 callersFunctioncreate
(image_list, data_list, save_folder)
scripts/image_encoding.py:116
↓ 1 callersFunctioncreate_videos
Creates videos out of the images saved to disk.
utils/render_utils.py:203
↓ 1 callersFunctioncreate_window
(window_size, channel)
utils/loss_utils.py:37
↓ 1 callersFunctioncross_product_matrix
Compute the cross-product matrix of a vector k. Credit: https://github.com/torch-points3d/torch-points3d
ext/spt/utils/geometry.py:9
↓ 1 callersFunctiondate_time_string
Returns a string holding the current date and time. Useful for creating an output file or directory.
ext/spt/utils/io.py:18
↓ 1 callersMethoddebug
Runs a series of sanity checks on the attributes of self.
ext/spt/utils/output_semantic.py:23
↓ 1 callersMethoddebug
Sanity checks.
ext/spt/data/data.py:216
↓ 1 callersMethoddebug
Sanity checks.
ext/spt/data/nag.py:432
↓ 1 callersFunctiondense_to_csr
Convert a dense matrix to its CSR counterpart.
ext/spt/utils/sparse.py:44
↓ 1 callersMethoddensify_and_clone
(self, grads, grad_threshold, scene_extent)
scene/gaussian_model.py:451
↓ 1 callersMethoddensify_and_split
(self, grads, grad_threshold, scene_extent, N=2)
scene/gaussian_model.py:424
↓ 1 callersFunctiondepths_to_points
(view, depthmap)
utils/point_utils.py:9
↓ 1 callersFunctiondot
(x, y)
gui/cam_utils.py:87
↓ 1 callersFunctionedge_index_to_uid
Compute consecutive unique identifiers for the edges. This may be needed for scatter operations.
ext/spt/utils/edge.py:9
↓ 1 callersMethodedit_retrieve
(self)
gui/main.py:431
↓ 1 callersMethodencode_image
(self, input)
scripts/image_encoding.py:108
↓ 1 callersMethodencode_text
(self, text)
gui/main.py:58
↓ 1 callersMethodestimate_bounding_sphere
Estimate the bounding sphere given camera pose
utils/mesh_utils.py:125
↓ 1 callersMethodestimate_centroid
Estimate the centroid position of each object, based on the position of the clusters. Based on the hypothesis that clusters are relat
ext/spt/data/instance.py:284
↓ 1 callersMethodestimate_instance_centroid
Estimate the centroid position of each target instance object, based on the position of the clusters. Based on the hypothesis that cl
ext/spt/data/data.py:815
↓ 1 callersFunctionevaluate
(model_paths)
metrics.py:36
↓ 1 callersFunctionevaluate
(points)
utils/mcube_utils.py:58
↓ 1 callersFunctioneverything_seg
(args)
merge_proj.py:516
↓ 1 callersFunctionexport
points are XYZ RGB (RGB in 0-255), semantic label as nyu40 ids, instance label as 1-#instance, box as (cx,cy,cz,dx,dy,dz,semantic_label)
ext/spt/utils/scannet.py:112
↓ 1 callersFunctionexport_ids
(filename, ids)
utils/sai3d_utils.py:956
↓ 1 callersFunctionextract_gaussian_features
(model_path, views, gaussians, pipeline, background, feature_level, scale_factor=1)
graph_weight.py:28
↓ 1 callersMethodextract_mesh_bounded
Perform TSDF fusion given a fixed depth range, used in the paper. voxel_size: the voxel size of the volume sdf_trunc
utils/mesh_utils.py:140
↓ 1 callersMethodextract_mesh_unbounded
Experimental features, extracting meshes from unbounded scenes, not fully test across datasets. return o3d.mesh
utils/mesh_utils.py:184
↓ 1 callersFunctionextras
Applies optional utilities before the task is started. Utilities: - Ignoring python warnings - Setting tags from command line - Rich
ext/spt/utils/utils.py:62
↓ 1 callersFunctionf
(x)
graph_weight.py:23
↓ 1 callersFunctionfigure_html
(fig)
ext/spt/visualization/visualization.py:1051
↓ 1 callersFunctionfilter
(keep: torch.Tensor, masks_result)
scripts/image_encoding.py:211
↓ 1 callersFunctionfilter_by_local_z_min
Search for the lowest point in each cell of a horizontal XY grid. This can be used to filter out points far from the ground, with some limita
ext/spt/utils/ground.py:40
↓ 1 callersFunctionfilter_by_verticality
Search for the points with low verticality. For verticality computation, see the `PointFeatures`. This can be used to filter out non-ground
ext/spt/utils/ground.py:69
↓ 1 callersFunctionfilter_by_z_distance_of_global_min
Search for points within `threshold` Z-distance of the lowest point in the input cloud `xyz`. This can be used to filter out points far from
ext/spt/utils/ground.py:20
↓ 1 callersMethodflush
(self)
utils/general_utils.py:125
↓ 1 callersMethodfrom_data_list
Overwrite torch_geometric from_data_list to be able to handle Cluster and InstanceData objects batching.
ext/spt/data/data.py:868
↓ 1 callersMethodfrom_list
(cls, csr_list: List['CSRData'])
ext/spt/data/csr.py:603
↓ 1 callersFunctiongaussian
(window_size, sigma)
utils/loss_utils.py:23
↓ 1 callersFunctiongenerate_ellipse_path
Generate an elliptical render path based on the given poses.
utils/render_utils.py:121
↓ 1 callersFunctiongenerate_path
(viewpoint_cameras, n_frames=480)
utils/render_utils.py:173
↓ 1 callersFunctiongenerate_single_random_segment_image
Generate an image with random ground truth and predicted instance and semantic segmentation data. To make the images realisitc, and to ensure
ext/spt/utils/instance.py:166
↓ 1 callersFunctiongenerate_video
(img_list, save_path)
utils/image_utils.py:153
↓ 1 callersFunctiongetProjectionMatrix
(znear, zfar, fovX, fovY)
utils/graphics_utils.py:51
↓ 1 callersFunctiongetProjectionMatrix
(znear, zfar, fovX, fovY)
gui/gs_renderer.py:126
↓ 1 callersFunctionget_center_and_diag
(cam_centers)
scene/dataset_readers.py:49
↓ 1 callersFunctionget_config_structure
Parse a config file structure in search for .yaml files
ext/spt/utils/configs.py:9
↓ 1 callersMethodget_example
Overwrite torch_geometric get_example to be able to handle Cluster and InstanceData objects batching.
ext/spt/data/data.py:936
↓ 1 callersMethodget_gs_by_mask
mask: N, boolean mask level: int, choose certain level to get the related gaussian
nag_data.py:54
↓ 1 callersMethodget_neighbor_seg_similar_confidence_matrix
:param points_label: (N, M), labels of all points in all views :param points_seen: (N, M), seen flag of all points in all vi
merge_proj.py:369
↓ 1 callersFunctionget_network
(net_type: str)
lpipsPyTorch/modules/networks.py:12
↓ 1 callersFunctionget_positions
(theta)
utils/render_utils.py:141
↓ 1 callersMethodget_seg_adjacency
:params similar_meric: the metric to calculate the similarity between two primitives :params points_label: (N, M), labels of all poin
merge_proj.py:344
↓ 1 callersMethodget_seg_adjacency_from_similar_confidence_torch
(self, similar_mat, confidence_mat, chunk_size=15000)
merge_proj.py:402
↓ 1 callersMethodget_seg_data_torch
(self, seg_ids=None, k_graph=8, point_
merge_proj.py:175
↓ 1 callersFunctionget_seg_img
(mask, image)
scripts/image_encoding.py:194
↓ 1 callersFunctionget_state_dict
(net_type: str = 'alex', version: str = '0.1')
lpipsPyTorch/modules/utils.py:11
↓ 1 callersFunctionidentity_PCA
Reduce dimension of x based on PCA on the union of the n-simplex. This is a way of reducing the dimension of x while treating all input dimens
ext/spt/utils/color.py:142
↓ 1 callersMethodimport_pose
(self, pose)
gui/cam_utils.py:244
↓ 1 callersMethodindex_select_pointers
Index selection of pointers. Returns a new pointer tensor with updated pointers, along with an index tensor to be used to update any
ext/spt/data/csr.py:262
↓ 1 callersMethodinit_data
(self, args)
merge_proj.py:39
↓ 1 callersFunctioninliers_split
Optionally recursive inlier search. The `xyz_query` and `xyz_search`. Search for points with less than `k_min` neighbors within a radius of `r
ext/spt/utils/neighbors.py:207
↓ 1 callersMethodinsert_empty_groups
Method called when in-place reindexing groups. The group_indices are assumed to be sorted and group_indices[i] corresponds to the pos
ext/spt/data/csr.py:225
↓ 1 callersFunctioninstance_cut_pursuit
The forward step will compute the partition on the instance graph, based on the node features, node logits, and edge affinities. The partition
ext/spt/utils/instance.py:545
↓ 1 callersMethodinstance_graph
Compute instance graph and per-edge affinity scores. :param edge_index: Tensor of size [2, num_edges] Edges connecting the cluste
ext/spt/data/instance.py:351
↓ 1 callersFunctioninstantiate_datamodule_transforms
Create a dictionary of torch_geometric composite transforms from a datamodule OmegaConf holding lists of transforms characterized by a `*trans
ext/spt/transforms/__init__.py:123
↓ 1 callersFunctioninstantiate_transform
Create a transform from an OmegaConf dict such as: ```yaml transform: GridSampling3D params: size: 0.01 ```
ext/spt/transforms/__init__.py:47
↓ 1 callersFunctioninstantiate_transforms
Create a torch_geometric composite transform from an OmegaConf list such as: ```yaml - transform: GridSampling3D params:
ext/spt/transforms/__init__.py:90
↓ 1 callersFunctioninterpolate_transform_matrices
对4x4变换矩阵进行插值,通过提取和插值四元数和平移向量。 插值是在每两个位姿之间进行的,并将所有的插值结果汇总为一个综合的结果。 :param matrices: 包含4x4变换矩阵的列表 :param times: 对应于每个位姿的时间戳列表
utils/camera_utils.py:104
↓ 1 callersFunctionis_cuda_out_of_memory
(exception: BaseException)
ext/spt/utils/memory.py:28
↓ 1 callersFunctionis_cudnn_snafu
(exception: BaseException)
ext/spt/utils/memory.py:38
↓ 1 callersMethodis_isolated
If self.has_edges, returns a boolean tensor of size self.num_nodes indicating which are absent from self.edge_index. Will raise an err
ext/spt/data/data.py:436
↓ 1 callersFunctionis_oom_error
(exception: BaseException)
ext/spt/utils/memory.py:23
↓ 1 callersFunctionis_out_of_cpu_memory
(exception: BaseException)
ext/spt/utils/memory.py:48
← previousnext →201–300 of 879, ranked by callers