google-research / sparf

This is the official code release for SPARF: Neural Radiance Fields from Sparse and Noisy Poses [CVPR 2023-Highlight]
https://prunetruong.com/sparf.github.io/
Apache License 2.0
285 stars 15 forks source link

Laggy When Running #14

Closed TwiceMao closed 8 months ago

TwiceMao commented 8 months ago

@PruneTruong Hi,thx for your awesome work. I have 48 1200*680 color images and want to compare them with your paper. However, when running your code, the GPU is out of memory during image matching. It seems that your feature matching is all-to-all. Can you give me some advice?

PruneTruong commented 8 months ago

Hi, you can change the batch size for the matching computation here: s://github.com/google-research/sparf/blob/main/train_settings/default_config.py#L192.