Update vector_envs_tutorial.py (#347)

Co-authored-by: Mark Towers <mark.m.towers@gmail.com>
This commit is contained in:
DYK
2023-03-15 00:18:26 +09:00
committed by GitHub
parent a863a7a8ea
commit be0d319b77

View File

@@ -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.``
#
# %%
#
# ------------------------------
#
# %%