Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

Update loss.py #51

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update loss.py #51

wants to merge 1 commit into from

Conversation

Luccifer
Copy link

@Luccifer Luccifer commented Dec 5, 2022

Fixed an issue of RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu!
According to the #47 - the issue still exists. Managed to run it with a little fix

Fixed an issue of RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu!
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant