Reinforcement learning for adaptive cruise control
조회 수: 3 (최근 30일)
이전 댓글 표시
Hi,
I tried with the tutorial of applying DDPG method to adaptive cruise control(ACC) by https://www.mathworks.com/help/reinforcement-learning/ug/train-ddpg-agent-for-adaptive-cruise-control.html.
It seems working but when I check the pretrained model or after trainning my own model, the weights and bias in actorNetwork and criticNetwork are null, shown as follows:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/278771/image.png)
How can I get the parameters? I am really confused.
Thanks,
Yixuan
댓글 수: 0
채택된 답변
Emmanouil Tzorakoleftherakis
2020년 3월 24일
Hello,
Try the following
load('SimulinkACCDDPG.mat','agent')
actor = getActor(agent);
weights = getLearnableParameterValues(actor);
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!