Deep Learning Hackathon with Transfer Learning

If you wonder about the use of Deep Learning in your application, Transfer Learning is a quick way to test this!
Updated 29 Sep 2022

View License

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

The specific application tackled in this example, with Alexnet, is the winning solution to the Hackathon: on Image Recognition to Identify Plant Species at Itility. Use of a GPU is highly recommended.
Experts create and train Deep Neural Networks on millions of images to automate tasks like Object Recognition. See more:
Such pre-trained networks are easily accessible and tunable with MATLAB to efficiently solve new problems.
Transferring the learning from those networks to a new problem is a simple operation on the network layers, that typically achieves good results with fewer images and less training time.
In this script, you can easily try out many of these pre-trained networks and explore: training options, compare accuracy results and find the settings that will give you the best 'Hackathon' results!
Once your network is ready you can save it as a *.mat file and test it live (on streaming video) using a webcam and the 'ClassifyImagesFromWebcam(net)' function.
You can also speed up the prediction of the model using MEX or deploy it directly on embedded devices with automatic code generation for GPU, CPU, etc.

Cite As

Paola Jaramillo (2024). Deep Learning Hackathon with Transfer Learning (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2018b
Compatible with R2018b and later releases
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

Itility blog is not anymore publicly available.


Title updated


Including more network architectures.