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
leads to a str' object has no attribute 'action'-error.
There are two options to fix the problem.
Either change in core.py line 279 to args = [self.steps, self] (don't know how that would interact for the other environments)
or use env.steps[i] in line 135 of mab.py. I will create a PR with the latter option, although I think the first option, if done correctly would lead to a better implementation. Also interesting, that the argument of the renderer function is called steps but effectively gets the env.state object.
The text was updated successfully, but these errors were encountered:
With version 1.7.3 installed via pip the following code
leads to a
str' object has no attribute 'action'
-error.There are two options to fix the problem.
Either change in core.py line 279 to
args = [self.steps, self]
(don't know how that would interact for the other environments)or use
env.steps[i]
in line 135 of mab.py. I will create a PR with the latter option, although I think the first option, if done correctly would lead to a better implementation. Also interesting, that the argument of therenderer
function is calledsteps
but effectively gets theenv.state
object.The text was updated successfully, but these errors were encountered: