Skip to content

Segmentation fault in NN splitting #1

@robo-warrior

Description

@robo-warrior

Hi! I'mtrying to run your NN splitting code. On edge side splitting, I performed make. Now if I run processImages.sh, I'mgetting the following error:

nn_splitting/edge$ ./processImages.sh
Output: process /*jpg
./bin/darknet detector test ./bin/voc.names ./bin/tiny-yolo-voc.cfg ./bin/tiny-yolo-voc.weights -thresh 0.24 /*jpg dog.jpg frame_50.jpg
Cannot load image "/*jpg"
STB Reason: can't fopen

However if I decide to run the sh file code through terminal on individual images, I'm getting segmentation fault: [running it on dog.jpg only]

nn_splitting/edge$ sh
$ echo ./bin/darknet detector test ./bin/voc.names ./bin/tiny-yolo-voc.cfg ./bin/tiny-yolo-voc.weights -thresh 0.24 .bin/dog.jpg
Output: ./bin/darknet detector test ./bin/voc.names ./bin/tiny-yolo-voc.cfg ./bin/tiny-yolo-voc.weights -thresh 0.24 .bin/dog.jpg./bin/darknet detector test ./bin/voc.names ./bin/tiny-yolo-voc.cfg ./bin/tiny-yolo-voc.weights -thresh 0.24 .bin/dog.jpg
$

Segmentation fault (core dumped)
$ $ exit

Can you tell me what I'm doing wrong? Also, in which file exactly are you saving the Nth layer activations and weights data?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions