mirror of
https://github.com/gryf/coach.git
synced 2025-12-17 19:20:19 +01:00
fix for human control
This commit is contained in:
@@ -161,7 +161,7 @@ class Environment(EnvironmentInterface):
|
|||||||
self.human_control = human_control
|
self.human_control = human_control
|
||||||
self.wait_for_explicit_human_action = False
|
self.wait_for_explicit_human_action = False
|
||||||
self.is_rendered = visualization_parameters.render or self.human_control
|
self.is_rendered = visualization_parameters.render or self.human_control
|
||||||
self.native_rendering = visualization_parameters.native_rendering or self.human_control
|
self.native_rendering = visualization_parameters.native_rendering and not self.human_control
|
||||||
self.visualization_parameters = visualization_parameters
|
self.visualization_parameters = visualization_parameters
|
||||||
if not self.native_rendering:
|
if not self.native_rendering:
|
||||||
self.renderer = Renderer()
|
self.renderer = Renderer()
|
||||||
|
|||||||
Reference in New Issue
Block a user