Problems in reinforcement learning training
5 次查看(过去 30 天)
显示 更早的评论
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 个评论
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:
- 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.
- 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 Exchange 中查找有关 Training and Simulation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!