Error in function ssdLayer

4 views (last 30 days)
I'm getting the following error when I try to run function ssdLayers: ???
Undefined function 'ssdLayers' for input arguments of type 'double'.
This is my code.
imageSize = [300 300 3];
numClasses = width(vehicleDataset)-1;
baseNetwork = 'resnet50';
lgraph = ssdLayers(imageSize,numClasses,baseNetwork);
Thank you.

Accepted Answer

Srivardhan Gadila
Srivardhan Gadila on 26 Apr 2020
The function ssdLayers is introduced in R2020a, make sure that the MATLAB version you are using is R2020a and you have Computer Vision Toolbox installed.
  1 Comment
lubomir ondreicka
lubomir ondreicka on 27 Apr 2020
Thank you. I have installed version r2019b.

Sign in to comment.

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing 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!