Update exporter.py

This commit is contained in:
Brent Yi authored and GitHub committed 2023-11-30 18:36:09 -08:00
1 parent 4b673a9359
commit c96f5223b3
1 file changed
+4 -1
+4 -1
View File
@@ -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