In the process of reinforcement learning training, the training was terminated erroneously because the data dimensions did not match.

1 次查看(过去 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.
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.

采纳的回答

Emmanouil Tzorakoleftherakis
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 个)

Jingchao Li
Jingchao Li 2020-4-13
When I go back to the 2019b version to run, no error is reported

类别

Help CenterFile Exchange 中查找有关 Training and Simulation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by