-
Notifications
You must be signed in to change notification settings - Fork 76
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
Build Issue on Rasp 4 #54
Comments
Hello, I am facing a similar issue. I also found out that if you retry this command, you can continue, but it will crash at some point completely, so that you will no longer be able to enter this command. Does someone know a possible solution to this? |
@Jaswar @ivanh23 But the thing is that I've faced the following issues #53 (comment) So if you will reach some positive results, it would be very nice of you if you would post your solutions, thanks. |
Hey @ivanh23, |
@Jaswar what inference time did you get with the tiny yolov3 model? |
@Shivankit99 I get around 6FPS (or at least that's what the code says, for me this looks like 2FPS). I have set |
@Jaswar @ivanh23 @Shivankit99
I saw that option, but it was around 4 GB as far as I remember, and that was way too much for me in order just to add some new stuff to my Pi.
I get 0.5 FPS on Pi 4 when I run that command and that is making me quite upset. You can check my wiki, there I've found some possible solutions for your case. By the way, does anyone has a nice code for real-time detection from pi cam? |
@HaroldSP Thank you for the wiki, it does not solve my problem though. Are you sure that you have changed |
Yep, my full list is that one:
What is yours?
And did you try that?
Also you can rise up GPU memory to 256 Mb |
@HaroldSP I was still unable to solve my issue with the camera, I will try and open a new issue with that. |
Hi @Shivankit99 could you please let me know how you managed to get it to work on the Raspberry Pi 4 with cmake? Im using a RPi 4b, Raspberry Pi recommended OS 32 bit, should I use a different OS? |
i used the raspbian buster OS. |
Hi thank you for your reply! I actually finally managed to build the original NNPACK repo by Maratyszcza, and now I would like to try it with Darknet since I have trained a custom tiny-yolov3 and want to upload it on my Raspberry Pi 4. I saw your reply to this issue #57 which is why I decided to install the original NNPACK, could I ask what steps you did to install darknet after that? Or if you actually still installed darknet-nnpack and built it with Cmake? Apologies if its a silly question im a complete beginner and a bit lost. |
After installing NNPACK. you can install darknet with a simple make command. That should do the job for you |
The only thing I gathered so far, I tested multiple methods and repositories is that I always stuck at the end. In the make command for darknet-nnpack. While it builds it I have an exit error 1 in the end. Previous steps are completed successfully. I have a 4B with 4gb ram in 20.10 desktop. Had similar results with x64 server edition. What's going wrong? |
The same here. Please, keep in touch if you find a solution! |
Unfortunately i switched back to raspian and i made a success. But you can try it in ubuntu and tell me if it works. |
@panban-ux thank you a lot, it helped me with pthread library. Now I'm stuck with this:
Btw, I am building on Raspberry OS. |
Thats the flag opencv=1 inside your make file? make it zero. Do you need opencv ? |
@panban-ux oh, I just was following your guide and that point was default there. Now after setting OpenCV to 0 I get:
Any ideas? |
Sorry, maybe I missed something here. Am I supposed to install NNPACK as it is in #53 and then switch back to HaroldSp clone to the step of downloading and building darknet-nnpack? |
yes steps from the beginning are you install peachpy confu ninja bla bla, install NNPACK cd nnpack then you go to comment #53 and continue from there. In the end switch back to instructions No1 and |
@soumyanaveen could you give all the commands you've used from the start ? |
@soumyanaveen did u solve it? i have the same issue |
Hello , i am getting the following error :
pi@raspberrypi:~/NNPACK-darknet $ $NINJA_PATH/ninja
[1/72] CC deps/pthreadpool/src/pthreads.c
FAILED: /home/pi/NNPACK-darknet/build/deps/pthreadpool/src/pthreads.c.o
gcc -o /home/pi/NNPACK-darknet/build/deps/pthreadpool/src/pthreads.c.o -c /home/pi/NNPACK-darknet/deps/pthreadpool/src/pthreads.c -MMD -MF /home/pi/NNPACK-darknet/build/deps/pthreadpool/src/pthreads.c.o.d -std=gnu11 -g -pthread -O2 -I/home/pi/NNPACK-darknet/deps/pthreadpool/include -I/home/pi/NNPACK-darknet/deps/pthreadpool/src -I/home/pi/NNPACK-darknet/deps/fxdiv/include
In file included from /home/pi/NNPACK-darknet/deps/pthreadpool/src/pthreads.c:50:
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:727:2: warning: ‘pthreadpool_function_1d_t’ is deprecated [-Wdeprecated-declarations]
pthreadpool_function_1d_t function,
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:733:2: warning: ‘pthreadpool_function_1d_tiled_t’ is deprecated [-Wdeprecated-declarations]
pthreadpool_function_1d_tiled_t function,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:740:2: warning: ‘pthreadpool_function_2d_t’ is deprecated [-Wdeprecated-declarations]
pthreadpool_function_2d_t function,
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:747:2: warning: ‘pthreadpool_function_2d_tiled_t’ is deprecated [-Wdeprecated-declarations]
pthreadpool_function_2d_tiled_t function,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:756:2: warning: ‘pthreadpool_function_3d_tiled_t’ is deprecated [-Wdeprecated-declarations]
pthreadpool_function_3d_tiled_t function,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/NNPACK-darknet/deps/pthreadpool/include/pthreadpool.h:767:2: warning: ‘pthreadpool_function_4d_tiled_t’ is deprecated [-Wdeprecated-declarations]
pthreadpool_function_4d_tiled_t function,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/ccht4UVM.s: Assembler messages:
/tmp/ccht4UVM.s:86: Error: selected processor does not support
yield' in ARM mode /tmp/ccht4UVM.s:420: Error: selected processor does not support
yield' in ARM mode[6/72] CXX test/fully-connected-inference/overfeat-fast.cc
ninja: build stopped: subcommand failed.
The text was updated successfully, but these errors were encountered: