misc viewer fixes including when no samples in a chunk (#491)

viewer fixes
This commit is contained in:
Ethan Weber authored and GitHub committed 2022-09-19 18:36:26 -07:00
1 parent a43776d76d
commit 35c8d7e53c
4 files changed
+12 -2

No files matched your search

+2
View File
@@ -126,6 +126,8 @@ class Trainer:
# if the viewer used, the rendering of the viewer will be included in the iteration train time
with TimeWriter(writer, EventName.ITER_TRAIN_TIME, step=step) as train_t:
self.pipeline.train()
# training callbacks before the training iteration
for callback in self.callbacks:
callback.run_callback_at_location(