Reinforcement learning for adaptive cruise control

2 ビュー (過去 30 日間)
Yixuan Wang
Yixuan Wang 2020 年 3 月 23 日
コメント済み: Yixuan Wang 2020 年 3 月 27 日
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:
How can I get the parameters? I am really confused.
Thanks,
Yixuan

採用された回答

Emmanouil Tzorakoleftherakis
Emmanouil Tzorakoleftherakis 2020 年 3 月 24 日
Hello,
Try the following
load('SimulinkACCDDPG.mat','agent')
actor = getActor(agent);
weights = getLearnableParameterValues(actor);

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeReinforcement Learning についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by