Skip to content

T2S - text longer than 600 characters causes "RuntimeError: The size of tensor a () must match the size of tensor b (600) at non-singleton dimension 1" #127

@ivan-homoliak-sutd

Description

@ivan-homoliak-sutd

Using /api/tts with the text longer than 600 characters, WIS output the following error:

RuntimeError: The size of tensor a (607) must match the size of tensor b (600) at non-singleton dimension 1

I am using Tesla T4. I am not sure, whether it is intentional, encouraging users to make more GET requests. URL length might still allow more characters (though it has some limitations). Maybe some alternative POST API method (for longer texts) would be a nice option.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions