What's are the parameters in detect() function?

7 ビュー (過去 30 日間)
lubomir ondreicka
lubomir ondreicka 2020 年 6 月 10 日
回答済み: Srivardhan Gadila 2020 年 6 月 18 日
I want to use function detect() to evaluate Faster R-CNN detector in Matlab and I have found this code on the Matlab website.
detect(detectorFasterRCNN,testData,'MinibatchSize',4);
But I can't find what is the 4th parameter in this function. I mean the number 4 in this function.
I would greatly appreciate any help. Thanks.

採用された回答

Srivardhan Gadila
Srivardhan Gadila 2020 年 6 月 18 日
Refer to the MiniBatchSize input argument explanation of the detect documentation.
Minimum batch size, specified as the comma-separated pair consisting of 'MiniBatchSize' and a scalar value. Use the MiniBatchSize to process a large collection of images. Images are grouped into minibatches and processed as a batch to improve computation efficiency. Increase the minibatch size to decrease processing time. Decrease the size to use less memory.
In your above code, the number 4 refers to the Mini Batch Size i.e., the detect function processes 4 samples of testData at a time.

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by