How do I save Episode Manager training data for *plotting* later

조회 수: 7 (최근 30일)
Hi,
Lets say I am using two algorithms to train for a task (DDPG and PPO). How do I save the data to plot a comparion later?
This is data like episode rewards, Q-value etc. plotted at every episode.
(Please note I am not referring to network weights for transfer learning.)

채택된 답변

Rajesh Siraskar
Rajesh Siraskar 2021년 1월 5일
편집: Rajesh Siraskar 2021년 1월 5일
Thank you Asvin and Emmanouil.
I didnt realize that I could store trainingStats and I can do anything with the data later. Awesome.
% Train the agent
trainingStats = train(agent, env, trainOpts);

추가 답변 (1개)

Emmanouil Tzorakoleftherakis
Emmanouil Tzorakoleftherakis 2021년 1월 4일
편집: Emmanouil Tzorakoleftherakis 2021년 3월 11일
Hi Rajesh,
As mentioned in the comment above, if you are using R2020b, you can use
>> help rlPlotTrainingResults
to recreate the Episode manager plot.
If you are using R2021a, you may notice that this function is now renamed to "inspectTrainingResult".
Hope that helps

카테고리

Help CenterFile Exchange에서 Reinforcement Learning에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by