MATLAB Answers

How to use different sized images to train a CNN

조회 수: 4(최근 30일)
Rana Raees Ahmed Khan
Rana Raees Ahmed Khan 2017년 8월 20일
답변: Abolfazl Nejatian 2019년 2월 8일
I need to train a CNN for image category classification of vehicle images, the images in data set that I have are of different sizes, and according to my knowledge we have to use a data set of same size for the image input layer, my questions are:
  1. how can I use different sized image data set in CNN?
  2. can this issue be resolved by image padding? and how to do it?
  3. will padding reduce the accuracy of trained CNN?


Abolfazl Nejatian
Abolfazl Nejatian 2019년 2월 8일
i've the same question !!!

Community Treasure Hunt

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

Start Hunting!

Translated by