问题
I am using ImageData type of data in .prototxt file and trying to get the features from python code using net.forward()
and net.blobs
of caffe library. However, I get only 50 features after net.forward() call which is the batch_size which I have set in .prototxt file.
How can I get the features for subsequent batches? Do I have to call net.forward()
multiple times?
来源:https://stackoverflow.com/questions/48520103/caffe-net-forward-call-for-multiple-batches