CNN / Transfer Learning Example

Version 1.5.0.0 (6.15 KB) by Eiji Ota
Classify two similar flowers, "Dandelion" and "Colt's Foot" using CNN
3.1K Downloads
Updated 6 Aug 2018

View License

Usually training CNN costs us a lot of time and GPU cycles. One key technique to avoid this type of cost is "transfer learning". This example shows how we can try "transfer learning" using MATLAB. We combine pretrained model (alex net) and SVM to classify two similar flowers, "Dandelion" and "Colt's Foot".
通常CNNの学習には膨大な計算時間と計算コストがかかります。こうしたコストを避けるひとつの方法に転移学習と呼ばれる方法があります。このサンプルでは、よく似た2種類の花、タンポポとフキタンポポを学習済みのモデル(Alex Net)と SVM を組み合わせて見分けます。

Cite As

Eiji Ota (2024). CNN / Transfer Learning Example (https://www.mathworks.com/matlabcentral/fileexchange/57280-cnn-transfer-learning-example), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017b
Compatible with any release
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
1.5.0.0

Fixed a bug related to activations function

1.4.0.0

Changed source codes to use support package for alexnet.

1.3.0.0

Added automatic setup script "setupScript.m".
Added Japanese readme file.
Added two sample scripts related to "anomaly detection" and "similar image search"

1.2.0.0

Modified readme file. The instruction in the readme file was wrong. Sorry!

Wrong : Create 2 Folders for 'Dandelion' and 'ColtsFoot' under 'ImageData'
Right : Create 2 Folders for 'Dandelion' and 'ColtsFoot' under 'ImageData/17Flowers'

1.1.0.0

Modified the readme file. Please check bug report, if you have troubles with this demo.
Updated readme file. The url of mat-file was wrong.

1.0.0.0