mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-07 00:09:14 +08:00
Update exporter.py
This commit is contained in:
1 parent
4b673a9359
commit
c96f5223b3
1 file changed
+4
-1
@@ -309,7 +309,10 @@ class ExportPoissonMesh(Exporter):
|
|||||||
validate_pipeline(self.normal_method, self.normal_output_name, pipeline)
|
validate_pipeline(self.normal_method, self.normal_output_name, pipeline)
|
||||||
|
|
||||||
# Increase the batchsize to speed up the evaluation.
|
# 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
|
assert pipeline.datamanager.train_pixel_sampler is not None
|
||||||
pipeline.datamanager.train_pixel_sampler.num_rays_per_batch = self.num_rays_per_batch
|
pipeline.datamanager.train_pixel_sampler.num_rays_per_batch = self.num_rays_per_batch
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user