Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@calio
Created February 22, 2020 00:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save calio/b12c9093e6dc8db5736f0094dd79b8de to your computer and use it in GitHub Desktop.
Save calio/b12c9093e6dc8db5736f0094dd79b8de to your computer and use it in GitHub Desktop.
OpenAI Baselines + Fiber
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