application_nasnetlarge | R Documentation |
Instantiates a NASNet model in ImageNet mode.
application_nasnetlarge(
input_shape = NULL,
include_top = TRUE,
weights = "imagenet",
input_tensor = NULL,
pooling = NULL,
classes = 1000L,
classifier_activation = "softmax"
)
input_shape |
Optional shape tuple, only to be specified
if |
include_top |
Whether to include the fully-connected layer at the top of the network. |
weights |
|
input_tensor |
Optional Keras tensor (i.e. output of
|
pooling |
Optional pooling mode for feature extraction
when
|
classes |
Optional number of classes to classify images
into, only to be specified if |
classifier_activation |
A |
A Keras model instance.
Optionally loads weights pre-trained on ImageNet.
Note that the data format convention used by the model is
the one specified in your Keras config at ~/.keras/keras.json
.
Each Keras Application expects a specific kind of input preprocessing.
For NASNet, call application_preprocess_inputs()
on your
inputs before passing them to the model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.