Design Time Series Time-Delay Neural Networks example errors
조회 수: 1 (최근 30일)
이전 댓글 표시
I want to utilize the Design Time Series Time-Delay Neural Networks FTDNN example to process doubles instead of cell arrays. Running the example code in the Help section works as expected. However, as a first atempt to use this example to process doubles rather than cell arrays, I used y = cell2mat(y); to get a double array. When I try to execute the example with this mnor modification, I get the error "Inputs and input states have different numbers of samples." when attempting to train the network. Yet, the dimensions of the variable double arrays are clearly the same dimensions as when I run the code with out the cell2mat conversion. I have not seen this error before when training networks using doubles. What could be the source of this?
Variable dimensions when run with y as a cell data type:
>> whos
Name Size Bytes Class Attributes
Pi 1x8 960 cell
ftdnn_net 1x1 43557 network
p 1x592 71040 cell
t 1x592 71040 cell
y 1x600 72000 cell
Variable dimensions when run with y as a double data type:
>> whos
Name Size Bytes Class Attributes
Pi 1x8 64 double
ftdnn_net 1x1 45726 network
p 1x592 4736 double
t 1x592 4736 double
y 1x600 4800 double
댓글 수: 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!