pulp-platform / pulp-detector

12 stars 2 forks source link

make clean all run doesn't work #2

Open luigifeola opened 2 weeks ago

luigifeola commented 2 weeks ago

Hi, I am trying the _gap8app on my crazyflie. I run the _gapsdk starting from the bitcraze/ai-deck Dockerfile, installing conda and creating a new environment as described in the readme. However once I run make clean all run I got the following error:

(tensorflow1.15) root@ccd230dd8ad7:/pulp-detector/gap8_app# make clean all run
Building GAP8 mode with 8 bit quantization
rm -rf BUILD*
rm -f /pulp-detector/gap8_app/BUILD/GAP8_V2/GCC_RISCV/flash.img
make -f ssd.mk model CLUSTER_STACK_SIZE=4096 CLUSTER_SLAVE_STACK_SIZE=1024
make[1]: Entering directory '/pulp-detector/gap8_app'
Building GAP8 mode with 8 bit quantization
ssd.mk:56: *** empty variable name.  Stop.
make[1]: Leaving directory '/pulp-detector/gap8_app'
Makefile:104: recipe for target 'BUILD_MODEL_SSD/ssdlite_ocrKernels.c' failed
make: *** [BUILD_MODEL_SSD/ssdlite_ocrKernels.c] Error 2

Note:

  1. Since there is no 4.7 version available from bitcraze/ai-deck, I tried both the 4.0.0 and 4.8.0, but the error I got is the same in both versions.
  2. Since I am using the Olimex ARM-USB-TINY-H programmer I run export GAPY_OPENOCD_CABLE=interface/ftdi/olimex-arm-usb-tiny-h.cfg, but I don't think this can be related to the error since the helloworld example works.

Have you ever experienced this type of error?

LorenzoLamberti94 commented 2 weeks ago

havn't seen it, maybe @Bomps4 ? i suggest anyways building the right gap sdk version (4.7) locally