Volinga model and NVOL documentation (#1486)

* added volinga model to NeRFStudio

* Removed unused dependencies

* Modified dockerfile to match main

* Corrected typo in core_code_checks.yml

* Corrected typo in core_code_checks.yml

* updated test with Volinga

* Added conversion to NVOL documentation

* [WIP] Refactor documentation and removing Volinga config

* Volinga use existing NerfactoModelConfig

* Added Unreal Engine documentation to extensions

* removed unused field class import

* Updated docs

* Documentation ready

* Update Dockerfile

---------

Co-authored-by: Matthew Tancik <tancik@berkeley.edu>
This commit is contained in:
Fernando Rivas-ManzanequeandMatthew Tancik authored and GitHub committed 2023-02-25 14:49:53 -08:00
1 parent 871eb0f7d3
commit 9053643932
10 files changed
+105 -6

No files matched your search

+5 -2
View File
@@ -21,7 +21,6 @@ from typing import Optional
import numpy as np
import torch
from torch.nn.parameter import Parameter
from torchtyping import TensorType
from nerfstudio.cameras.rays import RaySamples
@@ -62,11 +61,15 @@ class HashMLPDensityField(Field):
features_per_level=2,
) -> None:
super().__init__()
self.aabb = Parameter(aabb, requires_grad=False)
self.register_buffer("aabb", aabb)
self.spatial_distortion = spatial_distortion
self.use_linear = use_linear
growth_factor = np.exp((np.log(max_res) - np.log(base_res)) / (num_levels - 1))
self.register_buffer("max_res", torch.tensor(max_res))
self.register_buffer("num_levels", torch.tensor(num_levels))
self.register_buffer("log2_hashmap_size", torch.tensor(log2_hashmap_size))
config = {
"encoding": {
"otype": "HashGrid",
+5 -1
View File
@@ -116,9 +116,13 @@ class TCNNNerfactoField(Field):
) -> None:
super().__init__()
self.aabb = Parameter(aabb, requires_grad=False)
self.register_buffer("aabb", aabb)
self.geo_feat_dim = geo_feat_dim
self.register_buffer("max_res", torch.tensor(max_res))
self.register_buffer("num_levels", torch.tensor(num_levels))
self.register_buffer("log2_hashmap_size", torch.tensor(log2_hashmap_size))
self.spatial_distortion = spatial_distortion
self.num_images = num_images
self.appearance_embedding_dim = appearance_embedding_dim