Skip to content

Commit dd795e2

Browse files
committed
added missing parameters for remote viewer
1 parent 182afc9 commit dd795e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

train.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def training(dataset, opt, pipe, testing_iterations, saving_iterations, checkpoi
7878
net_image_bytes = None
7979
custom_cam, do_training, pipe.convert_SHs_python, pipe.compute_cov3D_python, keep_alive, scaling_modifer = network_gui.receive()
8080
if custom_cam != None:
81-
net_image = render(custom_cam, gaussians, pipe, background, scaling_modifer)["render"]
81+
net_image = render(custom_cam, gaussians, pipe, background, scaling_modifier=scaling_modifer, use_trained_exp=dataset.train_test_exp, separate_sh=SPARSE_ADAM_AVAILABLE)["render"]
8282
net_image_bytes = memoryview((torch.clamp(net_image, min=0, max=1.0) * 255).byte().permute(1, 2, 0).contiguous().cpu().numpy())
8383
network_gui.send(net_image_bytes, dataset.source_path)
8484
if do_training and ((iteration < int(opt.iterations)) or not keep_alive):

0 commit comments

Comments
 (0)