Convolution neural network for image classification in deep learning
조회 수: 1 (최근 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!