Made a major change: when initializing a network, the input size are no longer provid...
authorYangqing Jia <jiayq84@gmail.com>
Sat, 16 Nov 2013 00:58:53 +0000 (16:58 -0800)
committerYangqing Jia <jiayq84@gmail.com>
Sat, 16 Nov 2013 00:58:53 +0000 (16:58 -0800)
commite24b1dd22b888efb60e42fcdeee0baa7f5a2dc0f
treef4f1eabcc880ff87d7e67d0cb15b0ad8213f462d
parentf54e9779ef5b99d21df93b5df394d9aefa125c06
Made a major change: when initializing a network, the input size are no longer provided by an additional vector of blobs, but should be specified in the netparameters proto by the field "input_dim". This avoid the often awkward code of creating a dummy input vector just for the sake of initializing the network.
13 files changed:
Makefile
examples/dump_network.cpp
examples/imagenet.prototxt
examples/imagenet_solver.prototxt
examples/imagenet_test.prototxt
examples/net_speed_benchmark.cpp
examples/test_net.cpp
include/caffe/net.hpp
python/caffe/imagenet/wrapper.py
python/caffe/pycaffe.cpp
src/caffe/net.cpp
src/caffe/proto/caffe.proto
src/caffe/solver.cpp