application_nasnet_large {keras3} | R Documentation |
Instantiates a NASNet model in ImageNet mode.
Description
Instantiates a NASNet model in ImageNet mode.
Usage
application_nasnet_large(
input_shape = NULL,
include_top = TRUE,
weights = "imagenet",
input_tensor = NULL,
pooling = NULL,
classes = 1000L,
classifier_activation = "softmax",
name = "nasnet_large"
)
Arguments
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 |
name |
The name of the model (string). |
Value
A Keras model instance.
Reference
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
.
Note
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.