princeton-vl / DROID-SLAM

BSD 3-Clause "New" or "Revised" License
1.66k stars 273 forks source link

Rewrite sample corr using torch like RAFT #23

Closed HardysJin closed 2 years ago

HardysJin commented 2 years ago

Hi, thanks for the wonderful work.

I got some questions

Thanks

zachteed commented 2 years ago

Hi, yes the corr sampling is exactly the same as RAFT. I implemented it as a cuda kernel to improve speed and decrease memory usage. The grid sampling operation in pytorch was a fairly large bottleneck in raft.

HardysJin commented 2 years ago

Thanks, got it work