ThibaultGROUEIX / ChamferDistancePytorch

Chamfer Distance in Pytorch with f-score
MIT License
326 stars 43 forks source link

What's the difference between dist_chamfer_idx.py and dist_chamfer.py #3

Closed tornadomeet closed 4 years ago

tornadomeet commented 4 years ago

hello, @ThibaultGROUEIX

It's seems that https://github.com/ThibaultGROUEIX/chamfer_pytorch/blob/master/dist_chamfer_idx.py and https://github.com/ThibaultGROUEIX/chamfer_pytorch/blob/master/dist_chamfer.py is the same, is it right? thanks.

ThibaultGROUEIX commented 4 years ago

Hi @tornadomeet , dist_chamfer_id also returns the index of the closest points. https://github.com/ThibaultGROUEIX/chamfer_pytorch/blob/master/dist_chamfer_idx.py#L28

It can be useful depending on what you're trying to do. Best regards, Thibault

tornadomeet commented 4 years ago

@ThibaultGROUEIX got it, thanks!