-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Tensor Flow 2 Compatibility #123
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These changes allowes me to run the code with python 3.8 and tensorflow 2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm working on a Google Colab with these changes in mind. I'll report back with the results if I don't forget, but cursory glance and one test shows it is a functional solution. I recommend merging as the updated tensor flow progresses.
Thank you for this, it is very helpful and should probably be merged to master! I spent about an hour trying to do this myself before realizing someone had probably already done it... |
I added some changes for run "python3 runGan.py 1" with Tensorflow 2.
Also you need to install:
pip install tf_slim
pip install tensorflow_addons