mirror of
https://github.com/gryf/coach.git
synced 2025-12-17 19:20:19 +01:00
multiple bug fixes in dealing with measurements + CartPole_DFP preset (#92)
This commit is contained in:
@@ -135,7 +135,7 @@ class DoomEnvironmentWrapper(EnvironmentWrapper):
|
||||
# extract all data from the current state
|
||||
state = self.game.get_state()
|
||||
if state is not None and state.screen_buffer is not None:
|
||||
self.observation = {
|
||||
self.state = {
|
||||
'observation': state.screen_buffer,
|
||||
'measurements': state.game_variables,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user