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.73k stars 539 forks source link

Tensorflow and Stablebaselines Compatibility Issue #141

Open trisongz opened 4 years ago

trisongz commented 4 years ago

Wanted to give a heads up to anyone trying to run this. You will need specifically tensorflow==1.14.0 because stablebaselines only supports up until this version (aka breaking module name changes).

For anyone trying to run on Colab, you'll need to run:

pip uninstall tensorflow pip install tensorflow==1.14.0 pip install stable-baselines[mpi]==2.8.0

https://github.com/hill-a/stable-baselines/issues/520

TheStoneMX commented 3 years ago

https://stackoverflow.com/questions/58359881/tf-contrib-layers-fully-connected-in-tensorflow-2

zahragh996 commented 2 years ago

Wanted to give a heads up to anyone trying to run this. You will need specifically tensorflow==1.14.0 because stablebaselines only supports up until this version (aka breaking module name changes).

For anyone trying to run on Colab, you'll need to run:

pip uninstall tensorflow pip install tensorflow==1.14.0 pip install stable-baselines[mpi]==2.8.0

hill-a/stable-baselines#520

Hi I tries these codes, unfortunately got this error: ERROR: Could not find a version that satisfies the requirement tensorflow==1.14.0 (from versions: 2.2.0rc1, 2.2.0rc2, 2.2.0rc3, 2.2.0rc4, 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.3.0rc0, 2.3.0rc1, 2.3.0rc2, 2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.4.0rc0, 2.4.0rc1, 2.4.0rc2, 2.4.0rc3, 2.4.0rc4, 2.4.0, 2.4.1, 2.4.2, 2.4.3, 2.4.4, 2.5.0rc0, 2.5.0rc1, 2.5.0rc2, 2.5.0rc3, 2.5.0, 2.5.1, 2.5.2, 2.6.0rc0, 2.6.0rc1, 2.6.0rc2, 2.6.0, 2.6.1, 2.7.0rc0, 2.7.0rc1, 2.7.0)
ERROR: No matching distribution found for tensorflow==1.14.0