Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing a bug of mixing data stored on gpu and a model stored on cpu w… #42

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mac137
Copy link

@mac137 mac137 commented May 15, 2020

my PR fixes the following bug:
RuntimeError: expected device cuda:0 but got device cpu

... while running this command:
python main.py --cpu --evaluate [path2checkpoint]

maciej and others added 2 commits May 15, 2020 15:11
…hile using the following command:

python main.py --cpu --evaluate [path2checkpoint]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant