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

upgrade tensorflow version and adapt server.py #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

francoislamiedepain
Copy link

Hello,

I have upgraded tensorflow version and related python libraries listed in requirement.txt.

I have also upgraded python image version in Dockerfile.

And eventually i have added a bit more infos in README as i have face some issues with new node version.

Test on local and with docker-compose and everything is working fine ;)

@johndpope
Copy link

johndpope commented Dec 27, 2020

nice @francoislamiedepain - did you get stylegan2 running with tf2? NVlabs seem to be jumping ship to pytorch. but.... I wonder if it's not too hard to do. I had a go at auto migrating (https://www.tensorflow.org/guide/upgrade) this https://github.com/previtus/GAN_explorer and seems like it just needs a few more tweaks to get working. (though I got stuck)

NVlabs/stylegan2-ada#52

UPDATE
might be better to use this based image for tensorflow2
docker pull nvcr.io/nvidia/tensorflow:20.12-tf2-py3

check here for latest
https://docs.nvidia.com/deeplearning/frameworks/tensorflow-release-notes/running.html

@francoislamiedepain
Copy link
Author

Hi @johndpope , i did not try stylegan2 running with tf2 but it's still seems to be not a easy task... :

"We recommend TensorFlow 1.14, which we used for all experiments in the paper, but TensorFlow 1.15 is also supported on Linux. TensorFlow 2.x is not supported. " (https://github.com/NVlabs/stylegan2#requirements).

Yes definitely a better approach to use tf2 based image.

Still need more work to get everything clean.

Thanks for the links !

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.

2 participants