We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8bd4f9 commit 49b5ec0Copy full SHA for 49b5ec0
agents/actor_critic_agents/A3C.py
@@ -109,6 +109,7 @@ def set_seeds(self, worker_num):
109
110
def run(self):
111
"""Starts the worker"""
112
+ torch.set_num_threads(1)
113
for ep_ix in range(self.episodes_to_run):
114
with self.optimizer_lock:
115
Base_Agent.copy_model_over(self.shared_model, self.local_model)
0 commit comments