We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In some rare cases, modifying the observation object may cause exception the next time we do env.step(act)
env.step(act)
For example, the code below reproduces such "bug"
import grid2op if __name__ == '__main__': env = grid2op.make("l2rpn_case14_sandbox") do_nothing = env.action_space({}) s, r, done, info = env.step(do_nothing) setattr(s, "line_status", getattr(s, "line_status") / 1) # do some weird things to the vector "line_status" _, _, _, _ = env.step(do_nothing) print("Exception above")
The text was updated successfully, but these errors were encountered:
Hello :-)
Thanks for letting us know, we'll do our best. This is probably due to a shallow copy vs deep copy of a numpy array when the observation is created.
I'll try to fix it in next release :-)
Benjamin
Sorry, something went wrong.
adding fix for issue #151
d45b3fc
Merge pull request #151 from BDonnot/bd_dev
a6af965
Adding l2rpn_utils module for l2rpn envs
Successfully merging a pull request may close this issue.
In some rare cases, modifying the observation object may cause exception the next time we do
env.step(act)
For example, the code below reproduces such "bug"
The text was updated successfully, but these errors were encountered: