-
Notifications
You must be signed in to change notification settings - Fork 19.4k
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
TypeError: add_weight() got multiple values for argument 'name' #13540
Comments
I am also getting the same error. Please help us in this. Thank you |
Please go to https://github.com/wanitchayap/deepcut/blob/master/deepcut/layers.py and find the above snippet. In add_weight() function name the first arguments as 'shape' like: self.kernel = self.add_weight(shape=(self.input_dim, self.units), Do this in all your add_weight functions. Most likely you will get rid of this error. This has worked for me. Thank you, |
I was getting the same error but your solution helped me to solve it :) tnx |
Hi I have this error and I am not sure why:
System information
To reproduce this behavior
You can clone my github repo and go to the
deepcut/deepcut
directory. Then you can run this in python interpreter:Thank you so much for your help!
The text was updated successfully, but these errors were encountered: