cvg / pixel-perfect-sfm

Pixel-Perfect Structure-from-Motion with Featuremetric Refinement (ICCV 2021, Best Student Paper Award)
Apache License 2.0
1.29k stars 132 forks source link

Feature: Parallelize dense feature extraction #120

Open catid opened 9 months ago

catid commented 9 months ago

This commit works: https://github.com/catid/pixel-perfect-sfm/commit/89f487fbb0cb9d08cfe8ed16f8deda39501ba049

sarlinpe commented 9 months ago

Are you running this on GPU? I'm unsure whether parallelizing calls on the same GPU is safe. If all images have the same size (which is most often the case), we could instead batch the inference - this is safer and more efficient.

catid commented 9 months ago

Sounds good