cnn-registration icon indicating copy to clipboard operation
cnn-registration copied to clipboard

How can I reduce the execution time of numpy.linalg.norm()?

Open 12345data opened this issue 5 years ago • 3 comments

While executing the script found that the numpy.linalg.norm() process is taking much time for execution. I have tried by reducing the number of points passed to the function and got better throughput but not such satisfiable for me. In the current situation, it is taking about 3-4 seconds for one comparison. How can I reduce it to below 1 second without much compromising the accuracy.

12345data avatar Dec 09 '19 08:12 12345data

Does your experiment have good performance? about multi-sensor images?

corin-lyz avatar Dec 17 '19 01:12 corin-lyz

Does your experiment have good performance? about multi-sensor images?

Have you solved this problem?

corin-lyz avatar Dec 24 '19 02:12 corin-lyz

Can you try with this function https://docs.scipy.org/doc/scipy/reference/generated/scipy.spatial.distance.cdist.html ?

uzpaka avatar Jan 07 '20 16:01 uzpaka