claritylab / djinn Goto Github PK
View Code? Open in Web Editor NEWDeep Neural Networks (DNNs) as a Service
Home Page: http://www.djinn.clarity-lab.org
License: Other
Deep Neural Networks (DNNs) as a Service
Home Page: http://www.djinn.clarity-lab.org
License: Other
The download link in common/weights/dl_djinn_weights.sh
seems expired.
Hi, when i try to build using make -j 4 i got the following error i'm using latest caffe version
kartx@kartx-VirtualBox:~/Desktop/djinn-master/service$ make -j 4
g++ -c -g -I/usr/local/include -fpermissive -I../common/include -I/home/kartx/Downloads/caffe-master/include -I/usr/local/cuda/include -DCPU_ONLY src/main.cpp -o src/main.o
src/main.cpp: In function ‘int main(int, char*)’:
src/main.cpp:88:42: error: no matching function for call to ‘caffe::Net::Net(std::_cxx11::string&)’
Net temp = new Net(net);
^
In file included from /home/kartx/Downloads/caffe-master/include/caffe/blob.hpp:8:0,
from /home/kartx/Downloads/caffe-master/include/caffe/caffe.hpp:7,
from src/thread.h:22,
from src/main.cpp:29:
/home/kartx/Downloads/caffe-master/include/caffe/net.hpp:309:27: note: candidate: caffe::Net::Net(const caffe::Net&) [with Dtype = float]
DISABLE_COPY_AND_ASSIGN(Net);
^
/home/kartx/Downloads/caffe-master/include/caffe/common.hpp:33:3: note: in definition of macro ‘DISABLE_COPY_AND_ASSIGN’
classname(const classname&);
^
/home/kartx/Downloads/caffe-master/include/caffe/net.hpp:309:27: note: no known conversion for argument 1 from ‘std::__cxx11::string {aka std::__cxx11::basic_string}’ to ‘const caffe::Net&’
DISABLE_COPY_AND_ASSIGN(Net);
^
/home/kartx/Downloads/caffe-master/include/caffe/common.hpp:33:3: note: in definition of macro ‘DISABLE_COPY_AND_ASSIGN’
classname(const classname&);
^
In file included from /home/kartx/Downloads/caffe-master/include/caffe/caffe.hpp:12:0,
from src/thread.h:22,
from src/main.cpp:29:
/home/kartx/Downloads/caffe-master/include/caffe/net.hpp:27:12: note: candidate: caffe::Net::Net(const string&, caffe::Phase, const caffe::Net) [with Dtype = float; std::__cxx11::string = std::__cxx11::basic_string]
explicit Net(const string& param_file, Phase phase,
^
/home/kartx/Downloads/caffe-master/include/caffe/net.hpp:27:12: note: candidate expects 3 arguments, 1 provided
/home/kartx/Downloads/caffe-master/include/caffe/net.hpp:26:12: note: candidate: caffe::Net::Net(const caffe::NetParameter&, const caffe::Net_) [with Dtype = float]
explicit Net(const NetParameter& param, const Net* root_net = NULL);
^
/home/kartx/Downloads/caffe-master/include/caffe/net.hpp:26:12: note: no known conversion for argument 1 from ‘std::__cxx11::string {aka std::__cxx11::basic_string}’ to ‘const caffe::NetParameter&’
Makefile:39: recipe for target 'src/main.o' failed
make: *** [src/main.o] Error 1
kartx@kartx-VirtualBox:~/Desktop/djinn-master/service$
Everything compiled successfully. I followed the tutorial by invoking:
./djinn --common ../common/ --weights weights/ --portno 8080 --gpu 1 --debug 0 --nets nets.txt
But saw:
Segmentation fault (core dumped)
The output from gdb is:
77 Caffe::set_phase(Caffe::TEST);
(gdb) n
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff668d8f3 in malloc_consolidate (av=av@entry=0x7ffff69cd760 <main_arena>) at malloc.c:4157
4157 malloc.c: No such file or directory.
Did anybody saw this before? Any help would be greatly appreciated.
Currently I'm trying to test the tonic-img service in my Ubuntu. Still in the process to install the compatible version of thrift
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.