Saving Reinforcement learning agent does not work properly

4 views (last 30 days)
Hi I'm working on a RL project with DDPG agent.
I have troble with saving the agent.
I had used the rlTrainingOptions.save for saving the agent in the middle of the traing but it kept saving the wrong weights (I guess)
These are my training options.
It saves the agent whenever episode reward exceeds "SaveAgentValue', but everytime I load the saved agent, it never exceeds the reward that I set for saving, rather it shows very poor performance..
Weirdly, the saved Final agent works properly. I don't know what is going on with this
Can anybody teaches me the right answer for this problem?? :-(

Answers (0)

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!