- If you are using a Simulink model, configure it to not log any data, thus reducing memory usage.
- Set up a more rigorous save agent value to limit the amout of agent which is actually logged.
Out of Memory during serialization of the subsystem data - reinforcement learning
14 views (last 30 days)
Show older comments
Hi, during training (reinforcement learning), agents aren't saved properly and this warning is given. What can be done to fix this?
0 Comments
Answers (1)
Sourabh
on 22 Dec 2023
Edited: Sourabh
on 22 Dec 2023
Hello Charissa,
From my understanding, you are facing an out of memory issue while saving an agent during training.
The following steps should help avoid this error by reducing unncessary memory usage:
Also, do note that it is okay to switch on logging outside the training of the agent.
Hope this helps!
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!