Invalid Settings: Conversion to string from embedded.fi is not possible, Reinforcement Learning Designer
Afficher commentaires plus anciens
I use Reinforcement Learning Designer, MATLAB R2021b, for DDPG agent training with default actor/critic networks of 25 neurons in hidden layers. Ennvironment is generated from Simulink model, and imported to RL Desogner.
I have achieved good training results for RL agent, but when I try to stop training / or training has to finish due to the number of max episodes, this error appears:
"Invalid Settings: Conversion to string from embedded.fi is not possible"
and results of the training are immediately erased. I am not able to find out the reason of the error. What is the reason and how to fix this?Please, help.
Code for environment is below.

obsInfo = rlNumericSpec([3 1],... % dimension of observation vector
'LowerLimit',[0 -inf inf]',...
'UpperLimit',[inf inf inf]');
obsInfo.Name = 'observations';
obsInfo.Description = 'position, error, integral error';
numObservations = obsInfo.Dimension(1);
actInfo = rlNumericSpec([1 1]);
actInfo.Name = 'voltage';
numActions = actInfo.Dimension(1);
%Build the environment interface object.
env = rlSimulinkEnv('MY_MLS2EM_rl6_PID_RL','MY_MLS2EM_rl6_PID_RL/DDPG Agent',...
obsInfo,actInfo);
1 commentaire
Alexandra Kolosova
le 18 Mar 2022
Modifié(e) : Walter Roberson
le 18 Mar 2022
Réponses (0)
Catégories
En savoir plus sur Reinforcement Learning Toolbox dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!