Pytorch3d: Repeated KNN (chamfer loss) evaluations when one point cloud is fixed

Created on 12 Mar 2021  路  1Comment  路  Source: facebookresearch/pytorch3d

I'm wondering if an optimisation is possible for the situation where I'm repeatedly computing chamfer loss (and hence KNN search with K=1) when one of the two point clouds is fixed?

It seems like it should be possible to put the fixed shape into a KNN search tree, keep this fixed and use it for one of the two directions of chamfer loss. Then only one KNN search tree will need building on the fly.

Would this indeed boost performance and any thoughts on how to go about implementing it?

question

Most helpful comment

The faiss project contains some highly performant ways of making an index for nearest neighbor search, but it is typically used for larger dimension than our typical 3 and gets used with very large numbers of points. It might be worth trying it or taking ideas from it.

>All comments

The faiss project contains some highly performant ways of making an index for nearest neighbor search, but it is typically used for larger dimension than our typical 3 and gets used with very large numbers of points. It might be worth trying it or taking ideas from it.

Was this page helpful?
0 / 5 - 0 ratings