Multi-Scale Training Sizes syntax

1 次查看(过去 30 天)
Does anyone know how to use 'detector = trainYOLOv2ObjectDetector(___,'MultiScaleTrainingSizes',trainingSizes)' this syntax? I tried it, and the matlab told me is not a vaild parameter. An example of this syntax would help me a lot.
Thanks!

回答(1 个)

Kushagr Gupta
Kushagr Gupta 2019-5-8
The following link mentions the type of data supported by 'MultiScaleTrainingSizes' Name-Value Pair argument.
In essence, it needs to be a Mx2 matrix, where each row of the matrix is of the form [height width].
Do keep in mind the note mentioned for this parameter. It says that the values specified using this syntax should be greater than or equal to the size mentioned using the image input layer.
HTH

类别

Help CenterFile Exchange 中查找有关 Sequence and Numeric Feature Data Workflows 的更多信息

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by