mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-27 19:40:17 +08:00
compound model (wip) (#427)
* compound model now uses compound field, passing num_images in the config, working on passing image indices through ngp sampler * renaming cuda func, adding torch compound support * removing unused imports * getting num images from dataloader instead of config * fixing pylint and adding todo * undoing base config change * adding cone angle and near plane to compound model config
This commit is contained in:
1 parent
2495cfe1ee
commit
84024a4e73
10 files changed
+170
-31
No files matched your search
@@ -51,11 +51,13 @@ class Model(nn.Module):
|
||||
self,
|
||||
config: cfg.ModelConfig,
|
||||
scene_bounds: SceneBounds,
|
||||
num_train_data: int,
|
||||
**kwargs,
|
||||
) -> None:
|
||||
super().__init__()
|
||||
self.config = config
|
||||
self.scene_bounds = scene_bounds
|
||||
self.num_train_data = num_train_data
|
||||
self.density_field = None
|
||||
self.kwargs = kwargs
|
||||
self.collider = None
|
||||
|
||||
Reference in new issue
Block a user