Giter Club home page Giter Club logo

Comments (2)

Yangqing avatar Yangqing commented on May 1, 2024

That would be a very nice feature to have. I am not sure what is the
easiest way to do this, because right now the errors are produced by glog's
LOG(FATAL) command, which I am not sure could be caught as an exception.

One possible way to handle this is to run the pycaffe module at a separate
subprocess, which also brings the additional benefit of asynchronous calls
(run caffe prediction, immediately returns, join later). A potential
problem is that we will then need to pipe data between processes, which may
create some additional overhead.

Yangqing

On Wed, Jan 15, 2014 at 3:25 PM, longjon [email protected] wrote:

Currently recoverable errors in pycaffe (such as using the wrong input
dimensions) cause interpreter crashes instead of Python exceptions.


Reply to this email directly or view it on GitHubhttps://github.com//issues/35
.

from caffe.

shelhamer avatar shelhamer commented on May 1, 2024

Fixed in #311 and 76c2554 and others! Not everything is caught for python yet, but the usual errors aren't crashes anymore.

from caffe.

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.