这是indexloc提供的服务,不要输入任何密码
Skip to content

model.fit problem in google colab #145

@Ali-khn

Description

@Ali-khn

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions