BiLSTM layer prediction and target mismatch error.
    1 Ansicht (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
I am trying to do a sequence to sequence modelling using BilSTM network. The data is arranged for inputs as cells where each cell corresponds to an input sequence with TxC elements per cell,  where T is the number of time steps and C is the number of features. The output sequence is arranaged in cells where each cell corresponds to an output sequence with TxC elements per cell.
The BilSTM layer is followed by a fullyconnectedlayer (FCL), where the output of the FCL is set as 16. I am using the trainnet function. When I am running the code it gives me an error that the size of predictions and targets must match. What can I do to resolve the issue?
0 Kommentare
Antworten (1)
  Taylor
    
 am 7 Okt. 2024
        Hard to give advice more specific than the error message without your code for context. You should check out this example for reference.
0 Kommentare
Siehe auch
Kategorien
				Mehr zu Linear Algebra finden Sie in Help Center und File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!