INNER CODE UNIT · Python
SLAM
muskie82/MonoGS · slam.py:25
class SLAM:
def __init__(self, config, save_dir=None):
start = torch.cuda.Event(enable_timing=True)
end = torch.cuda.Event(enable_timing=True)
start.record()
self.config = config
self.save_dir = save_dir
model_params = munchify(config["model_params"])
opt_params = munchify(config["opt_params"])
pipeline_params = munchify(config["pipeline_params"])
self.model_params, self.opt_params, self.pipeline_params = (
model_params,
opt_params,
pipeline_params,
)