ReUseX  0.0.5
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
SubcommandCreateGsplatOptions Struct Reference

Options for rux create gsplat. More...

#include <gsplat.hpp>

Collaboration diagram for SubcommandCreateGsplatOptions:

Public Attributes

std::string seed_cloud = "cloud"
std::size_t max_points = 0
int sh_degree = 0
int sh_degree_interval = 1000
 TrainOptions::sh_degree_interval / lr_sh_rest โ€” the view-dependent-colour warm-up.
float lr_sh_rest = 2.5e-3f / 20.0f
int iterations = 2000
float lambda_dssim = 0.2f
unsigned seed = 42
bool no_prune = false
int holdout_every = 8
int eval_interval = 1000
int eval_max_views = 32
bool mcmc = false
double mcmc_cap_factor = 2.0
std::int64_t mcmc_cap = 0
int mcmc_refine_every = 100
float mcmc_noise_lr = 5e5f
float mcmc_opacity_reg = 0.0f
float mcmc_scale_reg = 0.0f
int frame_stride = 1
int first_frame = -1
int last_frame = -1
int max_image_size = 0
std::size_t max_views = 0
bool use_panoramas = false
int pano_n_yaw = 8
double pano_fov_deg = 90.0
int pano_tile = 1024
std::string splat_name = "splat"
std::string out_ply
std::string render_dir
std::vector< int > render_iterations
std::size_t render_view_index = 0
int checkpoint_every = 0
int checkpoint_keep = 3
std::string checkpoint_dir

Detailed Description

Options for rux create gsplat.

Defaults deliberately mirror the library option structs (reusex::gsplat::{GaussianInitOptions, TrainingViewOptions, TrainOptions}) rather than restating numbers, so the CLI and the library can never disagree on a default (docs/STANDARDS.md ยง4). They are read through the accessors in the .cpp, which is the only translation unit that may include the library headers โ€” those pull in nothing torch-shaped, but keeping the include here would still couple every CLI TU to the optional module.

Definition at line 22 of file gsplat.hpp.

Member Data Documentation

◆ checkpoint_dir

std::string SubcommandCreateGsplatOptions::checkpoint_dir

Definition at line 72 of file gsplat.hpp.

◆ checkpoint_every

int SubcommandCreateGsplatOptions::checkpoint_every = 0

Definition at line 70 of file gsplat.hpp.

◆ checkpoint_keep

int SubcommandCreateGsplatOptions::checkpoint_keep = 3

Definition at line 71 of file gsplat.hpp.

◆ eval_interval

int SubcommandCreateGsplatOptions::eval_interval = 1000

Definition at line 39 of file gsplat.hpp.

◆ eval_max_views

int SubcommandCreateGsplatOptions::eval_max_views = 32

Definition at line 40 of file gsplat.hpp.

◆ first_frame

int SubcommandCreateGsplatOptions::first_frame = -1

Definition at line 52 of file gsplat.hpp.

◆ frame_stride

int SubcommandCreateGsplatOptions::frame_stride = 1

Definition at line 51 of file gsplat.hpp.

◆ holdout_every

int SubcommandCreateGsplatOptions::holdout_every = 8

Definition at line 38 of file gsplat.hpp.

◆ iterations

int SubcommandCreateGsplatOptions::iterations = 2000

Definition at line 31 of file gsplat.hpp.

◆ lambda_dssim

float SubcommandCreateGsplatOptions::lambda_dssim = 0.2f

Definition at line 32 of file gsplat.hpp.

◆ last_frame

int SubcommandCreateGsplatOptions::last_frame = -1

Definition at line 53 of file gsplat.hpp.

◆ lr_sh_rest

float SubcommandCreateGsplatOptions::lr_sh_rest = 2.5e-3f / 20.0f

Definition at line 29 of file gsplat.hpp.

◆ max_image_size

int SubcommandCreateGsplatOptions::max_image_size = 0

Definition at line 54 of file gsplat.hpp.

◆ max_points

std::size_t SubcommandCreateGsplatOptions::max_points = 0

Definition at line 24 of file gsplat.hpp.

◆ max_views

std::size_t SubcommandCreateGsplatOptions::max_views = 0

Definition at line 55 of file gsplat.hpp.

◆ mcmc

bool SubcommandCreateGsplatOptions::mcmc = false

Definition at line 43 of file gsplat.hpp.

◆ mcmc_cap

std::int64_t SubcommandCreateGsplatOptions::mcmc_cap = 0

Definition at line 45 of file gsplat.hpp.

◆ mcmc_cap_factor

double SubcommandCreateGsplatOptions::mcmc_cap_factor = 2.0

Definition at line 44 of file gsplat.hpp.

◆ mcmc_noise_lr

float SubcommandCreateGsplatOptions::mcmc_noise_lr = 5e5f

Definition at line 47 of file gsplat.hpp.

◆ mcmc_opacity_reg

float SubcommandCreateGsplatOptions::mcmc_opacity_reg = 0.0f

Definition at line 48 of file gsplat.hpp.

◆ mcmc_refine_every

int SubcommandCreateGsplatOptions::mcmc_refine_every = 100

Definition at line 46 of file gsplat.hpp.

◆ mcmc_scale_reg

float SubcommandCreateGsplatOptions::mcmc_scale_reg = 0.0f

Definition at line 49 of file gsplat.hpp.

◆ no_prune

bool SubcommandCreateGsplatOptions::no_prune = false

Definition at line 34 of file gsplat.hpp.

◆ out_ply

std::string SubcommandCreateGsplatOptions::out_ply

Definition at line 63 of file gsplat.hpp.

◆ pano_fov_deg

double SubcommandCreateGsplatOptions::pano_fov_deg = 90.0

Definition at line 59 of file gsplat.hpp.

◆ pano_n_yaw

int SubcommandCreateGsplatOptions::pano_n_yaw = 8

Definition at line 58 of file gsplat.hpp.

◆ pano_tile

int SubcommandCreateGsplatOptions::pano_tile = 1024

Definition at line 60 of file gsplat.hpp.

◆ render_dir

std::string SubcommandCreateGsplatOptions::render_dir

Definition at line 64 of file gsplat.hpp.

◆ render_iterations

std::vector<int> SubcommandCreateGsplatOptions::render_iterations

Definition at line 65 of file gsplat.hpp.

◆ render_view_index

std::size_t SubcommandCreateGsplatOptions::render_view_index = 0

Definition at line 66 of file gsplat.hpp.

◆ seed

unsigned SubcommandCreateGsplatOptions::seed = 42

Definition at line 33 of file gsplat.hpp.

◆ seed_cloud

std::string SubcommandCreateGsplatOptions::seed_cloud = "cloud"

Definition at line 23 of file gsplat.hpp.

◆ sh_degree

int SubcommandCreateGsplatOptions::sh_degree = 0

Definition at line 25 of file gsplat.hpp.

◆ sh_degree_interval

int SubcommandCreateGsplatOptions::sh_degree_interval = 1000

TrainOptions::sh_degree_interval / lr_sh_rest โ€” the view-dependent-colour warm-up.

Both are inert at the default sh_degree = 0.

Definition at line 28 of file gsplat.hpp.

◆ splat_name

std::string SubcommandCreateGsplatOptions::splat_name = "splat"

Definition at line 62 of file gsplat.hpp.

◆ use_panoramas

bool SubcommandCreateGsplatOptions::use_panoramas = false

Definition at line 57 of file gsplat.hpp.


The documentation for this struct was generated from the following file: