mirror of
https://github.com/gryf/coach.git
synced 2025-12-17 19:20:19 +01:00
Celaning up coach code + removing play/Human agent
This commit is contained in:
@@ -45,8 +45,6 @@ class GymEnvironmentWrapper(ew.EnvironmentWrapper):
|
||||
if self.is_rendered:
|
||||
image = self.get_rendered_image()
|
||||
scale = 1
|
||||
if self.human_control:
|
||||
scale = 2
|
||||
self.renderer.create_screen(image.shape[1]*scale, image.shape[0]*scale)
|
||||
|
||||
if isinstance(self.env.observation_space, gym.spaces.Dict):
|
||||
|
||||
Reference in New Issue
Block a user