forked from BVLC/caffe
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Batched inference for cpp_classification
Example usage: ./build/examples/cpp_classification/classification.bin models/bvlc_reference_caffenet/deploy.prototxt \ models/bvlc_reference_caffenet/bvlc_reference_caffenet.caffemodel \ data/ilsvrc12/imagenet_mean.binaryproto \ data/ilsvrc12/synset_words.txt \ images/1.jpg images/2.jpg images/3.jpg images/4.jpg images/5.jpg
- Loading branch information
Showing
1 changed file
with
66 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
be0bff1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for posting this. I am going to be updating it a bit to handle LMDBs. I find this really strange this feature is not in Caffe already. Strange as I must be doing something wrong...
be0bff1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot. I implemented it, works well.
how do you find this method to speed up?
and what is main principle of this method? is it calculate all pictures on GPU simultaneously ?