DDPG Not getting any reward? Using the example from MathWorks
4 ビュー (過去 30 日間)
古いコメントを表示
I am using the water pump example from Mathworks for the DDPG Reinforcement example, but I changed the pump model slightly and I am not getting any reward when I run the program, it is always zero. I changed the reward to always be 10 just to see if maybe it just wasnt learning, but it still only shows a reward of 0. Does anyone have any ideas? This is my first post so sorry if I am not submitting it correctly. Thanks!
2 件のコメント
Walter Roberson
2020 年 10 月 27 日
It would help if you could attach your files so people could replicate the problem
回答 (1 件)
Emmanouil Tzorakoleftherakis
2020 年 11 月 11 日
Hi Jun,
The IsDone input to the agent block is always true, so all episodes end prematurely. This is why you don't see any change in the reward. Change the conditions that set the IsDone flag to be true or set it to be false and the training will resume.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Environments についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!