Using Alexnet classify to predict an image. Getting following error:

Error using SeriesNetwork/predict (line 324)
For an image input layer, the input data for predict must be a single image, a 4D array of images, or an imageDatastore with the correct size.
Error in SeriesNetwork/classify (line 559)
scores = this.predict( X, varargin{:} );

Categories

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

Asked:

on 7 Mar 2018

Edited:

on 24 Mar 2018

Community Treasure Hunt

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

Start Hunting!