Comments (4)
@KurtKoo I am sorry it takes such a long, but I do not know how to help... I have only beagle board X15 but it is a different case I suppose... thanks for trying this solution! 👍
from darknet.
It's alright. Maybe it was because I disabled the OpenCV module or the memory for OpenCL is not enough.
I'll try to solve these problems.
Thanks!
from darknet.
in your case,
names: Using default 'data/names.list'
Segmentation fault (core dumped)
it even not printed your network layer info, which means that your binary probably crashed during loading network layers phase.
in general, you need to add printf
to track where the error occurs.
for example
printf("p1\n");
action1()
printf("p2\n");
action2()
printf("p3\n");
then you can know, it crashed at action1 or action2 or otherwise.
I got 2 segment fault
on macos, one is that if no name.list specified, get_labels
function directly write default value string data/names.list
terminator \0
to 0
(\0 == 0
; notice that the string has length 15, and filename[strscn(filename, "\n\r")] = 0
-> filename[15] = 0 -> filename[15]=>'\0'
); however, macos will crash it for it has security risk where it is actually a case of buffer overflow.
the other is that in darknet official example, there is one arg missing (darknet xxx <data.cfg> model.cfg weights.bin ...
); if you do not provide data.cfg
, weights.bin
will be recognized as model.cfg
and got segment fault
.
from darknet.
@dna2github Thanks for your reply. I'm working on another task now. So I gave it up. But thank you very much!
from darknet.
Related Issues (20)
- opencl gemm_kernel error: CL_INVALID_WORK_GROUP_SIZE for the function gemm_offset_gpu() in blas_kernels.c HOT 4
- undefined reference to 'avg_predictions' HOT 1
- error while compiling HOT 11
- Running Issue Error HOT 3
- Build + Run errors HOT 8
- Is it applicable for opencl 1.1? HOT 3
- My Issue with Not-Build Blames!
- Error while loading shared libraries: libclBLAS.so.2: cannot open shared object file HOT 2
- yolov4 prediction crashes on mac HOT 4
- How to fix CL_INVALID_WORK_ITEM_SIZE error HOT 7
- An error occurred while compiling the program with OpenMP. HOT 3
- openCL not found
- opencl Not Found error HOT 8
- automatic build to test on windows HOT 1
- Cannot compile libdarknet.so HOT 4
- make error : cannot find -lopencv HOT 3
- activation_kernels.cl build failed on Intel HD Graphics HOT 7
- Encountering problems when running darknet on RPI3B+
- Can it be installed on FreeBSD 13.1? HOT 39
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from darknet.