mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-04 14:58:55 +08:00
Fix bug related to distributed data parallel training (#1856)
* Fix bug related to distributed data parallel training * fix format by black * Add nerfacto-big multi-gpu commands * cleaned up docs * reverted default dataset to poster --------- Co-authored-by: Ethan Weber <eweb0124@gmail.com>
This commit is contained in:
1 parent
f1b60d4641
commit
7851dfa9db
3 files changed
+59
-17
No files matched your search
@@ -274,7 +274,7 @@ class VanillaPipeline(Pipeline):
|
||||
step: current iteration step to update sampler if using DDP (distributed)
|
||||
"""
|
||||
ray_bundle, batch = self.datamanager.next_train(step)
|
||||
model_outputs = self.model(ray_bundle)
|
||||
model_outputs = self._model(ray_bundle) # train distributed data parallel model if world_size > 1
|
||||
metrics_dict = self.model.get_metrics_dict(model_outputs, batch)
|
||||
|
||||
if self.config.datamanager.camera_optimizer is not None:
|
||||
|
||||
Reference in new issue
Block a user