Skip to content

Device index must not be negative #1

@jaimeraynaud

Description

@jaimeraynaud

Hello, I am asking for help to solve the error that is giving me when executing the code.
I attach a screenshot of it:
image

For what I see in https://stackoverflow.com/questions/60713781/pytorch-device-and-todevice-method they recommend not using get_device(), but I do not know how to solve it.
Thanks in advance.

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