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

Tensor Flow 2 Compatibility #123

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

RAFALAMAO
Copy link

@RAFALAMAO RAFALAMAO commented Feb 20, 2022

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

Copy link

@Entretoize Entretoize left a 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

@kalomano
Copy link

kalomano commented Apr 9, 2022

Nice work, it works for me! Thanks!
I think this solution uses a deprecated method, be careful.
image

Copy link

@nathandtrone nathandtrone left a 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.

@s-tweed
Copy link

s-tweed commented May 1, 2023

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...

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.

6 participants