MCPcopy Create free account

hub / github.com/JasonLSC/GSCodec_Studio / functions

Functions1,225 in github.com/JasonLSC/GSCodec_Studio

↓ 3 callersFunction_rasterize_to_pixels
Pytorch implementation of `gsplat.cuda._wrapper.rasterize_to_pixels()`. This function rasterizes 2D Gaussians to pixels in a Pytorch-friendly way
gsplat/cuda/_torch_impl.py:522
↓ 3 callersMethod_zero_omegabymotion
( self, params: Union[Dict[str, torch.nn.Parameter], torch.nn.ParameterDict], optimize
gsplat/strategy/STG_Strategy.py:327
↓ 3 callersFunctionalign_principle_axes
(point_cloud)
examples/datasets/normalize.py:66
↓ 3 callersFunctionall_gather_int32
Gather an 32-bit integer from all ranks. .. note:: This implementation is faster than using `torch.distributed.all_gather_object`. .
gsplat/distributed.py:10
↓ 3 callersFunctionbuild_quantizer
(name: str, config: AttributeQuantizerConfig)
gsplat/compression_simulation/quantizer.py:94
↓ 3 callersFunctioncolor_correct
Warp `img` to match the colors in `ref_img` using iterative color matching. This function performs color correction by warping the colors of
examples/lib_bilagrid.py:56
↓ 3 callersMethoddequantize_all
(self, splats: TensorDict, context: QuantizationContext)
gsplat/compression/post_training/components/quant/manager.py:47
↓ 3 callersFunctionduplicate
Inplace duplicate the Gaussian with the given mask. Args: params: A dictionary of parameters. optimizers: A dictionary of optimiz
gsplat/strategy/ops.py:100
↓ 3 callersMethodeval
Entry for evaluation.
examples/codec_ply_sequence.py:772
↓ 3 callersMethodeval
Entry for evaluation.
examples/simple_trainer_old.py:1427
↓ 3 callersMethodeval
Entry for evaluation.
examples/simple_trainer_dyngs.py:831
↓ 3 callersMethodeval
Entry for evaluation.
examples/simple_trainer_STG.py:910
↓ 3 callersMethodeval
Entry for evaluation.
examples/simple_trainer.py:1102
↓ 3 callersMethodevaluate
( self, attr: str, tensor: Tensor, q_step: Optional[Tensor], step: int
gsplat/compression_simulation/entropy.py:96
↓ 3 callersFunctionfov2focal
(fov, pixels)
examples/helper/STG/graphics_utils.py:165
↓ 3 callersFunctiongenerate_ellipse_path_z
Generate an elliptical render path based on the given poses.
examples/datasets/traj.py:82
↓ 3 callersFunctiongenerate_spiral_path
Calculates a forward facing spiral path for rendering.
examples/datasets/traj.py:43
↓ 3 callersFunctiongetProjectionMatrixCV
cx and cy range is -0.5 to 0.5 we use cx cy range -0.5 * 0.5
examples/helper/STG/graphics_utils.py:113
↓ 3 callersFunctioninverse_load_ply
(path, output_filename)
examples/helper/ges_tm/post_process_gaussian.py:117
↓ 3 callersFunctionis_unclipped
(z)
examples/lib_bilagrid.py:93
↓ 3 callersFunctionload_ply_and_quant
(path, quant_ply_path)
examples/helper/ges_tm/pre_process_gaussian.py:123
↓ 3 callersFunctionload_test_data
Load the test data.
gsplat/_helper.py:9
↓ 3 callersFunctionnormalize
(v)
examples/helper/STG/dataset_readers.py:246
↓ 3 callersFunctionnormalize
Normalization helper function.
examples/datasets/traj.py:11
↓ 3 callersMethodquantize_all
(self, splats: TensorDict)
gsplat/compression/post_training/components/quant/manager.py:31
↓ 3 callersMethodrandom_init
(self, std: float)
examples/utils.py:27
↓ 3 callersMethodrasterize_splats
( self, timestamp: float, Ks: Tensor, width: int, height: int,
examples/simple_trainer_dyngs.py:473
↓ 3 callersMethodrasterize_splats
( self, camtoworlds: Tensor, Ks: Tensor, width: int, height: int,
examples/ply_loader_renderer.py:572
↓ 3 callersFunctionrasterize_to_pixels
Rasterizes Gaussians to pixels. Args: means2d: Projected Gaussian means. [C, N, 2] if packed is False, [nnz, 2] if packed is True.
gsplat/cuda/_wrapper.py:436
↓ 3 callersMethodrender_traj
Entry for trajectory rendering.
examples/simple_trainer_old.py:1509
↓ 3 callersMethodrender_traj
Entry for trajectory rendering.
examples/simple_trainer.py:1184
↓ 3 callersFunctionreset_opa
Inplace reset the opacities to the given post-sigmoid value. Args: params: A dictionary of parameters. optimizers: A dictionary o
gsplat/strategy/ops.py:230
↓ 3 callersMethodrun_param_distribution_vis
(self, param_dict: Dict[str, Tensor], save_dir: str)
examples/simple_trainer_old.py:1617
↓ 3 callersMethodrun_param_distribution_vis
(self, param_dict: Dict[str, Tensor], save_dir: str)
examples/simple_trainer.py:1357
↓ 3 callersFunctionsimilarity_from_cameras
reference: nerf-factory Get a similarity transform to normalize dataset from c2w (OpenCV convention) cameras :param c2w: (N, 4) :
examples/datasets/normalize.py:4
↓ 3 callersMethodsimulate_compression
gsplat/compression_simulation/simulation.py:206
↓ 3 callersFunctionsplit
Inplace split the Gaussian with the given mask. Args: params: A dictionary of parameters. optimizers: A dictionary of optimizers,
gsplat/strategy/ops.py:131
↓ 3 callersFunctionsplitBy3
(a)
gsplat/compression/sort.py:67
↓ 3 callersMethodstep_optimizer
Hook for stepping any optimizers the mask may own.
gsplat/compression_simulation/mask.py:31
↓ 3 callersFunctiontest_data
()
tests/test_2dgs.py:14
↓ 3 callersMethodto_dict
Convert to dictionary for YAML serialization.
gsplat/compression/post_training/configs.py:29
↓ 3 callersMethodto_dict
(self)
examples/simple_trainer_old.py:106
↓ 3 callersMethodto_dict
(self)
examples/ply_loader_renderer.py:100
↓ 3 callersMethodzero_init
(self)
examples/utils.py:24
↓ 2 callersFunctionSH2RGB
(sh)
examples/helper/STG/sh_utils.py:117
↓ 2 callersMethod__init__
(self, num_dim=3, n_features=2, resolutions_list=(16, 23, 3
gsplat/compression_simulation/gaussian_distribution_model.py:191
↓ 2 callersMethod__init__
(self, s=2.0)
examples/lib_bilagrid.py:393
↓ 2 callersFunction_attr_key
(attr: str)
gsplat/compression_simulation/entropy.py:190
↓ 2 callersFunction_build_config
(model_type: str)
tests/test_entropy_constraint.py:8
↓ 2 callersMethod_build_module
(self, size: int, device: torch.device)
gsplat/compression_simulation/mask.py:62
↓ 2 callersFunction_compose_group_path
(base_path: str, gof_tag: str, group_tag: str)
examples/simple_trainer_dyngs.py:1312
↓ 2 callersFunction_compute_bbox
(means: Tensor, low: float = 0.01, high: float = 0.99)
gsplat/compression_simulation/entropy.py:202
↓ 2 callersMethod_create_schedule
(self)
examples/simple_trainer_old.py:79
↓ 2 callersMethod_create_schedule
(self)
examples/simple_trainer_dyngs.py:61
↓ 2 callersMethod_create_schedule
(self)
examples/simple_trainer_STG.py:67
↓ 2 callersMethod_create_schedule
(self)
examples/ply_loader_renderer.py:73
↓ 2 callersMethod_create_schedule
(self)
examples/simple_trainer.py:99
↓ 2 callersFunction_decode_video_stream_to_yuv
Decodes a video file (e.g., HEVC encoded) to a raw YUV file using FFmpeg. Args: video_file (str): Path to the input video file (.mp4
gsplat/compression/yuv_utils.py:157
↓ 2 callersFunction_distributed_worker
( world_rank: int, world_size: int, fn: Callable, args: Any, local_rank: Optional[int] = N
gsplat/distributed.py:272
↓ 2 callersFunction_encode_yuv_to_video_stream
Encodes a raw YUV file to HEVC (libx265) using FFmpeg. Args: yuv_file_path (str): Path to the input raw YUV file. output_vid
gsplat/compression/yuv_utils.py:71
↓ 2 callersMethod_ensure_module
(self, tensor: Tensor)
gsplat/compression_simulation/mask.py:94
↓ 2 callersFunction_ensure_path
(value: Union[str, Path])
gsplat/compression/post_training/io.py:25
↓ 2 callersFunction_eval_sh_bases_fast
Evaluate spherical harmonics bases at unit direction for high orders using approach described by Efficient Spherical Harmonic Evaluation,
gsplat/cuda/_torch_impl.py:620
↓ 2 callersFunction_fisheye_proj
PyTorch implementation of fisheye projection for 3D Gaussians. Args: means: Gaussian means in camera coordinate system. [C, N, 3].
gsplat/cuda/_torch_impl.py:123
↓ 2 callersMethod_frame_dir
(self, root: Optional[Path] = None)
gsplat/compression/post_training/orchestrator.py:250
↓ 2 callersFunction_fully_fused_projection
PyTorch implementation of `gsplat.cuda._wrapper.fully_fused_projection()` .. note:: This is a minimal implementation of fully fused vers
gsplat/cuda/_torch_impl.py:250
↓ 2 callersMethod_get_decompress_fn
(self, param_name: str)
gsplat/compression/entropy_coding_compression.py:108
↓ 2 callersFunction_infer_channel
(attr: str)
gsplat/compression_simulation/entropy.py:194
↓ 2 callersFunction_infer_sh_dims
(total: int)
gsplat/compression/post_training/io.py:32
↓ 2 callersFunction_list_subdirs
(path: str, prefix: str)
examples/benchmarks/stg/summarize_stats.py:13
↓ 2 callersMethod_logits_cumulative
(self, logits, stop_gradient)
gsplat/compression_simulation/entropy_model.py:53
↓ 2 callersFunction_make_splats
(tensor: torch.Tensor)
tests/test_adaptive_mask.py:7
↓ 2 callersFunction_maybe_to_tensor_dict
( splats: Mapping[str, Tensor] | ParameterDict, )
gsplat/compression_simulation/runtime.py:20
↓ 2 callersFunction_multinomial_sample
Sample from a distribution using torch.multinomial or numpy.random.choice. This function adaptively chooses between `torch.multinomial` and `nump
gsplat/strategy/ops.py:14
↓ 2 callersFunction_ortho_proj
PyTorch implementation of orthographic projection for 3D Gaussians. Args: means: Gaussian means in camera coordinate system. [C, N, 3].
gsplat/cuda/_torch_impl.py:188
↓ 2 callersFunction_persp_proj
PyTorch implementation of perspective projection for 3D Gaussians. Args: means: Gaussian means in camera coordinate system. [C, N, 3].
gsplat/cuda/_torch_impl.py:71
↓ 2 callersFunction_pop_flag_value
Remove and return the value for the first matching flag in sys.argv.
examples/simple_trainer_old.py:347
↓ 2 callersFunction_quat_scale_to_covar_preci
PyTorch implementation of `gsplat.cuda._wrapper.quat_scale_to_covar_preci()`.
gsplat/cuda/_torch_impl.py:41
↓ 2 callersFunction_quat_to_rotmat
Convert quaternion to rotation matrix.
gsplat/cuda/_torch_impl.py:10
↓ 2 callersMethod_run_command
Executes a subprocess command and handles logging and errors. Args: cmd: The command to execute as a list of strings.
gsplat/compression/video_codec.py:99
↓ 2 callersFunction_run_single_group
(cfg: Config)
examples/simple_trainer_dyngs.py:1319
↓ 2 callersFunction_world_to_cam
PyTorch implementation of world to camera transformation on Gaussians. Args: means: Gaussian means in world coordinate system. [C, N, 3].
gsplat/cuda/_torch_impl.py:225
↓ 2 callersFunctionall_gather_tensor_list
Gather a list of tensors from all ranks. .. note:: This function expects the tensors in the `tensor_list` to have the same shape
gsplat/distributed.py:102
↓ 2 callersFunctionapply_updates
Recursively apply ``updates`` onto ``target``.
cfg_sys/config_manager.py:79
↓ 2 callersFunctionassert_consistent_sizes
(params)
tests/test_strategy.py:70
↓ 2 callersFunctioncameraList_from_camInfosv2
(cam_infos, resolution_scale, args, ss=False)
examples/helper/STG/camera_utils.py:265
↓ 2 callersFunctionchroma_downsampling
Chroma downsampling for YUV video from 4:4:4 to 4:2:0 format conceptually, while maintaining the original tensor shape. The U and V value
gsplat/compression/yuv_utils.py:390
↓ 2 callersFunctioncolor_affine_transform
Applies color affine transformations. Args: affine_mats (torch.Tensor): Affine transformation matrices. Supported shape: $(..., 3, 4)$.
examples/lib_bilagrid.py:141
↓ 2 callersFunctioncompute_limits
(values: List[float], margin: float = 0.12)
tools/static_bench/make_rd_curve.py:202
↓ 2 callersFunctioncompute_relocation
Compute new Gaussians from a set of old Gaussians. This function interprets the Gaussians as samples from a likelihood distribution. It uses
gsplat/relocation.py:10
↓ 2 callersFunctioncreate_dir
(path)
examples/codec_ply_sequence.py:1103
↓ 2 callersMethoddeorganize
(self, splats_videos_c: Dict[str, Tensor])
gsplat/compression/yuv_compression.py:509
↓ 2 callersFunctiondepth_to_normal
Convert depth maps to surface normals Args: depths: Depth maps [..., H, W, 1] camtoworlds: Camera-to-world transformation matrice
gsplat/utils.py:108
↓ 2 callersFunctiondequantize_sh
(sh_q, b_s)
examples/helper/ges_tm/post_process_gaussian.py:91
↓ 2 callersFunctiondownload_and_extract
(url: str, download_path: Path, extract_path: Path)
examples/datasets/download_dataset.py:73
↓ 2 callersMethodencode
Encodes a YUV file to a bitstream using the specified configuration. Args: input_yuv: Path to the input YUV file.
gsplat/compression/video_codec.py:295
↓ 2 callersMethodeval
Entry for evaluation.
examples/ply_loader_renderer.py:636
↓ 2 callersMethodeval
Entry for evaluation.
examples/simple_trainer_2dgs.py:744
↓ 2 callersMethodfield_config
(self, name: str)
gsplat/compression/post_training/configs.py:136
↓ 2 callersFunctionfocus_point_fn
Calculate nearest point to all focal axes in poses.
examples/datasets/traj.py:25
← previousnext →101–200 of 1,225, ranked by callers