Build the code. Please follow Caffe instruction to install all necessary packages and build it.
# Modify Makefile.config according to your Caffe installation.
make lib -j8
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/__build/lib:/usr/local/cuda/lib64
cd bagua-mxnet
npm install
node-gyp configure build
Here we provided a SSD demo for object detection.
Download SSD300*, and only extract the caffemodel file into model-zoo/caffe/VOC0712/SSD_300x300.
cd demo/caffe-ssd && node demo.js
rm -r ./bagua-caffe/node_modules
npm update
npm cache clean
npm insall
if the error still shows up, change node version to 4+.