In the process of reinforcement learning training, the training was terminated erroneously because the data dimensions did not match.
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Emmanouil Tzorakoleftherakis
2020-4-17
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:
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Training and Simulation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!