Note that only TensorFlow is supported for now,
therefore it only works with the data format
image_data_format='channels_last'
in your Keras config
at ~/.keras/keras.json
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | application_nasnet(
input_shape = NULL,
penultimate_filters = 4032L,
num_blocks = 6L,
stem_block_filters = 96L,
skip_reduction = TRUE,
filter_multiplier = 2L,
include_top = TRUE,
weights = NULL,
input_tensor = NULL,
pooling = NULL,
classes = 1000,
default_size = NULL
)
application_nasnetlarge(
input_shape = NULL,
include_top = TRUE,
weights = NULL,
input_tensor = NULL,
pooling = NULL,
classes = 1000
)
application_nasnetmobile(
input_shape = NULL,
include_top = TRUE,
weights = NULL,
input_tensor = NULL,
pooling = NULL,
classes = 1000
)
nasnet_preprocess_input(x)
|
input_shape |
Optional shape list, the input shape is by default |
penultimate_filters |
Number of filters in the penultimate layer.
NASNet models use the notation |
num_blocks |
Number of repeated blocks of the NASNet model. NASNet
models use the notation |
stem_block_filters |
Number of filters in the initial stem block |
skip_reduction |
Whether to skip the reduction step at the tail end
of the network. Set to |
filter_multiplier |
Controls the width of the network.
|
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 |
default_size |
Specifies the default image size of the model |
x |
a 4D array consists of RGB values within |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.