Skip to content

RuntimeError: Expected tensor for argument #1 'indices' to have scalar type Long; but got torch.cuda.IntTensor instead (while checking arguments for embedding) #5

@southjjh

Description

@southjjh

Thanks for your work!!
I was trying to re-execute your code and found out the following issue.
image
And it returns an error message.
image
I think it has to do with the working environment(I'm using Windows 10).
I post the link for your information (https://stackoverflow.com/questions/56360644/pytorch-runtimeerror-expected-tensor-for-argument-1-indices-to-have-scalar-t)

Any feedback or modifications will be very appreciated!!

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