mirror of
https://github.com/Farama-Foundation/Gymnasium.git
synced 2025-08-23 15:04:20 +00:00
Update vector_envs_tutorial.py (#347)
Co-authored-by: Mark Towers <mark.m.towers@gmail.com>
This commit is contained in:
@@ -3,6 +3,19 @@ Training A2C with Vector Envs and Domain Randomization
|
|||||||
======================================================
|
======================================================
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
# %%
|
||||||
|
# Notice
|
||||||
|
# ------
|
||||||
|
#
|
||||||
|
# If you encounter an RuntimeError like the following comment raised on multiprocessing/spawn.py, wrap up the code from ``gym.vector.make=`` or ``gym.vector.AsyncVectorEnv`` to the end of the code by ``if__name__ == '__main__'``.
|
||||||
|
#
|
||||||
|
# ``An attempt has been made to start a new process before the current process has finished its bootstrapping phase.``
|
||||||
|
#
|
||||||
|
|
||||||
|
# %%
|
||||||
|
#
|
||||||
|
# ------------------------------
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
# %%
|
# %%
|
||||||
|
Reference in New Issue
Block a user