Skip to content

transitions reshape的问题 #29

@lordchao

Description

@lordchao

你好 我运行代码的时候会出现如下错误:

ValueError: Cannot reshape a tensor with 512 elements to shape [128,6,6] (4608 elements) for 'model/Reshape_10' (op: 'Reshape') with input shapes: [256,2], [3].

transitions = tf.reshape(tf.concat(0, [transitions] * self.batch_size), [self.batch_size, 6, 6])

我的数据输入格式是按照文档中的格式来的。

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