Emilien Garreau 813e941de5 Add the OverfitModel
Summary:
Introduces the OverfitModel for NeRF-style training with overfitting to one scene.
It is a specific case of GenericModel. It has been disentangle to ease usage.

## General modification

1. Modularize a minimum GenericModel to introduce OverfitModel
2. Introduce OverfitModel and ensure through unit testing that it behaves like GenericModel.

## Modularization

The following methods have been extracted from GenericModel to allow modularity with ManyViewModel:
- get_objective is now a call to weighted_sum_losses
- log_loss_weights
- prepare_inputs

The generic methods have been moved to an utils.py file.

Simplify the code to introduce OverfitModel.

Private methods like chunk_generator are now public and can now be used by ManyViewModel.

Reviewed By: shapovalov

Differential Revision: D43771992

fbshipit-source-id: 6102aeb21c7fdd56aa2ff9cd1dd23fd9fbf26315
2023-03-24 07:27:39 -07:00
..
2023-01-17 06:11:56 -08:00
2023-03-24 07:27:39 -07:00
2022-03-21 13:20:10 -07:00
2022-10-09 05:06:49 -07:00
2023-01-27 03:56:53 -08:00
2022-07-22 15:52:50 -07:00
2022-11-24 09:38:02 -08:00
2022-08-01 01:52:12 -07:00
2022-05-25 06:16:03 -07:00
2022-06-10 12:22:46 -07:00
2023-01-24 15:26:52 -08:00
2022-10-03 08:36:47 -07:00
2022-10-03 08:36:47 -07:00
2022-06-28 16:11:49 -07:00
2022-05-12 12:50:03 -07:00