필터 지우기
필터 지우기

Creating a data store for CNN Training

조회 수: 1 (최근 30일)
Thyagharajan K K
Thyagharajan K K 2020년 5월 9일
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개)

카테고리

Help CenterFile 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!

Translated by