Skip to content
This repository has been archived by the owner on Apr 15, 2020. It is now read-only.

Commit

Permalink
caffe example update
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslo committed Oct 5, 2016
1 parent 0ecd9f3 commit cbfc437
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/caffe/foo.cpp
Expand Up @@ -159,7 +159,7 @@ std::vector<float> Classifier::Predict(const cv::Mat& img) {

Preprocess(img, &input_channels);

net_->Forward();
net_->ForwardPrefilled();

/* Copy the output layer to a std::vector */
Blob<float>* output_layer = net_->output_blobs()[0];
Expand Down

0 comments on commit cbfc437

Please sign in to comment.