Skip to content

Using translate.py to predict file is ok,but using translate.py to predict single text with params --text has a problem. #2

@hbwzhsh

Description

@hbwzhsh

ValueError: Dimensions must be equal, but are 36 and 256 for 'model/Transformer/encode/add_pos_encoding/add' (op: 'Add') with input shapes: [36,256], [256,256].

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