MATLAB: Do I get an error when I try to train a DAG network on multiple GPU’s

Deep Learning ToolboxParallel Computing Toolbox

I am trying to modify the "Semantic Segmentation Using Deep Learning" example found at the following link so that it can be trained using multiple GPU's:
If I try to have the the example use multiple GPU's by adding 'ExecutionEnvironment','multi-gpu' to the "trainingOptions" call, I get the following error when I try to train the network:
Error using trainNetwork (line 140)
Parallel training of DAG networks is not supported. 'ExecutionEnvironment' value in trainingOptions function
must be 'auto', 'gpu', or 'cpu'.
How can I use multiple GPU's on DAG networks?

Best Answer

This functionality is supported as of MATLAB R2018a. Unfortunately, there is no workaround for previous versions.