1
0
mirror of https://github.com/gryf/coach.git synced 2025-12-17 19:20:19 +01:00

by default assume state["observation"] is where the image for rendering can be found

This commit is contained in:
Zach Dwiel
2018-02-20 11:45:35 -05:00
parent f9f92a42fd
commit 0740ebcdac

View File

@@ -261,5 +261,4 @@ class EnvironmentWrapper(object):
This can be different from the state. For example, mujoco's state is a measurements vector. This can be different from the state. For example, mujoco's state is a measurements vector.
:return: numpy array containing the image that will be rendered to the screen :return: numpy array containing the image that will be rendered to the screen
""" """
# TODO: probably needs revisiting return self.state['observation']
return self.state