Skip to content

train.py fails with error "too many indices for tensor of dimension 2" #6

Description

@domcross

Training fails with following error message:

  File "/path/to/project/Transformer-TTS/loss.py", line 33, in guide_loss
    W[i, :T, :L] += alignments[0].new_tensor(1-torch.exp(-12.5*x))
IndexError: too many indices for tensor of dimension 2

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions