pulp-platform / pulp-dronet

A deep learning-powered visual navigation engine to enables autonomous navigation of pocket-size quadrotor - running on PULP
Apache License 2.0
500 stars 163 forks source link

Segmentation fault (Core dumped) #14

Closed Yingxiu-Chang closed 2 years ago

Yingxiu-Chang commented 2 years ago

Hi @LorenzoLamberti94, This is really nice works. I wanna reproduce your works and see the performances but there is an error like following:

(pulp-dronet-v1) hugh@hugh-ThinkPad-S1-Yoga:~/pulp-dronet/pulp-dronet-v1/src$ make conf run
plpflags gen --input=gap@config_file=chips/gap/gap.json  --config=platform=gvsoc  --config=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/weights_conv2d_1.hex  --config=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/weights_conv2d_2.hex  --config=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/weights_conv2d_3.hex  --config=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/weights_conv2d_4.hex  --config=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/weights_conv2d_5.hex  --config=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/weights_conv2d_6.hex  --config=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/weights_conv2d_7.hex  --config=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/weights_conv2d_8.hex  --config=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/weights_conv2d_9.hex  --config=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/weights_conv2d_10.hex  --config=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/weights_dense_1.hex  --config=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/weights_dense_2.hex  --config=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/bias_conv2d_1.hex  --config=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/bias_conv2d_2.hex  --config=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/bias_conv2d_3.hex  --config=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/bias_conv2d_4.hex  --config=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/bias_conv2d_5.hex  --config=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/bias_conv2d_6.hex  --config=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/bias_conv2d_7.hex  --config=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/bias_conv2d_8.hex  --config=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/bias_conv2d_9.hex  --config=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/bias_conv2d_10.hex  --config=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/bias_dense_1.hex  --config=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/bias_dense_2.hex  --config=camera/image-stream=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../dataset/Himax_Dataset/test_2/frame_22.pgm  --config=**/rt/type=pulp-rt --output-dir=/home/hugh/pulp-dronet/pulp-dronet-v1/src/build/gap --makefile=/home/hugh/pulp-dronet/pulp-dronet-v1/src/build/gap/config.mk    --app=PULPDroNet --config-user=/home/hugh/pulp-dronet/pulp-dronet-v1/src/config.ini
plpconf --input=gap@config_file=chips/gap/gap.json  --config=platform=gvsoc  --config=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/weights_conv2d_1.hex  --config=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/weights_conv2d_2.hex  --config=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/weights_conv2d_3.hex  --config=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/weights_conv2d_4.hex  --config=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/weights_conv2d_5.hex  --config=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/weights_conv2d_6.hex  --config=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/weights_conv2d_7.hex  --config=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/weights_conv2d_8.hex  --config=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/weights_conv2d_9.hex  --config=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/weights_conv2d_10.hex  --config=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/weights_dense_1.hex  --config=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/weights_dense_2.hex  --config=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/bias_conv2d_1.hex  --config=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/bias_conv2d_2.hex  --config=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/bias_conv2d_3.hex  --config=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/bias_conv2d_4.hex  --config=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/bias_conv2d_5.hex  --config=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/bias_conv2d_6.hex  --config=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/bias_conv2d_7.hex  --config=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/bias_conv2d_8.hex  --config=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/bias_conv2d_9.hex  --config=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/bias_conv2d_10.hex  --config=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/bias_dense_1.hex  --config=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/bias_dense_2.hex  --config=camera/image-stream=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../dataset/Himax_Dataset/test_2/frame_22.pgm  --config=**/rt/type=pulp-rt --output=/home/hugh/pulp-dronet/pulp-dronet-v1/src/build/gap/config.json --config-user=/home/hugh/pulp-dronet/pulp-dronet-v1/src/config.ini
pulp-run --config-file=gap@config_file=chips/gap/gap.json  --config-opt=platform=gvsoc  --config-opt=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/weights_conv2d_1.hex  --config-opt=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/weights_conv2d_2.hex  --config-opt=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/weights_conv2d_3.hex  --config-opt=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/weights_conv2d_4.hex  --config-opt=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/weights_conv2d_5.hex  --config-opt=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/weights_conv2d_6.hex  --config-opt=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/weights_conv2d_7.hex  --config-opt=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/weights_conv2d_8.hex  --config-opt=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/weights_conv2d_9.hex  --config-opt=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/weights_conv2d_10.hex  --config-opt=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/weights_dense_1.hex  --config-opt=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/weights_dense_2.hex  --config-opt=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/bias_conv2d_1.hex  --config-opt=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/bias_conv2d_2.hex  --config-opt=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/bias_conv2d_3.hex  --config-opt=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/bias_conv2d_4.hex  --config-opt=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/bias_conv2d_5.hex  --config-opt=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/bias_conv2d_6.hex  --config-opt=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/bias_conv2d_7.hex  --config-opt=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/bias_conv2d_8.hex  --config-opt=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/bias_conv2d_9.hex  --config-opt=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/bias_conv2d_10.hex  --config-opt=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/bias_dense_1.hex  --config-opt=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/bias_dense_2.hex  --config-opt=camera/image-stream=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../dataset/Himax_Dataset/test_2/frame_22.pgm  --config-opt=**/rt/type=pulp-rt --config-user=/home/hugh/pulp-dronet/pulp-dronet-v1/src/config.ini  --config-opt=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/weights_conv2d_1.hex  --config-opt=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/weights_conv2d_2.hex  --config-opt=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/weights_conv2d_3.hex  --config-opt=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/weights_conv2d_4.hex  --config-opt=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/weights_conv2d_5.hex  --config-opt=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/weights_conv2d_6.hex  --config-opt=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/weights_conv2d_7.hex  --config-opt=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/weights_conv2d_8.hex  --config-opt=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/weights_conv2d_9.hex  --config-opt=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/weights_conv2d_10.hex  --config-opt=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/weights_dense_1.hex  --config-opt=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/weights_dense_2.hex  --config-opt=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/bias_conv2d_1.hex  --config-opt=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/bias_conv2d_2.hex  --config-opt=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/bias_conv2d_3.hex  --config-opt=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/bias_conv2d_4.hex  --config-opt=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/bias_conv2d_5.hex  --config-opt=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/bias_conv2d_6.hex  --config-opt=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/bias_conv2d_7.hex  --config-opt=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/bias_conv2d_8.hex  --config-opt=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/bias_conv2d_9.hex  --config-opt=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/bias_conv2d_10.hex  --config-opt=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/bias_dense_1.hex  --config-opt=flash/fs/files=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../weights/binary/bias_dense_2.hex  --config-opt=camera/image-stream=/home/hugh/pulp-dronet/pulp-dronet-v1/src/../dataset/Himax_Dataset/test_2/frame_22.pgm  --config-opt=**/rt/type=pulp-rt --dir=/home/hugh/pulp-dronet/pulp-dronet-v1/src/build/gap --binary=PULPDroNet/PULPDroNet
Segmentation fault (core dumped)
/home/hugh/pulp-dronet/pulp-dronet-v1/src/build/gap/__rules.mk:180: recipe for target 'run' failed
make: *** [run] Error 139

It will be really appreciate if you can help with this question. Hugh