notadamking / RLTrader

A cryptocurrency trading environment using deep reinforcement learning and OpenAI's gym
https://discord.gg/ZZ7BGWh
GNU General Public License v3.0
1.71k stars 537 forks source link

Fix hang on optimize #99

Closed rshtirmer closed 5 years ago

rshtirmer commented 5 years ago

Credits to https://github.com/tensorflow/tensorflow/issues/5448#issuecomment-258940888 Tested and can confirm this fixes the hang issue in cli.py.