How to use different sized images to train a CNN

6 ビュー (過去 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?
thanks!

回答 (1 件)

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