yzslab / gaussian-splatting-lightning

A 3D Gaussian Splatting framework with various derived algorithms and an interactive web viewer
Other
439 stars 34 forks source link

Model training without CLI #52

Closed hardikdava closed 1 week ago

hardikdava commented 1 week ago

@yzslab Is it possible to train a model without using CLI mode? If yes, how can it be used?

yzslab commented 1 week ago

If you mean starting training without CLI, no. If you want to use the web viewer during training, simply add the option --viewer to main.py.

hardikdava commented 1 week ago

@yzslab I want to train a model using python interface. But that is not possible. If we want to do it then we have to use subprocess which is not a good idea.

yzslab commented 1 week ago

@yzslab I want to train a model using python interface. But that is not possible. If we want to do it then we have to use subprocess which is not a good idea.

Maybe you can take a look at whether the LightningCLI used by this repo provides the interfaces you want, or skip LightningCLI and simply follow the PyTorch Lightning's guidance to start training.

hardikdava commented 1 week ago

Closed #53