You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for the fantastic codes. I am a fresh programmer learning the AI things on Raspberry Pi 4B.
My system is 'Linux raspberrypi 5.15.32-v8+ aarch64 GNU/Linux'
When I try to run the project file YoloFastestV2.cbp in Code::Blocks followed by your tutorial, I get the result 'Segmentation fault'. Could you please help to fix the problem? It might be a silly question, and I am sorry to request as I failed many times.
I am looking forward to your reply. Cheers.
The text was updated successfully, but these errors were encountered:
The segmentation fault is the most unspecified error you can get.
It can have many different causes. At a low level, it means your trying to read/write data to a memory location not owned by the application.
Try the narrow it down. You can see in the output that you start grabbing frames from the video. So far, so good.
Temporarily remove the following lines.
See if you get a working window playing the video.
If so, you know your error is somewhere inside those three lines.
Most likely, you have an error in your ncnn library.
For instance, you have compiled a 64-bit version of ncnn and you are using it on a 32-bit machine, or visa-versa.
Thank you for replying. I tried to remove the lines, but the errors still occurred. It might be some problem in my library as your extrapolation. I installed your RPi img instead, and it works. Cheers.
Hi @Qengineering ,
Thank you for the fantastic codes. I am a fresh programmer learning the AI things on Raspberry Pi 4B.
My system is 'Linux raspberrypi 5.15.32-v8+ aarch64 GNU/Linux'
When I try to run the project file YoloFastestV2.cbp in Code::Blocks followed by your tutorial, I get the result 'Segmentation fault'. Could you please help to fix the problem? It might be a silly question, and I am sorry to request as I failed many times.
I am looking forward to your reply. Cheers.
The text was updated successfully, but these errors were encountered: