Internal problem happened during training DDPGagent

3 ビュー (過去 30 日間)
Sam Chen
Sam Chen 2020 年 3 月 19 日
コメント済み: Sam Chen 2020 年 3 月 20 日
I use the TruckSim2016 S function as the environment of my DDPG agent. Everything is ok in episode1. However, it seems that some errors occurred between episode1 and episode2. After Episode 1, matlab crash reporter showed and shut down. I wonder that the problem is caused by restart or reset. Besides, my Environment Reset Function is empty, that is, I don't reset anything after an episode. Can anyone help me, please
Trucksim
  1 件のコメント
Rik
Rik 2020 年 3 月 19 日
(removed from spam filter)

サインインしてコメントする。

採用された回答

Drew Davis
Drew Davis 2020 年 3 月 19 日
By default the Simulink environment leverages Simulink fast-restart feature. Some work needs to be done to ensure that the S-functions will work properly in fast-restart. See this doc page for more info.
Assuming you can't (or don't want to modify the S-function :) ), set the UseFastRestart property to off in the environment object
env.UseFastRestart = "off";
Please comment if this does not resolve your issue.
Drew
  2 件のコメント
Drew Davis
Drew Davis 2020 年 3 月 19 日
Another useful link for model operating point compliance with s-functions to support fast restart
Sam Chen
Sam Chen 2020 年 3 月 20 日
It works! Thank you very much.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink Functions についてさらに検索

タグ

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by