Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assertion error on TOSCA mesh dataset #4

Closed
dvirginz opened this issue May 23, 2019 · 1 comment
Closed

Assertion error on TOSCA mesh dataset #4

dvirginz opened this issue May 23, 2019 · 1 comment
Assignees

Comments

@dvirginz
Copy link

Thank you very much for making the descriptor open source!
I'm running it on the TOSCA dataset (highly descriptive meshes with over 10000 vertices)
and I'm having an assertion error on some of them:
void SHOTDescriptor::interpolateSingleChannel(vtkPolyData*, vtkIdList*, const std::vector<double>&, const double*, float*, std::vector<double>&, int, double*): Assertion (desc_index - 1) * (nr_bins+1) + step_index >= 0 && (desc_index - 1) * (nr_bins+1) + step_index < m_descLength' failed.`

I know that the dataset is valid, and the meshes are fine(I'm able to display them properly using pyMesh.
What can be the problem? what's the logic behind the assertion?

Thanks a lot.

@samuelesalti
Copy link
Collaborator

Hi Dvir,

the assertion checks if we are going to write beyond the memory limit of the array holding the descriptor. This could be due to a bug in the way we quantize the values to be accumulated in the descriptor, or to some inconsistencies in the input data.

Could you please send to me one of the meshes that is raising the assertion and a snippet describing how you are running the descriptor on it, so that we can try to replicate your issue?

Thanks,
Samuele

@samuelesalti samuelesalti self-assigned this May 27, 2019
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

No branches or pull requests

2 participants