フィルターのクリア

Reinforcement learning agent saving error

7 ビュー (過去 30 日間)
Yihao
Yihao 2024 年 2 月 24 日
コメント済み: Yihao 2024 年 2 月 29 日
Hi, I am not able to save the agent due to the warning "Warning: Unable to save the agent to the directory "savedAgents". Increase the disk space or check SaveAgentCriteriaValue in training options." However, I have sufficient space for at least 200 GB for the matlab directory.
How to solve it? Thanks in advance.
  2 件のコメント
Emmanouil Tzorakoleftherakis
Emmanouil Tzorakoleftherakis 2024 年 2 月 27 日
Do you have write access to that folder?
Yihao
Yihao 2024 年 2 月 29 日
Maybe because of this, I will try again. Btw, In the rlTrainingOptions, I modified the storage type as 'SimulationStorageType',"none" rather than using default "memory". And it works which also lowers the data size.

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

回答 (1 件)

Yihao
Yihao 2024 年 2 月 29 日
編集済み: Yihao 2024 年 2 月 29 日
In the rlTrainingOptions, I modified the storage type as 'SimulationStorageType',"none" rather than using default "memory". And it works which also lowers the data size.
  2 件のコメント
Ari Biswas
Ari Biswas 2024 年 2 月 29 日
Hello Yihao,
The message is displayed if there were any issues when saving agents during training. It should not be related to setting the SimulationStorageType value, which saves simulation results (not agents) to memory or disk. If possible, please send some steps to reproduce the issue, such as how you created the agent, environment, and configured the training options. We will look into it. Thanks for using our tools.
Yihao
Yihao 2024 年 2 月 29 日
Hi, Ari. Sorry I cannot share the detailed code. Basically what I did is to run a simulation with around 20us for like 0.02s for each training episode. And the agent at round 4000th training episode cannot be saved even though my disk space is quite sufficient.
Thanks for your help.

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

製品


リリース

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by