In order to edit the scene while it is still training, you will have to use the custom splatviz network connector. To do so, follow the four simple steps:
Install the network connector to your training project environment.
pip install splatviz-network
At the beginning of the train script, create the network connector:
from splatviz_network import SplatvizNetwork
network = SplatvizNetwork()
Call the render function inside the training loop:
network.render(pipe, gaussians, ema_loss_for_log, render, background, iteration, opt)
Remove all previously defined network_gui
calls in the train script.
For the vanilla 3DGS train.py the diff should look as follows: