"localAgen​tFunctions​ForMemUsag​e" could not be recognized

When training SAC, two agents are constructed using convolutional neural networks and LSTM respectively, with each agent containing one actor network and two critic networks. After configuring both the actor and critic networks to be trained on GPU, an error occurs stating that the function or variable "localAgentFunctionsForMemUsage" cannot be recognized. How can this issue be resolved?

댓글 수: 1

This might be a bug in the source code. Please create a service request with Technical Support and we will get you a fix.
https://www.mathworks.com/help/matlab/matlab_env/contact-technical-support.html

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

답변 (1개)

Steven Lord
Steven Lord 대략 5시간 전

0 개 추천

My guess is that you've made a copy of one of the examples from the documentation to use as a starting point for your code, but you didn't copy one of the helper functions created as part of that example into your code. If that's the case, please click on the "Copy Command" button in the upper-right corner of the example page then paste that command into MATLAB and run it. Alternately, click "Open Example in MATLAB Online" if you are using MATLAB Online. This will cause MATLAB to open the example and change to the directory containing the files for the example, which may include helper functions that were created for the example rather than being part of the product(s) the example uses.

카테고리

도움말 센터File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

제품

릴리스

R2026a

질문:

2026년 7월 13일 4:06

댓글:

2026년 7월 13일 16:33

Community Treasure Hunt

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

Start Hunting!

Translated by