Open changken opened 4 years ago
read this https://github.com/digitalbrain79/darknet-nnpack/issues/17
Modify the NNPACK-darknet/build.ninja to add the -fPIC with cflags and cxxflags, then rerun the build process with "ninja -t clean; ninja"
sudo rm /usr/liblibgoogletest-core.a sudo rm /usr/libnnpack-core.a sudo rm /usr/libpthreadpool.a cd NNPACK-darknet ninja -t clean ninja sudo cp -a lib/* /usr/lib/ cd darknet-nnpack make clean make -j4
read this #17
Modify the NNPACK-darknet/build.ninja to add the -fPIC with cflags and cxxflags, then rerun the build process with "ninja -t clean; ninja"
sudo rm /usr/liblibgoogletest-core.a sudo rm /usr/libnnpack-core.a sudo rm /usr/libpthreadpool.a cd NNPACK-darknet ninja -t clean ninja sudo cp -a lib/* /usr/lib/ cd darknet-nnpack make clean make -j4
@weiweijeff Following the guide you mentioned, one is able to get the libdarknet.so and get it running in python. However as others had metioned it in #17 , I am getting no detections at all using the library. Do you know of a possible workaround?
I would like to use the darknet.py, then I modify the Makefile.
The following is the Makefile's content.
I just change the OPENCV's and LIBSO's value from zero to one, then I got a series of error message.
How do I solve this? Please help! thanks a lot!