diff --git a/benchmark/torch/AlphaZero/README.md b/benchmark/torch/AlphaZero/README.md index 72d9c807fb5066c51b49520b8aca3a5e666e133c..db782a455f7148cfce7eb85e28ce9a6b598631d7 100644 --- a/benchmark/torch/AlphaZero/README.md +++ b/benchmark/torch/AlphaZero/README.md @@ -5,7 +5,7 @@ ### Dependencies - python3 -- [parl==1.3](https://github.com/PaddlePaddle/PARL) +- [parl==1.3.2](https://github.com/PaddlePaddle/PARL) - torch - tqdm diff --git a/parl/remote/worker.py b/parl/remote/worker.py index e16e11d2345c80ff0c5f6f33a2296271c9a21c31..330bad26f6dcee8da212885d7cb122df3505900c 100644 --- a/parl/remote/worker.py +++ b/parl/remote/worker.py @@ -420,4 +420,5 @@ class Worker(object): def run(self): """Keep running until it lost connection with the master. """ - self.reply_master_hearbeat_thread.join() + if self.worker_is_alive: + self.reply_master_hearbeat_thread.join()