Error using sequenceInputLayer, Invalid argument at position 1. Expected input to be a scalar, 3 element vector or 4 element vector. Should i fill something in inputsize??

8 views (last 30 days)
Please help me, i really have no idea. Im error using sequenceInputLayer.
here's the sequenceInputLayer code :
arguments
inputSize {mustBeNumeric, mustBeNonempty, mustBeValidScalarOrRowVector(inputSize), ...
mustBeReal, mustBeFinite, mustBeInteger, mustBePositive}
nameValueArgs.Normalization {iValidNormalization} = 'none';
nameValueArgs.NormalizationDimension = 'auto';
nameValueArgs.Name {iAssertValidLayerName} = '';
nameValueArgs.Mean = [];
nameValueArgs.StandardDeviation = [];
nameValueArgs.Min = [];
nameValueArgs.Max = [];
nameValueArgs.AverageImage = [];
end
  3 Comments

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 14 Feb 2023
Your release does not support 1D sequence input. The first release that supported that was R2021b

More Answers (0)

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!