Skip to content

add_weight in CRF has issues with multiple names #9

Description

@FedericoCampe8

Running the code "as-is" I see

/content/ChainCRF.py in build(self, input_shape)
302 name='U',
303 regularizer=self.U_regularizer,
--> 304 constraint=self.U_constraint)
305
306 self.b_start = self.add_weight((n_classes, ),

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

Is the code maintained?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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