Effacer les filtres
Effacer les filtres

Reinforcement learning for adaptive cruise control

4 vues (au cours des 30 derniers jours)
Yixuan Wang
Yixuan Wang le 23 Mar 2020
Commenté : Yixuan Wang le 27 Mar 2020
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

Réponse acceptée

Emmanouil Tzorakoleftherakis
Hello,
Try the following
load('SimulinkACCDDPG.mat','agent')
actor = getActor(agent);
weights = getLearnableParameterValues(actor);

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by