| commit | 1ba3e1460898679d0459a1683d85511df237f4c1 | [log] [tgz] |
|---|---|---|
| author | Andrew Dye <andrewdye@fb.com> | Mon Nov 20 08:55:11 2017 -0800 |
| committer | Facebook Github Bot <facebook-github-bot@users.noreply.github.com> | Mon Nov 20 09:03:17 2017 -0800 |
| tree | ca5fd10a3b141b5a2c82dd65ef43740d0edda1a1 | |
| parent | 4471e15b76311bcd314396082d98e9310ab83d65 [diff] |
Throw Python exception from PythonOp instead of logging Summary: Today when PythonOp throws an exception, we log the error and fail the op. Later we assert that the op/net/plan succeeds and throw with a generic message. The user must ttail the logs to find the real error. Instead, align with exception handling from other ops - throw directly. This will include full context of the exception in the error message. Reviewed By: Yangqing, akyrola Differential Revision: D6359684 fbshipit-source-id: 85133ba6562759607a3971449120647cbacce946
Caffe2 is a lightweight, modular, and scalable deep learning framework. Building on the original Caffe, Caffe2 is designed with expression, speed, and modularity in mind.
Caffe2 research award competition request for proposals
Please use Github issues (https://github.com/caffe2/caffe2/issues) to ask questions, report bugs, and request new features.
Please participate in our survey (https://www.surveymonkey.com/r/caffe2). We will send you information about new releases and special developer events/webinars.
Caffe2 is released under the Apache 2.0 license. See the NOTICE file for details.