Problems in reinforcement learning training

7 ビュー (過去 30 日間)
ye
ye 2024 年 9 月 2 日
コメント済み: Shantanu Dixit 2024 年 9 月 2 日
The effect of matlab reinforcement learning in the training process is better, but the reason for the poor effect after saving the agent is, or how to save the good effect in the training process
  3 件のコメント
ye
ye 2024 年 9 月 2 日
That is, in the training process will encounter a good effect of the agent, this time to stop training and save the agent, but with the saved agent to run, the effect and training process is very different
Shantanu Dixit
Shantanu Dixit 2024 年 9 月 2 日
Assuming you're experiencing different training process before and after loading the saved agent, this could be due to following factors:
  1. Experience Buffer: By default, the experience buffer isn't saved with some agents like DDPG and DQN. If you plan to continue training the saved agent, consider setting 'SaveExperienceBufferWithAgent' to true to preserve the experience buffer.
  2. Non-Determinism and Exploration Strategy: Training may involve stochastic elements, causing the agent to explore different trajectories after being reloaded, which could result in a different training process.
Additionaly you can refer to 'SaveAgentCriteria' and 'SaveAgentValue' to save agents that meet specific performance criteria.
Refer to the below MathWorks documentation for different saving strategies:

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeTraining and Simulation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by