Train recurrent neural network with variable length input cell vectors.
이전 댓글 표시
Hi,
I am working on recurrent neural network and my dataset consists of input cell and target cell. The input cell consists of vectors with variable length for example input{[1,1,0],[2,1,1,1,2,1],[2,1],...} and my target is T{[0,0,1],[0,0,0,0,0,1],[0,1],....} I tried to use the command [Xs,Xi,Ai,Ts] = preparets(net,input,T); but Matlab through the error (Error using preparets (line 78)
Inputs{1,3} and Inputs{1,1} have different numbers of columns)
Which command should I use to overcome this issue?
Thanks in advance for any advice.
채택된 답변
추가 답변 (1개)
Essa Anas
2016년 12월 1일
0 개 추천
Thank you for your reply. Yes, after changing the input to be with equal length, I was able to train the RNN.
카테고리
도움말 센터 및 File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!