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

6 views (last 30 days)
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.

Accepted Answer

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:

More Answers (1)

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

Community Treasure Hunt

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

Start Hunting!