Reinforcement learning for adaptive cruise control
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Yixuan Wang
el 23 de Mzo. de 2020
Comentada: Yixuan Wang
el 27 de Mzo. de 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
0 comentarios
Respuesta aceptada
Emmanouil Tzorakoleftherakis
el 24 de Mzo. de 2020
Hello,
Try the following
load('SimulinkACCDDPG.mat','agent')
actor = getActor(agent);
weights = getLearnableParameterValues(actor);
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!