Skip to content

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

@ChrisCummins

Description

@ChrisCummins

🐛 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"])

Metadata

Metadata

Assignees

Labels

BugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions