Effacer les filtres
Effacer les filtres

Convolution neural network for image classification in deep learning

4 vues (au cours des 30 derniers jours)
tamoor aziz
tamoor aziz le 25 Fév 2020
Réponse apportée : Sanyam le 9 Juil 2022
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?

Réponses (1)

Sanyam
Sanyam le 9 Juil 2022
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

Catégories

En savoir plus sur Deep Learning Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by