-
Notifications
You must be signed in to change notification settings - Fork 45
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
Unable to run "darknet" command #92
Comments
See the many warnings in your build:
The NVIDIA compiler did not detect a GPU. |
Also, your version field tells me you have local modifications to the repo:
Can you run |
I haven't modified anything actually - just cloned your repo and built it
|
You could of course try to hard-code the GPU to use and see if that makes a difference. See But the fact that nvcc is reporting that it cannot find a GPU, and then Darknet fails to set the GPU to use, is a pretty big hint that something is wrong with the NVIDIA drivers. Two different things are telling you a GPU cannot be accessed (or found?). |
Hmm....that's funny because when I run darknet training with Alexey repo normally it would find the GPU and train with it. But, I agree that there's something wrong.
|
See the file I mention. Around lines 42-44. It can also be set as a command-line parameter if you prefer. |
That fixed the build, but the error persists:
I do have other repositories of darknet installed. Could that be causing issues? |
After you built it, did you remember to install it? If not, you're still running the old one you built before you hard-coded the GPU value. |
Do you have multiple GPUs? If you look at the function cuda_set_device() in dark_cuda.cpp on line 25-29, you'll see there really is not much to it. It is a single CUDA call to set which GPU to use, and then checking the status of that call to ensure it was successful.
|
Should I be doing a make install as well?
|
Rebooting helped:
|
Thanks for your help, appreciate it! |
Sorry, never heard of this error before. I have no idea what you've done. |
Definitely not. The build steps are very clearly indicated in the readme. |
I have followed build instructions just as given.
ERROR:
The text was updated successfully, but these errors were encountered: