Skip to content

Expected object of backend CPU but got backend CUDA for argument #3 'index' #17

Description

@wlsrick

I've got this problem in line 51
alpha = self.alpha.gather(0,labels.view(-1))

How can I solve it?
thanks a lot.

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