the process is stuck in this form and not able to proceed further. i have waited about an hour but still nothing happened.

조회 수: 3 (최근 30일)
Training on single CPU.
Initializing image normalization.
|=========================================================================================|
| Epoch | Iteration | Time Elapsed | Mini-batch | Mini-batch | Base Learning|
| | | (seconds) | Loss | Accuracy | Rate |
|=========================================================================================|
%%The code i am using is this.
clc;
clear;
close all;
net=alexnet;
layers=net.Layers;
imds=imageDatastore('Flowers',...
'IncludeSubfolders',true,...
'LabelSource','foldername');
[test, train]=splitEachLabel(imds,.7);
numclass=numel(categories(imds.Labels));
layers(end)=classificationLayer;
layers(end-2)=fullyConnectedLayer(12);
opt=trainingOptions('sgdm','InitialLearnRate',0.001);
[newnet, info]=trainNetwork(train,layers,opt);
plot(info.TrainingLoss)

채택된 답변

Samir khan
Samir khan 2018년 7월 19일
I got it!! problem was with my parallel computational toolbox..

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Image Data Workflows에 대해 자세히 알아보기

제품


릴리스

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by