In the process of reinforcement learning training, the training was terminated erroneously because the data dimensions did not match.
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Jingchao Li
le 8 Avr 2020
Commenté : Jingchao Li
le 20 Avr 2020
I am trying to transfer the "Training with Reinforcement Learning" from the sample program "Train a Humanoid Walker" to another humanoid robot.But every time the training reaches the 18th episode, it will terminate with an error.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/282864/image.png)
I don't know why there is no problem with the dimension of the first few episodes, but there is a problem with the 18th episode.
I tried to set "trainingOptions.StopOnError" to "off", but it didn't work. Although the program will not jump out of the error, it still stuck in the error every episode and could not continue training.
How should I eliminate this error? Thank you.
0 commentaires
Réponse acceptée
Emmanouil Tzorakoleftherakis
le 17 Avr 2020
Are you using GPU to train? If yes, there is an indentified bug in R2020a which will be fixed when the first update for this release goes live. See post below:
Plus de réponses (1)
Voir également
Catégories
En savoir plus sur Training and Simulation dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!