-
-
Notifications
You must be signed in to change notification settings - Fork 81
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
cpu inference colab #1
Comments
Hi, may I ask if you have resolved to run the inference on cpu, or you just decided to forget about this issue? |
Hi, You've closed the issue, so I've thought you figured this out :D Which notebook are you talking about? |
I am asking about the image inference colab on this link: |
Just replace all the |
Sure, that was the method I have tried (to replace all .cuda() with .cpu()), but it did not work, unfortunatelly. |
Ah, probably half-precision isn't supported on CPU, so try replacing |
I have replaced all the .cuda() with .cpu() and all the .half() with .float(), but still I get this error: The line, which cause this error is the following: |
I think I have found some kind of a solution... (maybe not the best)
|
Hi, is cpu inference possible in colab?
The text was updated successfully, but these errors were encountered: