Skip to content

config.batchsize!=1, raise error #26

@Potato-Shy

Description

@Potato-Shy

when I set batchsize=16 or other num, raise error"ValueError: setting an array element with a sequence."in
"""
_, val, predicted_ner, actual_ner, predicted_rel, actual_rel, _, m_train = self.sess.run(
[operations.train_step, operations.obj, operations.predicted_op_ner, operations.actual_op_ner, operations.predicted_op_rel, operations.actual_op_rel, operations.score_op_rel,
operations.m_op], feed_dict=x_train)
"""
how can i fix it?

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