Deep Learning Toolbox Importer for Caffe Models

Software support package for importing pretrained Caffe Models
3.0K 次下载
更新时间 2024/9/11

This software support package provides functions for importing pretrained models as well as layers of Convolutional Neural Networks (CNNs) from Caffe (http://caffe.berkeleyvision.org/). Pretrained models are imported as a SeriesNetwork or a Directed Acyclic Graph (DAG) network object.

Opening the caffeimporter.mlpkginstall file from your operating system or from within MATLAB will initiate the installation process for the release you have.
This mlpkginstall file is functional for R2017a and beyond.

Usage Example (importCaffeNetwork):
% Specify files to import
protofile = 'digitsnet.prototxt';
datafile = 'digits_iter_10000.caffemodel';
% Import network
net = importCaffeNetwork(protofile,datafile)
Usage Example (importCaffeLayers):
% Specify file to import
protofile = 'digitsnet.prototxt';
% Import network layers
layers = importCaffeLayers('digitsnet.prototxt')

For more information on importing Caffe networks, please visit our documentation at https://www.mathworks.com/help/deeplearning/ref/importcaffenetwork.html

For more information on importing layers from Caffe, please visit our documentation at
https://www.mathworks.com/help/deeplearning/ref/importcaffelayers.html

To get a list of all the pretrained models supported by MATLAB, please visit https://www.mathworks.com/solutions/deep-learning/models.html

MATLAB 版本兼容性
创建方式 R2017a
兼容 R2017a 到 R2024b 的版本
平台兼容性
Windows macOS (Apple 芯片) macOS (Intel) Linux
类别
Help CenterMATLAB Answers 中查找有关 Deep Learning Toolbox 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!