Added cache capabilities for data

This commit is contained in:
Chung Min Kim committed 2023-04-02 23:19:24 +00:00
1 parent 5952a692eb
commit d8b2462e50
7 files changed
+70 -43

No files matched your search

+6 -4
View File
@@ -9,12 +9,14 @@ from nerfstudio.configs import base_config as cfg
@dataclass
class BaseImageEncoderConfig(cfg.InstantiateConfig):
_target: Type = field(default_factory=lambda: BaseImageEncoder)
name: str = ""
"""name of the encoder"""
description: str = ""
"""description of the encoder"""
class BaseImageEncoder:
@abstractproperty
def name(self) -> str:
"""
returns the name of the encoder
"""
@abstractproperty
def embedding_dim(self) -> int:
"""