mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-12 02:45:34 +08:00
[wip] added throttle so viewer doesnt crash (#411)
* added throttle so viewer doesnt crash * fix rendering bug * lint
This commit is contained in:
1 parent
416669d808
commit
e516e668b9
1 file changed
+1
@@ -314,6 +314,7 @@ class VisualizerState:
|
||||
# if self._is_render_step(local_step) and step > 0:
|
||||
if step > 0:
|
||||
self._render_image_in_viewer(camera_object, graph, is_training)
|
||||
camera_object = self._get_camera_object()
|
||||
is_training = self.vis["renderingState/isTraining"].read()
|
||||
run_loop = not is_training
|
||||
local_step += 1
|
||||
|
||||
Reference in new issue
Block a user