converting classification network to fully convolutional with arbitrary sized image

1 ビュー (過去 30 日間)
Ilia Vitsnudel
Ilia Vitsnudel 2021 年 11 月 23 日
回答済み: Prateek Rai 2021 年 11 月 26 日
I have trained a classification network that runs on 32x32x3 input (classify letters). How can I convert it to fully convolutional network that will run on arbitrary sized image. I don't want to resize my input to 32x32x3, but run the detection over the whole image classifying every neighborhood of 32x32x3 sequentially.
Thank you, in advance.

回答 (1 件)

Prateek Rai
Prateek Rai 2021 年 11 月 26 日
One possible workaround could be that you can first use the whole image and find the potential patches of size 32x32x3 where there is a high chance of having letters.
(Note: If you want to use the entire image then you can start from the top left and take a window of size 32x32x3 and then start moving that window sidewards to cover the whole image eventually.)
Once you start having the small images of size 32x32x3, then you can use those to feed to your Convolutional Network and get the desired output.


Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by