Giter Site home page Giter Site logo

Comments (5)

 avatar commented on May 22, 2024

This issue appears just by importing pycaffe in the alexnet notebook.
Here is the dump from the crash.

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
/Users/aub3/Dropbox/Career/Technical/caffe2/gen/pycaffe2/libcaffe2_python_nogpu.so
abort() called
terminating with uncaught exception of type google::protobuf::FatalException: CHECK failed: generated_database_->Add(encoded_file_descriptor, size):

from caffe2.

Yangqing avatar Yangqing commented on May 22, 2024

(Adding @n3011 in case interested)

from caffe2.

Yangqing avatar Yangqing commented on May 22, 2024

Hi @AKSHAYUBHAT - could you let me know your opencv version? opencv_imgcodecs does not exist on my machine but I am using opencv 2, so I am wondering if it is a new target introduced in the new opencv 3 - in which case we should change the BREW file to support opencv3 as well.

Regarding the protobuf: there is a flag to force the use of system protobuf:

https://github.com/Yangqing/caffe2/blob/master/build_env.py#L18

Not sure if that solves your problem, but maybe give it a try? The whole build script is kind of experimental for now, so a bit cleaning might be needed.

from caffe2.

 avatar commented on May 22, 2024

pkg-config --modversion opencv
3.0.0

Regarding using system protobuf, I manually edited out the protobuf to force it to use system protobuf.
Even then it gave me the same error.

Here is my edited caffe_python.cc
https://github.com/AKSHAYUBHAT/DeepLearning/blob/master/caffe2/pycaffe2/caffe2_python.cc
The fatal exception occurs in libcaffe2_python_nogpu.so

Looking at following two issues It might be due to my system:
BVLC/caffe#1917
rbgirshick/py-faster-rcnn#24

from caffe2.

rfarid avatar rfarid commented on May 22, 2024

I hope this one helps:

https://github.com/Yangqing/caffe2/issues/25

https://github.com/Yangqing/caffe2/issues/25

from caffe2.

Related Issues (20)

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.