Effacer les filtres
Effacer les filtres

How can I save rl agent and env during traing?

3 vues (au cours des 30 derniers jours)
유진 김
유진 김 le 3 Août 2021
Réponse apportée : Vidip le 12 Avr 2024
Hi :-)
Does anyone know how to save agent and environment in simgle .mat file??
this document shows how to load the saved agent and environent and plotting the result from loaded data but I couldn't find how to save it,,
I know how to save agent while and after training.
Can I save both agent and env while traing? How??

Réponses (1)

Vidip
Vidip le 12 Avr 2024
I understand that you want to know about saving both the agent and environment while training. During training, you can save candidate agents that meet conditions you specify in the ‘SaveAgentCriteria’ and ‘SaveAgentValue’ options of your ‘rlTrainingOptions’ object. For instance, you can save any agent whose episode reward exceeds a certain value, even if the overall condition for terminating training is not yet satisfied.
For more information, you can refer to the documentation link below –

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by