mirror of
https://github.com/graphdeco-inria/gaussian-splatting
synced 2024-11-29 15:39:05 +00:00
Reestablished control over pipeline from remote
This commit is contained in:
parent
add0ada0e4
commit
666a5ee203
2
train.py
2
train.py
@ -54,7 +54,7 @@ def training(dataset, opt, pipe, testing_iterations, saving_iterations, checkpoi
|
|||||||
while network_gui.conn != None:
|
while network_gui.conn != None:
|
||||||
try:
|
try:
|
||||||
net_image_bytes = None
|
net_image_bytes = None
|
||||||
custom_cam, do_training, pipe.do_shs_python, pipe.do_cov_python, keep_alive, scaling_modifer = network_gui.receive()
|
custom_cam, do_training, pipe.convert_SHs_python, pipe.compute_cov3D_python, keep_alive, scaling_modifer = network_gui.receive()
|
||||||
if custom_cam != None:
|
if custom_cam != None:
|
||||||
net_image = render(custom_cam, gaussians, pipe, background, scaling_modifer)["render"]
|
net_image = render(custom_cam, gaussians, pipe, background, scaling_modifer)["render"]
|
||||||
net_image_bytes = memoryview((torch.clamp(net_image, min=0, max=1.0) * 255).byte().permute(1, 2, 0).contiguous().cpu().numpy())
|
net_image_bytes = memoryview((torch.clamp(net_image, min=0, max=1.0) * 255).byte().permute(1, 2, 0).contiguous().cpu().numpy())
|
||||||
|
Loading…
Reference in New Issue
Block a user