Main Content

inceptionresnetv2

Pretrained Inception-ResNet-v2 convolutional neural network

  • Inception-ResNet-v2 network architecture

Description

Inception-ResNet-v2 is a convolutional neural network that is trained on more than a million images from the ImageNet database[1]. The network is 164 layers deep and can classify images into 1000 object categories, such as keyboard, mouse, pencil, and many animals. As a result, the network has learned rich feature representations for a wide range of images. The network has an image input size of 299-by-299. For more pretrained networks in MATLAB®, seePretrained Deep Neural Networks.

You can useclassifyto classify new images using the Inception-ResNet-v2 network. Follow the steps ofClassify Image Using GoogLeNetand replace GoogLeNet with Inception-ResNet-v2.

To retrain the network on a new classification task, follow the steps ofTrain Deep Learning Network to Classify New Imagesand load Inception-ResNet-v2 instead of GoogLeNet.

example

net= inceptionresnetv2returns a pretrained Inception-ResNet-v2 network.

This function requires the Deep Learning Toolbox™ Modelfor Inception-ResNet-v2 Networksupport package. If this support package is not installed, then the function provides a download link.

Examples

collapse all

Download and install the Deep Learning Toolbox Modelfor Inception-ResNet-v2 Networksupport package.

Typeinceptionresnetv2at the command line.

inceptionresnetv2

If the Deep Learning Toolbox Modelfor Inception-ResNet-v2 Networksupport package is not installed, then the function provides a link to the required support package in the Add-On Explorer. To install the support package, click the link, and then clickInstall. Check that the installation is successful by typinginceptionresnetv2at the command line. If the required support package is installed, then the function returns aDAGNetworkobject.

net = inceptionresnetv2
net = DAGNetwork with properties: Layers: [825×1 nnet.cnn.layer.Layer] Connections: [922×2 table]

Visualize the network using Deep Network Designer.

deepNetworkDesigner(inceptionresnetv2)

Explore other pretrained networks in Deep Network Designer by clickingNew.

Deep Network Designer start page showing available pretrained networks

If you need to download a network, pause on the desired network and clickInstallto open the Add-On Explorer.

Output Arguments

collapse all

Pretrained Inception-ResNet-v2 convolutional neural network, returned as aDAGNetworkobject.

References

[1]ImageNet. http://www.image-net.org

[2] Szegedy, Christian, Sergey Ioffe, Vincent Vanhoucke, and Alexander A. Alemi. "Inception-v4, Inception-ResNet and the Impact of Residual Connections on Learning." InAAAI, vol. 4, p. 12. 2017.

Extended Capabilities

Introduced in R2017b