How can I continue training my agent if I click 'stop training' in Reinforcement Learning Episode Manager?

8 ビュー (過去 30 日間)
And How can I save the agent even though the training haven't finish?

回答 (1 件)

Sivsankar
Sivsankar 2024 年 9 月 30 日
編集済み: Sivsankar 2024 年 9 月 30 日
After clicking Stop Training’ you can simply run the ‘train’ function because ‘train’ updates the agent at each episode. So, you can resume training by calling ‘train(agent,env,trainOpts)’ again, without losing the trained parameters learned during the first call to train. You can simply begin the training.
If you want to save candidate agents before the fulfilment of your stop conditions even though training has not finished, the ‘rlTrainingOptions’ allows you to perform that. You can refer to the documentation below to understand how to use that function.
Thank you.

カテゴリ

Help Center および File ExchangeReinforcement Learning についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by