Breakend / gym-extensions

This repo is intended as an extension for OpenAI Gym for auxiliary tasks (multitask learning, transfer learning, inverse reinforcement learning, etc.)
https://breakend.github.io/gym-extensions/
Other
213 stars 41 forks source link

multiprocess reduce can't pickle local object 'ModifiedSizeEnvFactory'.<locals>.ModifiedSizeEnv #9

Open emigmo opened 5 years ago

emigmo commented 5 years ago

When I use Morphological Modifications of the Mujoco agent, such as HalfCheetahBigFoot in multiprocess, I get the 'can't pickle local object 'ModifiedSizeEnvFactory'..ModifiedSizeEnv' screenshot 2019-02-28 15 28 25 by the way, When I do not create an agent(HalfCheetahBigFoot) in a multiprocess way, It's OK.

Breakend commented 5 years ago

Did you figure out the issue here? I'm not sure what the rest of the code looks like for multiprocessing so it's a bit hard to figure out what's going on.