darknet
darknet copied to clipboard
Unable to install darknet
I am trying to install darknet into my windows 10 PC but got an error which i am not able to figure out. I was able to clone the git repository and access the files, but when i am trying to use the 'make' command in cmd prompt i am getting the error as shown,
`C:\Users\Rohit>git clone https://github.com/pjreddie/darknet.git Cloning into 'darknet'... remote: Counting objects: 5734, done. remote: Total 5734 (delta 0), reused 0 (delta 0), pack-reused 5734 Receiving objects: 100% (5734/5734), 5.90 MiB | 211.00 KiB/s, done. Resolving deltas: 100% (3863/3863), done. Checking out files: 100% (962/962), done.
C:\Users\Rohit>cd darknet
C:\Users\Rohit\darknet>make mkdir -p obj mkdir -p results A subdirectory or file -p already exists. Error occurred while processing: -p. make: *** [results] Error 1
C:\Users\Rohit\darknet>.\darknet '.\darknet' is not recognized as an internal or external command, operable program or batch file.`
Any help to rectify this issue would be greatly appreciated.
Thanks
this repo only works in linux, for windows use https://github.com/AlexeyAB/darknet/
@TheMikeyR so i have to clone this repo and follow the same instructions given in the site?
clone AlexeyAB's fork, he did some modifications so it is compilable on windows.
Getting similar error.
`C:\Users\Rohit>git clone https://github.com/AlexeyAB/darknet.git Cloning into 'darknet'... remote: Counting objects: 6256, done. remote: Compressing objects: 100% (51/51), done. remote: Total 6256 (delta 27), reused 37 (delta 21), pack-reused 6182 Receiving objects: 100% (6256/6256), 4.77 MiB | 235.00 KiB/s, done. Resolving deltas: 100% (4096/4096), done. Checking out files: 100% (1870/1870), done.
C:\Users\Rohit>cd darknet
C:\Users\Rohit\darknet>make process_begin: CreateProcess(NULL, uname, ...) failed. mkdir -p obj mkdir -p backup A subdirectory or file -p already exists. Error occurred while processing: -p. make: *** [backup] Error 1
C:\Users\Rohit\darknet>`
you can't compile with make on windows, you should use his windows tutorial on how to compile https://github.com/AlexeyAB/darknet#how-to-compile-on-windows
@TheMikeyR thanks for the help. :)
I tried following the instructions but i am unable to understand this instruction
"If you don't have GPU, but have MSVS 2015 and OpenCV 3.0 (with paths: C:\opencv_3.0\opencv\build\include & C:\opencv_3.0\opencv\build\x64\vc14\lib), then start MSVS, open build\darknet\darknet_no_gpu.sln, set x64 and Release, and do the: Build -> Build darknet_no_gpu"
here i am unable to understand what is "set x64 and Release". Can you pls help me what to do in this step?
That is what you should set the build environment to in visual studio after you have opened the project with the .sln file.
#721 might help you, too
the"make" command does not work for windows. any solution ?
make command for linux os @raffibaihaqy02
When I build darknet_no_gpu.sln, all success but 1 failed and that 1 failed is:
darknet_no_gpu.vcxproj -- failed
what am i missing?? How can I solve this?