Skip to content

pix2pix.py is modified to work on tensorflow 2.0 or higher#191

Open
mehshankhan wants to merge 1 commit into
affinelayer:masterfrom
mehshankhan:master
Open

pix2pix.py is modified to work on tensorflow 2.0 or higher#191
mehshankhan wants to merge 1 commit into
affinelayer:masterfrom
mehshankhan:master

Conversation

@mehshankhan

Copy link
Copy Markdown

I upgrade the pix2pix.py with tf_upgrade_v2 command to make compatible with tensorflow2.0. pix2pix.py is now running perfectly fine on freshly installed tensorflow2.2 with anaconda and google colab.

@jesshillier

Copy link
Copy Markdown

Would love to see this merged! Just went through a similar change myself to get the code to work.

@mehshankhan was wondering if there was a reason you chose to use tf.compat.v1 rather than changing to the v2 version of each method.

@radumiron

Copy link
Copy Markdown

@christopherhesse it would be great if this PR gets merged since we don't have to manually get the changes to be able to run the code with TF2.

@christopherhesse

Copy link
Copy Markdown
Contributor

Please fork the repo and make a PR to link to your fork in the README

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

Successfully merging this pull request may close these issues.

4 participants