Skip to content

Runtime error when reload pretrain data in pytorch version #55

@kevinGit777

Description

@kevinGit777

hi, I got a runtime error when executing>python repr_code.py --reload_from 4000000 after replacing all file in data/github, here is the detail:RuntimeError: Expected tensor for argument #1 'indices' to have scalar type Long; but got torch.cuda.IntTensor instead (while checking arguments for embedding)
image
Could you help me figure it out? Thank you so much!
Environment:
Python 3.8
torch 1.4

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