Codegen respond with an error: "??Expected a character vector. "

조회 수: 17 (최근 30일)
Haonan Ding
Haonan Ding 2021년 5월 8일
이동: Voss 2024년 4월 14일 4:24
When I use my training results of DDPG model to generate GPU code, there always respond an error. I followed the instruction "Deploy Trained Reinforcement Learning Policies" from help document, and it runs well in other exmples. Here is error report:
And return code:
>>codegen('-config','cfg','evaluatePolicy','-args',argstr,'-report');
??? Expected a character vector.
Code generation failed: View Error Report
Incorrect use of codegen
  댓글 수: 6
XingZhou Mu
XingZhou Mu 2024년 4월 14일 2:26
이동: Voss 2024년 4월 14일 4:24
Hello, did you solve this problem, I am also having the same problem
XingZhou Mu
XingZhou Mu 2024년 4월 14일 2:27
Hello, did you solve this problem, I am also having the same problem

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

답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by