필터 지우기
필터 지우기

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