You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The output I get is: AssertionError: The observation returned by the reset() method does not match the given observation space
I've debugged your TradingEnv class and did't see any issue, so I've thought the problem could be in check_env().
I've debugged check_env() as well, but everything seems fine there.
Then I went for the last test which was running check_env() with the classic CartPole-v0 from gym, here check_env() didn't trow any exception and run smoothly.
Hi there,
I've encountered an issue running the following code:
The output I get is:
AssertionError: The observation returned by the reset() method does not match the given observation space
I've debugged your
TradingEnv
class and did't see any issue, so I've thought the problem could be incheck_env()
.I've debugged
check_env()
as well, but everything seems fine there.Then I went for the last test which was running
check_env()
with the classicCartPole-v0
from gym, herecheck_env()
didn't trow any exception and run smoothly.This is the code for the
CartPole-v0
:Do you have any clue why this is happening? I'm confused lol
The text was updated successfully, but these errors were encountered: