ShuffleNet-tensorflow icon indicating copy to clipboard operation
ShuffleNet-tensorflow copied to clipboard

how to test one picture can be recognized use the modle?

Open juzhitao opened this issue 8 years ago • 3 comments

juzhitao avatar Nov 08 '17 03:11 juzhitao

Here is roughly what you need to do. After you trained the model:

  1. graph, ops = get_shufflenet(...) to load the model definition.
  2. function predict_proba in prediction_utils.py to load your trained model and make predictions.

TropComplique avatar Nov 08 '17 13:11 TropComplique

can you upload the test .py file to do prediction use one picture?

juzhitao avatar Nov 09 '17 00:11 juzhitao

or what is the command to predict one picture? and the output is a value between 0~199?

juzhitao avatar Nov 09 '17 03:11 juzhitao