Creating a data store for CNN Training
조회 수: 2 (최근 30일)
이전 댓글 표시
I am having a 4D array xy_RGBO(row,col,channel,sample)
This array has 1x11 values for each channel and four such channels are arranged in the 3rd dimension. This 3D block represents one image. The fourth dimension indicateds the index for each image. How can I create a data store to train CNN?
When I stored each image as TIFF file and the data store was created using
imds=imageDatastore(fullfile(rootFolder),'FileExtensions', '.tiff','IncludeSubfolders',true,'LabelSource','foldernames')
The following error appeared
Error in LeafDAGMultinput (line 160)
kkt_net = trainNetwork(imdsTrain,layers,opts); %data, layers, global training options
Caused by:
Layer 'input_stream_1': Missing input. Each layer input must be connected to the output of another layer.
Detected missing inputs:
input 'in2'
input 'in3'
Layer 'FCs_Connected': Missing input. Each layer input must be connected to the output of another layer.
Detected missing inputs:
input 'in2'
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Deep Learning for Image Processing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!