mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-15 20:33:59 +08:00
cleanup and added logic to train for load/save checkpoints (#32)
* added checkpointing logic * small nits * check DDP running correctly * cleanup and added logic to train for load/save checkpoints * lint
This commit is contained in:
1 parent
af74b4e95c
commit
4d1a6b2dbd
5 files changed
+42
-94
No files matched your search
@@ -114,7 +114,6 @@ def _train(local_rank: int, world_size: int, config: DictConfig) -> Any:
|
||||
"""
|
||||
trainer = Trainer(config, local_rank, world_size)
|
||||
trainer.setup_graph()
|
||||
trainer.setup_optimizer()
|
||||
trainer.setup_dataset()
|
||||
trainer.train()
|
||||
return 0
|
||||
|
||||
Reference in new issue
Block a user