code runs again, working on integrating test set and optimizers

This commit is contained in:
Ethan Weber committed 2022-04-21 21:57:36 +00:00
1 parent 8ed28b7a37
commit 7e5a5bf524
7 files changed
+60 -21

No files matched your search

-12
View File
@@ -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."""