Facing issues in generating code for Deep Reinforcement Learning trained network for hardware deployment

조회 수: 3 (최근 30일)
Hai,
I am trying to Generate C++ Code for Deep Neural Network Policy using Third-Party Libraries. I used the following link to bulid the MKLDNN library for MATLAB Version 2020b with suggested instructions (MATLAB Coder: How do I build the Intel MKL-DNN library for Deep Learning C++ code generation and deployment? - (mathworks.com)) . When I execute the codeden instruction (codegen('-config','cfg','evaluatePolicy','-args',argstr,'-report')), I am getting the following error.
Error:
??? The library method 'dltargets.mkldnn.mkldnnApi.updateBuildInfo' failed.
Caused by: Insufficient number of outputs from right hand side of equal sign to satisfy assignment.
Code generation failed: View Error Report

답변 (1개)

Aman
Aman 2023년 9월 13일
Hi Anugula,
I understand that you are having issues in generating code for Deep Reinforcement Learning trained network.
This error occurs when the number of arguments that the function is returning is less than the number of arguments that you are trying to assign. This can be resolved either by making the assignments equal to the number of arguments that the function returns or by modifying the function to return a greater number of arguments.
Please refer to the following thread to know how to resolve this error:
Hope this helps!
Regards,
Aman Mehta

카테고리

Help CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by