Skip to content

Latest commit

 

History

History
74 lines (46 loc) · 1.68 KB

File metadata and controls

74 lines (46 loc) · 1.68 KB

Evaluate the model (ml evaluate)

...

Evaluate the model

Example based on this image: Sunflower from Flickr by erikslife

(keras-gpu) C:\Users> ml evaluate --config-file=./data/inceptionv3-trained.json \
--evaluation-file=./data/eval/sunflower/1.jpg
Using TensorFlow backend.

general
-------
verbose:                  True
debug:                    False

data
----
environment_path:         F:/data
config_file:              F:/data/inceptionv3-trained.json
evaluation_file:          F:/data/eval/sunflower/1.jpg


Are these configurations correct? Continue? [Y/n] y


classes
-------
daisy:                8.53%
dandelion:            0.00%
rose:                 0.00%
sunflower:           91.47%
tulip:                0.00%
-------


predicted class:
----------------
predicted: sunflower
----------------

--- time measurement for "load json config file": 0.0010s ---

--- time measurement for "load model file": 19.4119s ---

--- time measurement for "load image file": 0.0353s ---

--- time measurement for "predict image file": 4.0958s ---

A. Further Tutorials

B. Sources

  • ...

C. Authors

D. License

This tutorial is licensed under the MIT License - see the LICENSE.md file for details

E. Closing words

Have fun! :)