increased sleep between steps
This commit is contained in:
parent
765abebe0a
commit
3e266b1c35
|
|
@ -239,7 +239,7 @@ class FlowerGameEnv(gym.Env):
|
||||||
elif action == 3:
|
elif action == 3:
|
||||||
pyautogui.keyDown("d", _pause=False)
|
pyautogui.keyDown("d", _pause=False)
|
||||||
|
|
||||||
time.sleep(0.01)
|
time.sleep(0.2)
|
||||||
|
|
||||||
obs = self._build_observation()
|
obs = self._build_observation()
|
||||||
reward = self._calculate_reward()
|
reward = self._calculate_reward()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user