Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tensorflow Version #11

Open
XL-Reaper opened this issue Jan 24, 2021 · 3 comments
Open

Tensorflow Version #11

XL-Reaper opened this issue Jan 24, 2021 · 3 comments

Comments

@XL-Reaper
Copy link

Hi,

could it be that this project is based on Tensorflow 1.15? I do get dependency errors when trying to run.
It complain about deepq missing tensorflow.contrib, but that is deprecated in Tensorflow 2.
Would it be possible for you to update the project to Tensorflow 2?

@brizzbane
Copy link

Yes.

#5 (comment)

@xsa-dev
Copy link

xsa-dev commented May 6, 2021

This works for me:
pip install https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.5.0-py3-none-any.whl

link

@Hsgngr
Copy link

Hsgngr commented May 26, 2021

For me I had to do couple of things and lastly it worked. Here are the steps that I have followed:

I am using anaconda for creating virtual environments so first I git clone freqtrade's original repo.
Inside of the repo I git clone this freqtrade-gym.

I copied the files where they belong as the documentation says.

Then I add tensorflow==1.15 into environment.yaml file.

$ conda env create -n freqtrade-gym python==3.6 -f environment.yml

pip install gym

pip install stable-baselines[mpi]

Lastly I cut the LoadRlModel.py from strageies because it was throwing "file couldn't be found error"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants