Skip to content

typo fixed: check packed_info rather than chunk_cnts#292

Open
countywest wants to merge 1 commit intonerfstudio-project:masterfrom
countywest:countywest-patch-1
Open

typo fixed: check packed_info rather than chunk_cnts#292
countywest wants to merge 1 commit intonerfstudio-project:masterfrom
countywest:countywest-patch-1

Conversation

@countywest
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant