a-lemus96 / fs-nerf

PyTorch implementation for experimenting with frequency regularized Neural Radiance Fields.
1 stars 0 forks source link

[refactor]: Validation computation #5

Closed a-lemus96 closed 1 year ago

a-lemus96 commented 1 year ago

Abstract duplicate validation code into a function that computes validation error over a nonempty validation subset. Of course, the size of the validation subset may be equal to the size of the entire validation set, in which case a full validation is computed.