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 件)

Emmanouil Tzorakoleftherakis
Emmanouil Tzorakoleftherakis 2023 年 1 月 24 日

0 投票

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

カテゴリ

ヘルプ センター および File ExchangeReinforcement Learning Toolbox についてさらに検索

質問済み:

2023 年 1 月 12 日

Community Treasure Hunt

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

Start Hunting!

Translated by