-
Notifications
You must be signed in to change notification settings - Fork 1
Segmentation fault in NN splitting #1
Description
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.