mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-06 15:59:16 +08:00
code runs again, working on integrating test set and optimizers
This commit is contained in:
1 parent
8ed28b7a37
commit
7e5a5bf524
7 files changed
+60
-21
No files matched your search
@@ -13,18 +13,6 @@ import torch
|
||||
from mattport.utils.io import get_absolute_path, load_from_json
|
||||
|
||||
|
||||
class DotDict(dict):
|
||||
"""
|
||||
dot.notation access to dictionary attributes
|
||||
"""
|
||||
|
||||
def __getattr__(self, attr):
|
||||
return self[attr]
|
||||
|
||||
__setattr__ = dict.__setitem__
|
||||
__delattr__ = dict.__delitem__
|
||||
|
||||
|
||||
@dataclass
|
||||
class DatasetInputs:
|
||||
"""Dataset inputs for the image dataset and the ray generator."""
|
||||
|
||||
Reference in new issue
Block a user