I have solved it, by reading Get Started with Deep Network Designer - MATLAB & Simulink (mathworks.com)
output out of range in deeper network designer
    2 views (last 30 days)
  
       Show older comments
    

when I use "sequence to label" in deep network designer, my label is all 1*1, but I have an error "unexpected response size: The output layer expects responses with the same sequence length and channel dimenson 1. " It confuses me. There is the code associated with this .
Y=x(:,17);
cellout=cell(685,1);
for i = 1:685
    rowData = Y(i, :);
    w=rowData';
    cellout{i} =w ;
end
cellout=tall(cellout);
write('C',cellout)
out=datastore("C\")
in=datastore("B\")
train1=combine(in,out)
out = 
  TallDatastore - 属性:
                       Files: {
                              'F:\MATLAB\code\C\array_r01_00001_snapshot_0x1.mat';
                              'F:\MATLAB\code\C\array_r02_00001_snapshot_0x1.mat';
                              'F:\MATLAB\code\C\array_r03_00001_snapshot_0x1.mat'
                               ... and 9 more
                              }
                    ReadSize: 1
                    FileType: 'mat'
    AlternateFileSystemRoots: {}
Answers (0)
See Also
Categories
				Find more on Deep Learning Toolbox in Help Center and File Exchange
			
	Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!