Module ilpyt.envs
Wrappers for the OpenAI Gym environments:SubProcVecEnv
and DummyVecEnv
. They produce parallelized and serializedvectorized Gym environments for high-throughput training, respectively. To implement a custom environment, simply extend the OpenAI Gym Environment interface, register, and use with ilpyt
as normal: https://github.com/openai/gym/blob/master/docs/creating-environments.md.
Expand source code
"""
Wrappers for the OpenAI Gym environments:`SubProcVecEnv` and `DummyVecEnv`. They produce parallelized and serializedvectorized Gym environments for high-throughput training, respectively. To implement a custom environment, simply extend the OpenAI Gym Environment interface, register, and use with `ilpyt` as normal: https://github.com/openai/gym/blob/master/docs/creating-environments.md.
"""
Sub-modules
ilpyt.envs.dummy_vec_env
-
DummyVecEnv
is a vectorized OpenAI Gym environment object, implemented in a serial fashion. This is good for debugging purposes. Adapted from: … ilpyt.envs.subproc_vec_env
-
SubprocVecEnv
is a vectorized OpenAI Gym environment object, implemented in a parallel fashion. This is good for high-throughput training and … ilpyt.envs.vec_env
-
VecEnv
is a vectorized OpenAI Gym environment object. Adapted from: https://github.com/openai/baselines/