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

_l2_regularizer_00004 = tf.keras.regularizers.l2(l=0.00004), give error : TypeError: L2.__init__() got an unexpected keyword argument 'l' #23

Open
kazimahathir73 opened this issue Oct 20, 2024 · 0 comments

Comments

@kazimahathir73
Copy link

In network_base.py give type error. Reason is maybe happens because TensorFlow 2.x uses different argument names for certain functions, including the L2 regularizer. In TensorFlow 2.x, the correct argument name is l2 instead of l.

Screenshot 2024-10-20 163319
.

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

No branches or pull requests

1 participant