Skip to content

version of pytorch, torchtext #3

@SatoshiAkasaki

Description

@SatoshiAkasaki

Which version of pytorch and torchtext do you use ?
I got the following message when trying to perform translate.py.
(I use pytorch 0.3.0 and torchtext 0.2.1. )

TypeError: torch.index_select received an invalid combination of arguments - got (torch.cuda.FloatTensor, int, torch.LongTensor), but expected (torch.cuda.FloatTensor source, int dim, torch.cuda.LongTensor index)

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