pycaffe: test channel_order and input_scale against None
authorJonathan L Long <jonlong@cs.berkeley.edu>
Fri, 18 Jul 2014 23:45:17 +0000 (16:45 -0700)
committerJonathan L Long <jonlong@cs.berkeley.edu>
Sat, 19 Jul 2014 00:08:49 +0000 (17:08 -0700)
commitfb2f7c1c2757e2a7e48860f75b6a091f7351fc68
treeff975653569e0c1226931bf3b1b43071034c0eac
parent32fefa96f9ba585bbbf4fff19fef89c3ec125a89
pycaffe: test channel_order and input_scale against None

An input_scale of zero should produce warnings/errors/infinities rather
than being the same as an input_scale of one. A channel_order of () or 0
should not be equivalent to the default ordering.
python/caffe/pycaffe.py