Hello everyone,
I'm working on a project where a RL agent in a Simulink model is getting trained to track a signal. During training, I'm only able to see the episode reward in the episode manager window. After training has ended, all the scopes run with what I am assuming the agent of the last episode. I would like to see the scopes with the signals during training, so that I can pinpoint why some errors occur.
At the moment, my script for the training looks like this:
trainingOpts = rlTrainingOptions(...
"MaxStepsPerEpisode",500,...
"StopTrainingCriteria","EpisodeCount",...
"StopTrainingValue",50,...
"Plots","training-progress",...
"SaveAgentCriteria","EpisodeReward",...
"SaveAgentValue",4500,...
"SaveAgentDirectory","savedAgents\shield1",...
trainingStats = train(agent,env,trainingOpts);
load('savedAgents/shield/Agent70.mat', 'agent');
Anyone any suggestion on how to make this happen?
Thanks in advance!