application_xception | R Documentation |
Instantiates the Xception architecture
application_xception(
include_top = TRUE,
weights = "imagenet",
input_tensor = NULL,
input_shape = NULL,
pooling = NULL,
classes = 1000,
classifier_activation = "softmax",
...
)
xception_preprocess_input(x)
include_top |
Whether to include the fully-connected
layer at the top of the network. Defaults to |
weights |
One of |
input_tensor |
Optional Keras tensor
(i.e. output of |
input_shape |
optional shape list, only to be specified
if |
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 string or callable. The activation function to
use on the "top" layer. Ignored unless |
... |
For backwards and forwards compatibility |
x |
|
For image classification use cases, see this page for detailed examples.
For transfer learning use cases, make sure to read the guide to transfer learning & fine-tuning.
The default input image size for this model is 299x299.
Each Keras Application typically expects a specific kind of input preprocessing.
For Xception, call xception_preprocess_input()
on your
inputs before passing them to the model.
xception_preprocess_input()
will scale input pixels between -1 and 1.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.