Different execution environment in Yolov4 and faster r-cnn

1 view (last 30 days)
Hello guys, i am running two object detectors: Yolov4 and faster r-cnn… after running yolov4, in output there is written that started parallel pool with 4 workers… after running faster r-cnn there is written running on single gpu… i didnt specify the execution environment in training options, so why one of them uses single gpu and other use something else?

Accepted Answer

Vivek Akkala
Vivek Akkala on 25 May 2023
The DispatchInBackground parameter within the trainingOptions is accountable for allowing the parallel pool. The Object Detection Using YOLO v4 Deep Learning example has the DispatchInBackground parameter set to true, while Object Detection Using Faster R-CNN Deep Learning example has the parameter set to the default value, which is false. As a result, the parallel pool code is only written in the YOLO v4 example execution.

More Answers (0)

Categories

Find more on Recognition, Object Detection, and Semantic Segmentation 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!