-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
TensorFlow 2.x compatibility #30
base: master
Are you sure you want to change the base?
Conversation
These lines solve "AttributeError: module 'tensorflow' has no attribute 'python_io'" problem
These lines solve "AttributeError: module 'tensorflow._api.v2.train' has no attribute 'Optimizer'" problem
These two lines are not required: import tensorflow.contrib tf.contrib = tensorflow.contrib it works perfectly without them.
After solving all the compatibility issue using compat.v1 , faced following error: python3 project_images.py --num-steps 500 aligned generated |
Is this branch working? |
This repo built was superseded by stypegan2-ada (all models are compatible but dnn library got updated ) and then stylegan2-ada-pytorch. (You can import tf models to pytorch no problem) |
No, it's not enough to change the imports, there is more work necessary to make it work with TF2 |
No description provided.