Closed laermannjan closed 7 years ago
Checkout misc_util.EzPickle
and misc_util.relatively_safe_pickle(...)
.
Maybe we can also unpack or strip the SwigPyObject
from the System state before pickling.
Or is this just a bug concerning dill.py
?
Fixed with 65cebd4266234e5082ff043aa3e135a31d8bc5a2
Environment LunarLander
Behaviour Agents cannot be pickled and written to file.
Reproduction Procedure Run any lunarlander experiment, e.g.
python testbench.py LunarLander-v2 dummy
Stack Trace