Create upstart script for DeepDetect Upstart script for DeepDetect Create upstart config /etc/init/deepdetect.conf description “DeepDetect” start on filesystem or runlevel [2345] stop on run level [!2345] respawn respawn limit 3 12 script exec /usr/bin/deepdetect.sh end script pre-start script echo “command_deepdetect_starting START : $(date)” >> /var/log/deepdetect.log end script pre-stop script rm /var/run/command_deepdetect_starting.pid echo “command_deepdetect_starting STOP : $(date)” >> /var/log/deepdetect.log end script… Read More
[DeepLearning] Write a simple Rails API to predict a image use DeepDetect DeepDetect Client Rails Example Requirements Ubuntu 14.04 or Ubuntu 16.04 Rails 5+ Ruby 2.2+ Redis Install DeepDetect Install dependencies: sudo apt-get install build-essential libgoogle-glog-dev libgflags-dev libeigen3-dev libopencv-dev libcppnetlib-dev libboost-dev libboost-iostreams-dev libcurlpp-dev libcurl4-openssl-dev protobuf-compiler libopenblas-dev libhdf5-dev libprotobuf-dev libleveldb-dev libsnappy-dev liblmdb-dev libutfcpp-dev cmake libgoogle-perftools-dev unzip Clone & build deepdetect: cd && mkdir Projects && git clone git@github.com:beniz/deepdetect.git… Read More