From c96f5223b38e7422d7a50033d30e9f98a6b0ab89 Mon Sep 17 00:00:00 2001 From: Brent Yi Date: Thu, 30 Nov 2023 18:36:09 -0800 Subject: [PATCH] Update exporter.py --- nerfstudio/scripts/exporter.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nerfstudio/scripts/exporter.py b/nerfstudio/scripts/exporter.py index eb1f60b05..8ca189d87 100644 --- a/nerfstudio/scripts/exporter.py +++ b/nerfstudio/scripts/exporter.py @@ -309,7 +309,10 @@ class ExportPoissonMesh(Exporter): validate_pipeline(self.normal_method, self.normal_output_name, pipeline) # Increase the batchsize to speed up the evaluation. - assert isinstance(pipeline.datamanager, (VanillaDataManager, ParallelDataManager, RandomCamerasDatamanager)) + assert isinstance( + pipeline.datamanager, + (VanillaDataManager, ParallelDataManager, RandomCamerasDataManager), + ) assert pipeline.datamanager.train_pixel_sampler is not None pipeline.datamanager.train_pixel_sampler.num_rays_per_batch = self.num_rays_per_batch