google-deepmind / lab

A customisable 3D platform for agent-based AI research
Other
7.06k stars 1.36k forks source link

Reset() environment to a specific state? #229

Open ghost opened 2 years ago

ghost commented 2 years ago

Since I am doing some research with DMlab, I was wondering if there are possible solutions to manually reset the environment to a specific state rather than the initial state?

ghost commented 2 years ago

I noticed that maybe if I can deepcopy() an environment, it can meet my requirements, however, when I try to deepcopy a Lab object, an error occurs and shows something like this

TypeError: can't pickle deepmind_lab.Lab objects

Could anybody tell me how to figure it out? Thanks a lot!

o00000o commented 2 years ago

Since I am doing some research with DMlab, I was wondering if there are possible solutions to manually reset the environment to a specific state rather than the initial state? hi,Have you ever thought about it RuntimeError: Failed to connect RL API I cloned DMLab to see if it works The problem arises with this command bazel run :python_random_agent