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:
J.YandEthan Weber authored and GitHub committed 2023-05-15 14:23:29 -07:00
1 parent f1b60d4641
commit 7851dfa9db
3 files changed
+59 -17

No files matched your search

+1 -1
View File
@@ -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: