image thumbnail

Deep Learning: Transfer Learning in 10 lines of MATLAB Code

version 1.0.0.0 (2.32 KB) by MathWorks Deep Learning Toolbox Team
Use transfer learning for training a deep neural network to classify 5 different types of food.

7.5K Downloads

Updated 24 Feb 2017

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

Learn how to use transfer learning in MATLAB to re-train deep learning networks created by experts for your own data or task.
This demo teaches you how to use transfer learning to re-train AlexNet, a pretrained deep convolutional neural network (CNN or ConvNet) to recognize snack food such as hot dogs, cup cakes and apple pie.
You can download the AlexNet support package here:
https://www.mathworks.com/matlabcentral/fileexchange/59133-neural-network-toolbox-tm--model-for-alexnet-network
You can download the webcam support package here:
https://www.mathworks.com/matlabcentral/fileexchange/45182-matlab-support-package-for-usb-webcams

Cite As

MathWorks Deep Learning Toolbox Team (2021). Deep Learning: Transfer Learning in 10 lines of MATLAB Code (https://www.mathworks.com/matlabcentral/fileexchange/61639-deep-learning-transfer-learning-in-10-lines-of-matlab-code), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: Training 3D CNN models

Community Treasure Hunt

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

Start Hunting!