-
Notifications
You must be signed in to change notification settings - Fork 840
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
faceswap error regularizers is not defined #153
Comments
Create a new cell and write the following code |
i not know were t oadd that line. today i w trying again but i got a different error: 2 frames NameError: name 'regularizers' is not defined after the code :model = FaceswapGANModel(**arch_config) i hav put the code u gave me right before that code but still nothing.i not know how to do the second method. |
I am able to get the colab notebook to see the |
make sure you are using tensorflow1.8.0 and install tensorflow-gpu1.8.0 , and downgrade cuda to 9.0 . |
downgrade keras |
hello i got this error an not understand what it means
NameError Traceback (most recent call last)
in ()
----> 1 model = FaceswapGANModel(**arch_config)
2 frames
/content/faceswap-GAN/networks/nn_blocks.py in conv_block(input_tensor, f, use_norm, strides, w_l2, norm)
126 def conv_block(input_tensor, f, use_norm=False, strides=2, w_l2=w_l2, norm='none'):
127 x = input_tensor
--> 128 x = Conv2D(f, kernel_size=3, strides=strides, kernel_regularizer=regularizers.l2(w_l2),
129 kernel_initializer=conv_init, use_bias=False, padding="same")(x)
130 x = Activation("relu")(x)
NameError: name 'regularizers' is not defined
The text was updated successfully, but these errors were encountered: