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

keras / tensorflow version compatibility #37

Open
rekham1077 opened this issue Jun 30, 2020 · 2 comments
Open

keras / tensorflow version compatibility #37

rekham1077 opened this issue Jun 30, 2020 · 2 comments

Comments

@rekham1077
Copy link

Hello,

I am using deepcpg-1.0.7. I am using it through a conda environment with python 3.5, keras 2.0.2, and tensorflow 1.0.1. I have tried later versions of all three as well and I just keep getting error after error running the dcpg_train.py.

I'm attaching the current error with the listed versions of dependencies above.
Screen Shot 2020-06-30 at 1 16 24 PM

@rekham1077
Copy link
Author

rekham1077 commented Jun 30, 2020

Update: I got the dcpg_train.py script to work! I ended up using a conda environment with python 3.6.3, deepcpg 1.0.7, keras 2.2.0, tensorflow 1.10.0. Other dependencies were installed when I added deepcpg.

I had tried using later versions of keras and tf but I get different errors with each version, and the same thing for trying lower versions. The version compatibility issue also seems to be mostly an issue with the dcpg_train.py step but not the other scripts as far as I know.

@Toseph
Copy link

Toseph commented Jun 30, 2020

Chiming in on this thread to mention I had encountered the same issue as @rekham1077 while using the latest python installation (v3.8.3) and tensorflow (v2.2.0). The scripts also assume by default anaconda is being used (in my installation it isn't) so we've had to update the shebang so it is available for virtualenv use by users as well.

Changed:
#!/anaconda3/envs/deepcpg/bin/python
To:
#!/usr/bin/python env

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

2 participants