CaffeOnSpark icon indicating copy to clipboard operation
CaffeOnSpark copied to clipboard

How to use my model to process image data

Open rosszh opened this issue 8 years ago • 1 comments

I'm a newer for CaffeOnSpark. Now, I have a model file(ain_iter_8000.caffemodel) and mean value file(imagenet_mean.binaryproto) and label file(label.txt) and deploy file(deploy.prototxt). But I don't know how to use them. So, has somebody know How Can I use the file to process image? Thanks!

rosszh avatar Apr 21 '17 09:04 rosszh

You can use "-test" or "-features" to get the prediction and extra features. See Step 8 of this page https://github.com/yahoo/CaffeOnSpark/wiki/GetStarted_yarn.

In that example "-train" and "-features" are combined. You can separate them as two different runs.

junshi15 avatar Apr 24 '17 13:04 junshi15