Convolution neural network for image classification in deep learning
4 ビュー (過去 30 日間)
古いコメントを表示
Is it possible to use images that have different sizes as an input to a convolution neural network? If not, Is there any deep learning algorithm suitable for the images that are different in sizes?
0 件のコメント
回答 (1 件)
Sanyam
2022 年 7 月 9 日
Most of the neural networks take an image of fixed dimension. If you have images of different dimension in your dataset then MATLAB has augmentedImageDatastore to preprocess the images before you feed them in your neural network
imds % the datastore for images
preprocessedImages = augmentedImageDatastore([x y], imds) % x, y are the final dimensions of image
% you can use the preprocessedImages variable datastore to feed into your
% network
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Deep Learning Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!