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

model.fit problem in google colab #145

Open
Ali-khn opened this issue Jul 14, 2021 · 0 comments
Open

model.fit problem in google colab #145

Ali-khn opened this issue Jul 14, 2021 · 0 comments

Comments

@Ali-khn
Copy link

Ali-khn commented Jul 14, 2021

System information

Google Colab

  • **TensorFlow version =2.5.0/Keras version=2.5.0
  • **Python version=Python 3.7.10

Describe the problem

When I tried to do :
"%cd "/content/anago"
model.fit(x_train, y_train, epochs=15)"
this error accured:
/content/anago/anago/layers.py in build(self, input_shape)
180 initializer=self.kernel_initializer,
181 regularizer=self.kernel_regularizer,
--> 182 constraint=self.kernel_constraint)
183 self.chain_kernel = self.add_weight((self.units, self.units),
184 name='chain_kernel',

TypeError: add_weight() got multiple values for argument 'name'

Source code / logs

I tried to follow the instructions given in the github repository of anago.
Any help how to run this repository properly would be appreciated.
Thanks

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