Open
Conversation
Entretoize
approved these changes
Mar 29, 2022
Entretoize
left a comment
There was a problem hiding this comment.
These changes allowes me to run the code with python 3.8 and tensorflow 2
nathandtrone
left a comment
There was a problem hiding this comment.
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... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

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