mirror of
https://github.com/Farama-Foundation/Gymnasium.git
synced 2025-09-01 18:31:54 +00:00
Fixed shape of observation
This commit is contained in:
@@ -48,7 +48,7 @@ class CNNClassifierTraining(gym.Env):
|
|||||||
|
|
||||||
# observation features, in order: num of instances, num of labels,
|
# observation features, in order: num of instances, num of labels,
|
||||||
# validation accuracy after training with given parameters
|
# validation accuracy after training with given parameters
|
||||||
self.observation_space = spaces.Box(-1e5, 1e5, 3) # validation accuracy
|
self.observation_space = spaces.Box(-1e5, 1e5, 2) # validation accuracy
|
||||||
|
|
||||||
# Start the first game
|
# Start the first game
|
||||||
self._reset()
|
self._reset()
|
||||||
|
Reference in New Issue
Block a user