Facing issues in generating code for Deep Reinforcement Learning trained network for hardware deployment
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1122095/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1122095/image.jpeg)
0 Commenti
Risposte (1)
Aman
il 13 Set 2023
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
0 Commenti
Vedere anche
Categorie
Scopri di più su Image Data Workflows in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!