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

AssertionError: Torch not compiled with CUDA enabled #536

Open
MalteEbner opened this issue Jan 4, 2021 · 0 comments · May be fixed by #537
Open

AssertionError: Torch not compiled with CUDA enabled #536

MalteEbner opened this issue Jan 4, 2021 · 0 comments · May be fixed by #537

Comments

@MalteEbner
Copy link

MalteEbner commented Jan 4, 2021

When running the code without a CUDA Gpu and/or pytorch not compiled with it, the following error occurs: "AssertionError: Torch not compiled with CUDA enabled". The reason is that "ssd_pytorch/layers/modules/multibox_loss.py:35 sets the argument use_gpu per default to true. This can be easily fixed, see #537.

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 a pull request may close this issue.

1 participant