フィルターのクリア

Error with parallelized RL training with PPO

6 ビュー (過去 30 日間)
Matteo D'Ambrosio
Matteo D'Ambrosio 2023 年 6 月 30 日
コメント済み: Drew Davis 2023 年 6 月 30 日
Hello,
At the end of my parallelized RL training, i am getting the following warning, which is then causing one of the parallel pool's workers to automatically shut down. Is there a known cause for this? It says it is an error inside of the "onCleanup" class, but i am not using any custom functions for this (it is the one already implemented in MATLAB).
It seems to be happening only for one worker for some reason, and no crash dump is being generated.
Warning: The following error was caught while executing 'onCleanup' class
destructor:
Error using rl.train.parallel.AbstractParallelTrainer/cleanupPostRun_
Invalid input for argument 2 (rhs2):
Value must be a scalar.
Error in rl.train.parallel.AbstractParallelTrainer>@()cleanupPostRun_(this)
(line 21)
cln1 = onCleanup(@() cleanupPostRun_(this));
Error in onCleanup/delete (line 25)
obj.task();
Error in rl.train.parallel.AbstractParallelTrainer/run (line 141)
end
Error in rl.train.TrainingManager/train (line 479)
run(trainer);
Error in rl.train.TrainingManager/run (line 233)
train(this);
Error in rl.agent.AbstractAgent/train (line 136)
trainingResult = run(trainMgr,checkpoint);
  1 件のコメント
Drew Davis
Drew Davis 2023 年 6 月 30 日
Hi Matteo
Do you have reproduction steps you could share, specifically your MATLAB environment class?
Drew

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

回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by