Image Classification for Non-Data Scientists

版本 0.1.0 (6.0 MB) 作者: Masayuki Tanaka
It provides an image classification sample-based pre-trained deep neural network for non-data scientists. You can test the image classificat
20.0 次下载
更新时间 2023/6/12

MATLAB Image Classification for Non-Data Scientists

It provides an image classification sample-based pre-trained deep neural network for non-data scientists. You can test the image classification by just copying images to a folder.

Requirement

It requires Deep Learning Toolbox. Pleae check Deep Learning Toolbox

It also requires to install app of pre-trained network when you use a new network.

Usage

Run demo_image_classification.

img_dir = 'images'; % specify the image folder

imds_train = load_imds( [img_dir,'/train/'] );
imds_test = load_imds( [img_dir,'/test/'] );

imcl = ImageClassifier('resnet18'); % specify the name of pre-trained netowrk.
imcl = imcl.fit( imds_train, 'num_iter', 10000, 'rho', 0.001, 'reg',1E-8, 'smooth', [0.50, 0.75] ); % parameters
[pred, proba] = imcl.pred( imds_test ); % test with test images
[results, acc] = result_table( pred, proba, imds_test ); % generate result table

Available Pre-trained feature extractor

googlenet, inceptionv3, densenet201, mobilenetv2, resnet18, resnet50, resnet101, xception, inceptionresnetv2, shufflenet, nasnetmobile, nasnetlarge, efficientnetb0, alexnet, vgg16, vgg19

Dataset

It includes four models images.

引用格式

Masayuki Tanaka (2024). Image Classification for Non-Data Scientists (https://github.com/mastnk/ImageClassificationForNonDataScientists/releases/tag/0.1.0), GitHub. 检索来源 .

MATLAB 版本兼容性
创建方式 R2023a
兼容任何版本
平台兼容性
Windows macOS Linux
标签 添加标签

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
0.1.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库