Code Monkey home page Code Monkey logo

djinn's People

Contributors

jhauswald avatar lisqu avatar ypkang avatar yqzhang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

djinn's Issues

Building the DjiNN server

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$

Segmentation fault when starting the 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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.