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
In def run_round(...)state = self.env.reset() is getting assigned a tuple of (obs, {}) from def reset(...).
However, def build_state_msg(..) expects state to be a dict whose key must be a str in order to be able to call split(...).
There is either an error in
def reset(...)
or indef run_round(...)
.In
def run_round(...)
state = self.env.reset()
is getting assigned a tuple of(obs, {})
fromdef reset(...)
.However,
def build_state_msg(..)
expectsstate
to be a dict whose key must be astr
in order to be able to callsplit(...)
.Possible fixes
obs
indef reset(...)
state, _ = self.env.reset()
indef run_round(...)
The text was updated successfully, but these errors were encountered: