What is in a reinforcement learning saved agent .mat file
8 views (last 30 days)
Show older comments
I am working with reinforcement learning in Simulink and MATLAB to perform continuous feedback control of a dynamic system. The saved agent files are very large after training on my model, and I was wondering what information is actually being saved in this file. Is there a way of looking at what is actually saved in the saved agent .mat file after training?
0 Comments
Answers (1)
Emmanouil Tzorakoleftherakis
on 28 May 2021
Edited: Emmanouil Tzorakoleftherakis
on 28 May 2021
Why don't you load the file and check? When you saved the agen tin the .mat file, did you save anything else with it? Are you maybe saving a large experience buffer with the agent?
Another thing to consider is that along with the agent, some training data is also saved to be able to recreate training results post training. This additional data also contains any logged signals from Simulink/Simscape. I would recommend turning off signal logging and checking the size of the mat file again.
4 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!