How to save an rl agent after every 1000 episodes?
21 views (last 30 days)
Show older comments
Guru Bhargava Khandavalli
on 7 Mar 2021
Commented: Dmitriy Ogureckiy
on 20 Jan 2023 at 10:19
I am training a DDPG agent where the training runs over 1000 episodes. To see how it evolves, I would like to save the agents after every 1000 episodes. As i see the options available in rlTrainingOptions, it is only possible to save every agent after a critical value. This slows down the training process significantly because saving every agent consumes a lot of time. Is there an efficient way to save the agents only after every 1000 episodes?
Thank you.
1 Comment
Accepted Answer
Madhav Thakker
on 19 Mar 2021
Hi Guru,
I understand currently in rlTrainingOptions, there is no option to save the agent after specific number of episodes. I have raised an enhancement request for the same and this might be considered in future releases.
Hope this helps.
2 Comments
Dmitriy Ogureckiy
on 20 Jan 2023 at 10:19
I am the same opinion. Add this, please. Ball on your side.
More Answers (1)
Manuel Sebastian Rios Beltran
on 2 Jun 2022
@Madhav Thakker But they did not do it :( a year later
0 Comments
See Also
Categories
Find more on Reinforcement Learning Using Deep Neural Networks in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!