File size of saved reinforcement learning agents

2 ビュー (過去 30 日間)
green_ananas
green_ananas 2021 年 4 月 29 日
コメント済み: Duc Nguyen 2025 年 2 月 27 日
Hello everyone!
I am training an rlSACAgent with a Simscape model, and to later visualize the progress, i set the SaveAgentCriteria to EpisodeRewards and a very low value, such that every agent is saved. After training overnight, I noticed that the filesizes of the agents were steadily increasing from 124 KB at episode 0 to 273 MB at episode 2215. When I last saved an agent manually after the finished training, its size was only 788 KB, so do you now where the 273 MB come from? Is Simulink storing all the agents up to the current episode in one file?
Cheers and thanks a lot!

採用された回答

Emmanouil Tzorakoleftherakis
Emmanouil Tzorakoleftherakis 2021 年 4 月 29 日
Hello,
Is this parameter set to true? If yes, then it makes sense that mat files are growing in size as the buffer is being populated.
If that's not the case, I would recommend creating a technical support case so that the deveopers can take a look.
  1 件のコメント
Duc Nguyen
Duc Nguyen 2025 年 2 月 27 日

The link no longer works. I’m encountering a similar problem. Would you be able to update your answer? Many thanks.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

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

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by