Using Alexnet classify to predict an image. Getting following error:
1 次查看(过去 30 天)
显示 更早的评论
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{:} );
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/171054/image.jpeg)
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Data Workflows 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!