imageImageLayer with variable image size for Fully Convolutional Network (FCN)

조회 수: 1 (최근 30일)
Hello all,
I am modifying a pretrained CNN to an FCN and I want to create an input layer that takes variable image dimensions.
layers(1) = imageInputLayer([imageSize 3], 'Name', layers(1).Name,...
'DataAugmentation', layers(1).DataAugmentation, ...
'Normalization', layers(1).Normalization);
Is it possible to initialize imageSize with undefined variables so that it will take automatically the size of each image given in the training process? I tried imageSize = [none none] and other definitions but it is not working.
Appreciate any kind of help!
Thank you

답변 (0개)

카테고리

Help CenterFile Exchange에서 Image Data Workflows에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by