Skip to content
New issue

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

env.fork() raises TypeError: "cannot convert dictionary update sequence element #0 to a sequence" #768

Closed
ChrisCummins opened this issue Oct 5, 2022 · 0 comments
Assignees
Labels
Bug Something isn't working
Milestone

Comments

@ChrisCummins
Copy link
Contributor

🐛 Bug

env.reward.spaces is not deep copy-able. To reproduce:

import compiler_gym
from copy import deepcopy

with compiler_gym.make('llvm-v0') as env:
    deepcopy(env.reward.spaces["IrInstructionCount"])
@ChrisCummins ChrisCummins added the Bug Something isn't working label Oct 5, 2022
@ChrisCummins ChrisCummins self-assigned this Oct 5, 2022
@ChrisCummins ChrisCummins added this to the v0.2.5 milestone Oct 5, 2022
This was referenced Nov 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant