How to use different sized images to train a CNN

1 view (last 30 days)
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?
thanks!

Answers (1)

Abolfazl Nejatian
Abolfazl Nejatian on 8 Feb 2019
i've the same question !!!

Community Treasure Hunt

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

Start Hunting!