Skip to content

Getting the error 'invalid device ordinal #2

@VikashTiwari360

Description

@VikashTiwari360

On running the main.py with given code , I m getting this error
cuda runtime error (10) : invalid device ordinal at torch/csrc/cuda/Module.cpp:32

Can you please tell how to fix it , i have checked on the google but could not fix it on my ubuntu 16.04 terminal. It would be great help
Thanks !

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