Raise Python exceptions if CaffeNet input files don't exist
authorJonathan L Long <jonlong@cs.berkeley.edu>
Wed, 12 Mar 2014 00:10:14 +0000 (17:10 -0700)
committerJonathan L Long <jonlong@cs.berkeley.edu>
Tue, 18 Mar 2014 05:59:02 +0000 (22:59 -0700)
commit895cd777e5d825ce657060b56068b314120e6439
treee7fd800a46774b6da9d80999a8b5e3c982993a60
parent82c38b25cc558bd4ba216913b0ab1074bdd385d1
Raise Python exceptions if CaffeNet input files don't exist

This is for convenience only; if the input files are moved or deleted at
the wrong time, pycaffe could still crash (as it did before). However,
in most cases this will make interactive use easier.
python/caffe/_caffe.cpp