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

added tf version to colab master notebook #32

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

Conversation

amrzv
Copy link

@amrzv amrzv commented Jan 8, 2021

Hi.
Added tf version 1.13.1 (from requirements), that needed to be installed, now notebook works well.
Founded some issues, that will be resolved: #30, #26, #35

@amrzv
Copy link
Author

amrzv commented Jan 9, 2021

Update: should be intel-tensorflow<2 works fine. See this issue: #7

@amrzv
Copy link
Author

amrzv commented Jul 4, 2021

Now made it actually works with latest tensorflow==2.5. Allso, changes were made to submodule face_toolbox_keras
Beside of rewriting code in new tensorflow style, there were some bugs like this one:

inp_segm_mask = Input(shape=(input_size*16, input_size*16, nc_in))

wrong mask shape:

- inp_segm_mask = Input(shape=(input_size, input_size, nc_in))
+ inp_segm_mask = Input(shape=(input_size*16, input_size*16, nc_in))

To run notebook you should open notebook from my fork Open In Colab and change first line:
!git clone --recursive https://github.com/shaoanlu/fewshot-face-translation-GAN.git
to
!git clone --recursive --branch tf-version-in-notebook https://github.com/amrzv/fewshot-face-translation-GAN.git

Runs without errors in default colab environment without needed installations anything.

@daniellivingston
Copy link

Great work!

@Kritz23
Copy link

Kritz23 commented Oct 22, 2022

@amrzv Amazing, I was trying by myself to get it resolved and found this after a day spent on errors.
Cheers!

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.

ImportError: cannot import name 'keras_export'
4 participants