DL + GPU Coder: Code generation for SequenceInputLayer is not supported.

조회 수: 1 (최근 30일)
Hello guys,
I have a DL model I'd like to use to import to Simulink, with the help of the GPU coder. Is a simple function, and my model is uploaded in this message. The error I get when I try to run the "Check for Issues" option in the GPU Coder app from Matlab, is the following:
??? Error generating code for network n_0. Code generation for SequenceInputLayer SequenceInputLayer is not supported.
The function is the following:
function out=modelPred(data)
out=zeros(1,4);
model=coder.loadDeepLearningNetwork('n.mat','n');
out(1,:)=predict(model, data);
end
The full error log looks like this, see the screenshot:
Captura.JPG
Do you know any way in which I can solve this issue? Thanks in advance.

채택된 답변

Walter Roberson
Walter Roberson 2019년 2월 24일
on Windows you need to install Visual Studio 2013 Professional or 2015 Professional or 2017 (any edition) and then use mex -setup to configure .
  댓글 수: 5
Walter Roberson
Walter Roberson 2019년 2월 25일
CUDA is definitely only NVIDIA.
It is not impossible that at some point Intel might buy NVIDIA (which has revenues about 1/7th those of Intel these days), and if that ever happens, then Intel graphics boards might gain CUDA capabilities. But for now they are rivals.
Intel and a number of other companies follow OpenCL for parallel computing; however it turns out that OpenCL has so much room for variation that Mathworks would end up having to tune their system for each different manufacturer, and probably even each different major product line.
Hariprasad Ravishankar
Hariprasad Ravishankar 2019년 10월 11일
In addition, GPU Coder added support for Sequence Input and LSTM Layers in R2019b.
Please use a supported compiler and R2019b to generate code for LSTM networks using CuDNN target
Supported compilers:

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with GPU Coder에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by