struct

GS::GaussianSplatting::TrainStats

Inherits Struct < Value < Object

Training statistics

Constructors

new(iteration : Int32 = 0, loss : Float32 = 0.0_f32, psnr : Float32 = 0.0_f32, num_gaussians : Int32 = 0, lr : Float32 = 0.0_f32)
Source

Instance methods

iteration
Source
iteration=(iteration : Int32)
Source
loss
Source
loss=(loss : Float32)
Source
lr=(lr : Float32)
Source
num_gaussians
Source
num_gaussians=(num_gaussians : Int32)
Source
psnr
Source
psnr=(psnr : Float32)
Source
to_s

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.

Source