decode_predictions: Decode predictions from pre-defined imagenet networks

View source: R/applications.R

decode_predictionsR Documentation

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

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


kerasR documentation built on Aug. 17, 2022, 5:06 p.m.