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

1 visualización (últimos 30 días)
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

Respuestas (0)

Categorías

Más información sobre Image Data Workflows en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by