Load PPO agent and check layer

Sucessfully save and load my trained agent.
But i can;t check my agent layer.
For example actor: fully connect layer [128 64]
critic: fully connect layer [128 64]
How can i check layer at my load agent?

回答(1 个)

The neural network architectures are not immediately available from the agent object. You can extract and inspect layers using getModel

类别

在 帮助中心 和 File Exchange 中查找有关 Agents 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by