Render oriented crops in viewer beta (#2447)

* add obb to the rendering pipeline

* useless line

* lint

* remove todo

* pyright

* more pyright
This commit is contained in:
Justin Kerr authored and GitHub committed 2023-09-19 16:48:54 -07:00
1 parent 3e1d4af821
commit e0d8f04267
4 files changed
+139 -38

No files matched your search

+4 -1
View File
@@ -170,10 +170,13 @@ class Trainer:
)
banner_messages = [f"Viewer at: {self.viewer_state.viewer_url}"]
if self.config.is_viewer_beta_enabled() and self.local_rank == 0:
datapath = self.config.data
if datapath is None:
datapath = self.base_dir
self.viewer_state = ViewerBetaState(
self.config.viewer,
log_filename=viewer_log_path,
datapath=self.base_dir,
datapath=datapath,
pipeline=self.pipeline,
trainer=self,
train_lock=self.train_lock,