Skip to content

Commit

Permalink
Sleep between worker init
Browse files Browse the repository at this point in the history
  • Loading branch information
awjuliani authored Mar 13, 2017
1 parent 3110c56 commit 4147575
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions A3C-Doom.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,7 @@
" worker_work = lambda: worker.work(max_episode_length,gamma,sess,coord,saver)\n",
" t = threading.Thread(target=(worker_work))\n",
" t.start()\n",
" sleep(0.5)\n",
" worker_threads.append(t)\n",
" coord.join(worker_threads)"
]
Expand Down

0 comments on commit 4147575

Please sign in to comment.