importCaffeLayers
Import convolutional neural network layers from Caffe
Description
Add-On Required: This feature requires the Deep Learning Toolbox Importer for Caffe Models add-on.
imports the layers of a Caffe [1] network.
The function returns the layers defined in the layers = importCaffeLayers(protofile).prototxt file
protofile.
This function requires Deep Learning Toolbox™ Importer for Caffe Models support package. If this support package is not installed, then the function provides a download link.
You can download pretrained networks from Caffe Model Zoo [2].
Examples
Input Arguments
Output Arguments
More About
Tips
importCaffeLayers can import networks with the following Caffe layer types, with some limitations:
| Caffe Layer | Deep Learning Toolbox Layer |
|---|---|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
|
|
| |
|
If the network contains any other type of layer, then the software returns an error.
The function imports only the layers that protofile specifies with the include-phase TEST. The function ignores any layers that protofile specifies with the include-phase TRAIN.
References
[1] Caffe. https://caffe.berkeleyvision.org/.
[2] Caffe Model Zoo. https://caffe.berkeleyvision.org/model_zoo.html.
Version History
Introduced in R2017a