decode_predictions: Decode predictions from pre-defined imagenet networks

Description Usage Arguments Author(s) References

View source: R/applications.R

Description

These map the class integers to the actual class names in the pre-defined models.

Usage

1
2
decode_predictions(pred, model = c("Xception", "VGG16", "VGG19", "ResNet50",
  "InceptionV3"), top = 5)

Arguments

pred

the output of predictions from the specified model

model

the model you wish to preprocess to

top

integer, how many top-guesses to return.

Author(s)

Taylor B. Arnold, taylor.arnold@acm.org

References

Chollet, Francois. 2015. Keras: Deep Learning library for Theano and TensorFlow.


YTLogos/kerasR documentation built on May 19, 2019, 4:04 p.m.