Unnecessary lines in Base4, and changes for box space, to fit better for our needs (#7324)

This commit is contained in:
Richard Jozsa
2022-08-31 16:37:02 +02:00
committed by GitHub
parent 1a8e1362a1
commit 2493e0c8a5
2 changed files with 1 additions and 5 deletions

View File

@@ -57,7 +57,7 @@ class BaseEnvironment(gym.Env):
self.shape = (window_size, self.signal_features.shape[1] + 3)
self.set_action_space()
self.observation_space = spaces.Box(
low=-np.inf, high=np.inf, shape=self.shape, dtype=np.float32)
low=-1, high=1, shape=self.shape, dtype=np.float32)
# episode
self._start_tick: int = self.window_size