How does the “ trainNetwork” function define input training data?
조회 수: 2 (최근 30일)
이전 댓글 표시
No matter how I change the input data format of image3dInputLayer, custom datastore, table, etc., can't be effectively trained?
load a.mat
layers = [
image3dInputLayer([64 64 64 4],"Name","image3dinput")
convolution3dLayer([11 11 7],96,"Name","conv3d","BiasLearnRateFactor",2,"Padding",[1 1 1;1 1 1],"Stride",[4 4 7])
reluLayer("Name","relu1")
crossChannelNormalizationLayer(5,"Name","norm1","K",1)
averagePooling3dLayer([3 3 1],"Name","avgpool3d","Stride",[2 2 1])
fullyConnectedLayer(8,"Name","fc")
softmaxLayer("Name","softmax")
classificationLayer("Name","classoutput")];
options = trainingOptions('sgdm', ...
'MiniBatchSize',2, ...
'MaxEpochs',2, ...
'InitialLearnRate',3e-4, ...
'Shuffle','every-epoch', ...
'Plots','training-progress');
[net, tr] = trainNetwork(a,layers,options);
my a.mat is like this:
错误使用 trainNetwork (line 165)
无法读取文件 '1'。没有此类文件或目录。
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Sequence and Numeric Feature Data Workflows에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!