Training option ExecutionEnvironment = "parallel" does not work with trainMaskRCNN.

4 次查看(过去 30 天)
I am trying to use trainMaskRCNN to train a maskrcnn model. In the training options, I have set ExecutionEnvironment = "parallel", but this results in the error "Error using minibatchqueue. Expected OutputEnvironment to match one of these values: 'auto', 'gpu', 'cpu'".
The problem is that trainMaskRCNN passes the ExecutionEnvironment value to the function minibatchqueue, which only accepts one of the three values above. How are you then supposed to be able to use "parallel" with trianMaskRCNN?

回答(1 个)

T.Nikhil kumar
T.Nikhil kumar 2024-1-4
Hello David,
I understand that you want to set the ‘ExecutionEnvironment’ to ‘parallel’ for training your Mask RCNN model but are facing an error about unsupported environment.
Support for ‘multi-gpu’ and ‘parallel’ options for the ‘ExectionEnvironment’ property has been added for the MaskRCNN training from the MATLAB R2023b release. I would suggest you update MATLAB to R2023b release or later to be able to use ‘parallel’ execution environment for ‘trainMaskRCNN’.
Refer to the ‘ExecutionEnvironment’ property in the following documentation to know about all supported options:
Hope this helps you proceed further!

类别

Help CenterFile Exchange 中查找有关 Image Data Workflows 的更多信息

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by