Why I cannot use Alexnet on my images dataset
1 view (last 30 days)
Show older comments
clc;
clear;
images = imageDatastore('C:\Users\HIBA\Documents\Cancellable Biometrics\Datasets\NIST Faces 1','IncludeSubfolders',true,'LabelSource','foldernames');
[trainingImages,testingImages] = splitEachLabel(images,0.7,'randomized');
net = alexnet;
net.Layers;
layer = 'fc7';
trainingFeatures = activations(net,trainingImages,layer,'outputAs','channels');
testFeatures = activations(net,testingImages,layer);
0 Comments
Answers (3)
Walter Roberson
on 28 Jan 2018
alexnet needs R2016b or later, and requires Neural Network toolbox and requires Neural Network Toolbox Model for AlexNet Network support package
Rasaq Kotun
on 12 Feb 2019
i used this and changed the dimensions to 227 x 277 and worked perfectsly
0 Comments
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!