-
Notifications
You must be signed in to change notification settings - Fork 926
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
"--no-cuda" does not work #4
Comments
Thank you! |
Feel free to reopen if the issue is not resolved. |
I am sorry if this is the wrong place to ask this, but I have a similar issue. When I start latexocr (GUI) or the command line program, I get the following error message:
I should add that I installed the package via pip, did no additional training, and am running Arch with Python v3.10.5 . |
Looks more like a broken installation to me. Can you confirm the pytorch installation is valid? |
I think so, at least running to commands provided in https://pytorch.org/get-started/locally/ worked fine. For the GUI application, it starts while throwing this error message, but hangs when trying to snip a formula. |
How about
and does the cli work? |
First of all, I want to say that I appreciate you answering this fast and helping me.
which is to be expected, as my GPU is an AMD R9 290 and not nvidia, which is why I tried the "--no-cuda" flag.
It seemingly ignores that I already specified a file. The only thing which does not just print the prompt again is when I enter the absolute path of the file, where it segfaults. |
No problem! From the error message it looks like torchvision is the problem here. |
Oh you're right, I don't know how I missed that torchvision was the problem. |
When using the --no-cuda argument, it returns an error.
I use torch 1.7.+cpu, cuda version is not installed, and can't use cuda.
The text was updated successfully, but these errors were encountered: