How to save multiple trained RL Agents?

3 ビュー (過去 30 日間)
Apoorv Pandey
Apoorv Pandey 2023 年 2 月 27 日
I have followed this tutorial- Train Multiple Agents to train 3 RL agents but there is no mention of how to save the trained agents in separate or a single .mat file. So do I save the agents using the same way we do for a single agent-
save("AgentX.mat","agent1") separately for all 3 or is there a different way to achieve this.
Thanking You
Apoorv Pandey
apoorv.pandey.19e@iitram.ac.in

回答 (1 件)

Emmanouil Tzorakoleftherakis
Emmanouil Tzorakoleftherakis 2023 年 2 月 27 日
編集済み: Emmanouil Tzorakoleftherakis 2023 年 2 月 27 日
You can really do whatever makes sense to you. Either save them separately or in the same mat file as follows:
save('Agents.mat','agent1','agent2','agent3')

カテゴリ

Help Center および File ExchangeReinforcement Learning についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by