mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-15 04:13:57 +08:00
Implement ForwardRef generic interface
This commit is contained in:
1 parent
8d24a3bcab
commit
77b7bfb1b1
33 files changed
+120
-89
No files matched your search
@@ -8,10 +8,9 @@ A skeleton of the local writer config is defined below.
|
||||
"""nerfstudio/configs/base_config.py""""
|
||||
|
||||
@dataclass
|
||||
class LocalWriterConfig(InstantiateConfig):
|
||||
class LocalWriterConfig(InstantiateConfig[writer.LocalWriter]):
|
||||
"""Local Writer config"""
|
||||
|
||||
_target: Type = writer.LocalWriter
|
||||
enable: bool = False
|
||||
stats_to_track: Tuple[writer.EventName, ...] = (
|
||||
writer.EventName.ITER_TRAIN_TIME,
|
||||
|
||||
Reference in new issue
Block a user