You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Currently recoverable errors in pycaffe (such as using the wrong input dimensions) cause interpreter crashes instead of Python exceptions.
The text was updated successfully, but these errors were encountered: