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?

Answers (1)

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

Categories

Find more on Reinforcement Learning Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!