krrish94 / chamferdist

Pytorch package to compute Chamfer distance between point sets (pointclouds).
Other
290 stars 50 forks source link

Doesn't work in 2D #4

Closed hugovergnes closed 3 years ago

hugovergnes commented 4 years ago

Use the sample code in example, but use 2 dimension instead of 3.

Functions compute without throwing an error, but the index returned are false.

krrish94 commented 3 years ago

Hi @hugovergnes,

The module expects 3-dimensional tensors. Thanks for raising this issue; I'll highlight this more explicitly in the README.

krrish94 commented 3 years ago

Updated