Created
February 22, 2020 00:10
-
-
Save calio/b12c9093e6dc8db5736f0094dd79b8de to your computer and use it in GitHub Desktop.
OpenAI Baselines + Fiber
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/baselines/common/vec_env/subproc_vec_env.py b/baselines/common/vec_env/subproc_vec_env.py | |
index 8c74000..d0ea409 100644 | |
--- a/baselines/common/vec_env/subproc_vec_env.py | |
+++ b/baselines/common/vec_env/subproc_vec_env.py | |
@@ -1,4 +1,4 @@ | |
-import multiprocessing as mp | |
+import fiber as mp | |
import numpy as np | |
from .vec_env import VecEnv, CloudpickleWrapper, clear_mpi_env_vars |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment