added logic to comp rays/s on train and vis (#364)

* added logic to comp rays/s on train and vis

* added test and fixed vis rays/sec
This commit is contained in:
evonneng authored and GitHub committed 2022-09-07 13:43:53 -07:00
1 parent 7aa6ca9948
commit 7b6ed5496b
6 files changed
+62 -32

No files matched your search

+3 -1
View File
@@ -115,8 +115,10 @@ class LocalWriterConfig(InstantiateConfig):
enable: bool = False
stats_to_track: Tuple[writer.EventName, ...] = (
writer.EventName.ITER_TRAIN_TIME,
writer.EventName.RAYS_PER_SEC,
writer.EventName.TRAIN_RAYS_PER_SEC,
writer.EventName.CURR_TEST_PSNR,
writer.EventName.VIS_RAYS_PER_SEC,
writer.EventName.TEST_RAYS_PER_SEC,
)
max_log_size: int = 10
relative_log_dir: Path = Path("./")