"localAgentFunctionsForMemUsage" 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 个评论
Ari Biswas
about 14 hours 前
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
about 1 hour 前
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 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!