Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

decode_predictions

Decode predictions from pre-defined imagenet networks


Description

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

Usage

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


kerasR

R Interface to the Keras Deep Learning Library

v0.6.1
LGPL-2
Authors
Taylor Arnold [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.