Module: tf.keras.applications.xception

Defined in tensorflow/keras/applications/xception/__init__.py.

Xception V1 model for Keras.

On ImageNet, this model gets to a top-1 validation accuracy of 0.790 and a top-5 validation accuracy of 0.945.

Do note that the input image format for this model is different than for the VGG16 and ResNet models (299x299 instead of 224x224), and that the input preprocessing function is also different (same as Inception V3).

Also do note that this model is only available for the TensorFlow backend, due to its reliance on SeparableConvolution layers.

Reference

Functions

Xception(...): Instantiates the Xception architecture.

decode_predictions(...): Decodes the prediction of an ImageNet model.

preprocess_input(...): Preprocesses a numpy array encoding a batch of images.