Deep-Learning icon indicating copy to clipboard operation
Deep-Learning copied to clipboard

Final result of the script is not a label/class name

Open jackeylhm opened this issue 4 years ago • 0 comments

Hi At the end of the script, it prints out prediction, yet it is an numeric array. It is not showing the class name. Can the final result be similar to the earlier section in the script such as:

preprocessed_image = prepare_image('blue_tit.jpg') predictions = model.predict(preprocessed_image) results = imagenet_utils.decode_predictions(predictions) results

Thanks in advance.

jackeylhm avatar Mar 11 '20 08:03 jackeylhm