how to define a fully convolution net?

1 view (last 30 days)
I'm trying to build a FCN to segment image, so how to define my input layer using imageInputLayer function ,dose it seems like imageInputLayer(auto, auto, 3)?
  2 Comments
QU HAIFENG
QU HAIFENG on 7 Jun 2018
Maybe I don't describe the problem clearly, I want to input arbitrary size image to my convolution net, tkz for any suggestion.
Matt J
Matt J on 27 Apr 2022
Edited: Matt J on 27 Apr 2022
Yes! How?? It's shockingly difficult to get clarification on how to do this.

Sign in to comment.

Accepted Answer

QU HAIFENG
QU HAIFENG on 7 Jun 2018
I found answer from document --Semantic Segmentation Examples: "A semantic segmentation network starts with an imageInputLayer, which defines the smallest image size the network can process. Most semantic segmentation networks are fully convolutional, which means they can process images that are larger than the specified input size. Here, an image size of [32 32 3] is used for the network to process 64x64 RGB images."
  1 Comment
Matt J
Matt J on 27 Apr 2022
Edited: Matt J on 27 Apr 2022
That's good to know, but the imageInputLayer performs operations on the inputs that are not convolutional or shift invariant. Doesn't that defeat the goal of achieving an FCN? Or did you turn off all the normalizations?

Sign in to comment.

More Answers (0)

Categories

Find more on Image Data Workflows 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!