Import pretrained convolutional neural network models from Caffe
net = importCaffeNetwork(protofile,datafile)
net = importCaffeNetwork(protofile,datafile,'InputSize',sz)
net = importCaffeNetwork(___,Name,Value)
imports
a pretrained network from Caffe [1] as
a net
= importCaffeNetwork(protofile
,datafile
)SeriesNetwork
object. The function returns the
pretrained network with the architecture specified by the .prototxt
file protofile
and
with network weights specified by the .caffemodel
file datafile
.
This function requires Neural Network Toolbox™ Importer for Caffe Models support package. If this support package is not installed, the function provides a download link.
You can download pretrained networks from Caffe Model Zoo [2].
returns
a network with additional options specified by one or more net
= importCaffeNetwork(___,Name,Value
)Name,Value
pair
arguments using any of the previous syntaxes.
[1] Caffe. http://caffe.berkeleyvision.org/
[2] Caffe Model Zoo. http://caffe.berkeleyvision.org/model_zoo.html
alexnet
| googlenet
| importCaffeLayers
| importKerasLayers
| importKerasNetwork
| vgg16
| vgg19