I am getting errors trying to train an RL DDPG Agent

5 ビュー (過去 30 日間)
Mxolisi
Mxolisi 2024 年 7 月 26 日
回答済み: Shantanu Dixit 2024 年 8 月 6 日
An error occurred while running the simulation for model 'RLmxolisifinal' with the following RL agent blocks:
out = nestedRunEpisode(policy);
result = run_internal_(this);
result = run_(this);
trainResult = run(trainer);
result = run_(this);
trainingResult = run(tm);
Caused by:
Unable to find system or file 'rRLmxolisifinal'.
  1 件のコメント
Alan
Alan 2024 年 8 月 6 日
Hi Mxolisi,
Could you provide some details of your setup? Preferably your simulink model and the training script if you are using one.

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

回答 (1 件)

Shantanu Dixit
Shantanu Dixit 2024 年 8 月 6 日
Hi Mxolisi, it seems that the system or file 'rRLmxolisifinal' cannot be found. Following could be the possible steps to troubleshoot the issue.
  • Check the model name is correctly specified as 'rRLmxolisifinal', since the model names are case-sensitive.
  • Verify that the model file is in the current working directory. To locate the path use 'which' command, you can add the file to the current working directory using 'addpath'.
  • Ensure the model exists, is not corrupted and can be compiled.
Refer to the below MathWorks documentation for locating and adding file to the current directory:

カテゴリ

Help Center および File ExchangeDeep Learning Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by