Code Monkey home page Code Monkey logo

Comments (4)

sowson avatar sowson commented on September 1, 2024

@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.

KurtKoo avatar KurtKoo commented on September 1, 2024

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.

dna2github avatar dna2github commented on September 1, 2024

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.

KurtKoo avatar KurtKoo commented on September 1, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.