There is no member named chunk_cnts in the class RaySamples.
We should check self.packed_info is not None as we check it for assigning values to spec.chunk_starts.
Before this fix, we cannot use the nerfacc.searchsorted using RaySamples with the following error message.
AttributeError: 'RaySamples' object has no attribute 'chunk_cnts'
After this fix, nerfacc.searchsorted works fine.
There is no member named
chunk_cnts
in the class RaySamples. We should checkself.packed_info is not None
as we check it for assigning values tospec.chunk_starts
.Before this fix, we cannot use the nerfacc.searchsorted using RaySamples with the following error message.
AttributeError: 'RaySamples' object has no attribute 'chunk_cnts'
After this fix, nerfacc.searchsorted works fine.