Data input and target formatting for Deep Learning Models
I am trying to train a ML model with data from 10 different trials in batches. Right now the input data is stored in a 1×9 cell array (Features) with each cell containing a 3x1x541 dlarray corresponding to (the 3 accelerometer channels C, Batch, and 541 time steps T) for all 10 trials. The other cell array that contains the correposding continous variable we are trying to predict/output values over the 541 time steps stored in (Predictionvalue). I am getting an error when inputing into my model that: Error using trainnet (line 46)
Dimension format of predictions and target values arguments must match.
Are there any suggestions on how I could fix this or if I am formatting my data inputs/tragets incorrectly?
Thank you so much in advance!I am trying to train a ML model with data from 10 different trials in batches. Right now the input data is stored in a 1×9 cell array (Features) with each cell containing a 3x1x541 dlarray corresponding to (the 3 accelerometer channels C, Batch, and 541 time steps T) for all 10 trials. The other cell array that contains the correposding continous variable we are trying to predict/output values over the 541 time steps stored in (Predictionvalue). I am getting an error when inputing into my model that: Error using trainnet (line 46)
Dimension format of predictions and target values arguments must match.
Are there any suggestions on how I could fix this or if I am formatting my data inputs/tragets incorrectly?
Thank you so much in advance! I am trying to train a ML model with data from 10 different trials in batches. Right now the input data is stored in a 1×9 cell array (Features) with each cell containing a 3x1x541 dlarray corresponding to (the 3 accelerometer channels C, Batch, and 541 time steps T) for all 10 trials. The other cell array that contains the correposding continous variable we are trying to predict/output values over the 541 time steps stored in (Predictionvalue). I am getting an error when inputing into my model that: Error using trainnet (line 46)
Dimension format of predictions and target values arguments must match.
Are there any suggestions on how I could fix this or if I am formatting my data inputs/tragets incorrectly?
Thank you so much in advance! data formatting, machine learning, dlarray, deep learning MATLAB Answers — New Questions