Why does "predict" result in an error when setting the parameter "ExecutionEnvironment" in Deep Learning Toolbox?
Mostrar comentarios más antiguos
I encountered an error when trying to perform inference with the help of GPU using a "dlnetwork" object.
I have a "dlnetwork" that I use with the "predict" function. It works as expected when I use the "predict" function alone:
>> allQval=predict(net,stateValue);
But specifying a value for "ExecutionEnvironment" explicitly triggers the error:
>> allQval=predict(net,stateValue,"ExecutionEnvironment","parallel");Error using dlnetwork/validateForwardInputs
Incorrect number of network inputs. Network has 1 inputs, but 3 inputs were passed. To determine number and order of inputs, check
network 'InputNames' property.
How can I use my GPU with the "predict" function?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Deep Learning Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!