From fbf77bbfd9b1f723763de5e26470fe85c5617e07 Mon Sep 17 00:00:00 2001 From: Hyeontae Son <36671481+countywest@users.noreply.github.com> Date: Thu, 4 Apr 2024 14:42:15 +0900 Subject: [PATCH] typo fixed: check packed_info rather than chunk_cnts --- nerfacc/data_specs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nerfacc/data_specs.py b/nerfacc/data_specs.py index 68181d8a..6f6c29a9 100644 --- a/nerfacc/data_specs.py +++ b/nerfacc/data_specs.py @@ -54,7 +54,7 @@ def _to_cpp(self): spec.vals = self.vals.contiguous() if self.packed_info is not None: spec.chunk_starts = self.packed_info[:, 0].contiguous() - if self.chunk_cnts is not None: + if self.packed_info is not None: spec.chunk_cnts = self.packed_info[:, 1].contiguous() if self.ray_indices is not None: spec.ray_indices = self.ray_indices.contiguous()