Reinforcement Learning with Simulink: timeout an episode
조회 수: 2 (최근 30일)
이전 댓글 표시
Setup:
- Using RL train function in a parfor loop to optimize hyperparameters
- Simulink model with RL Agent
Problem:
- Some hyperparameters do not produce sensible Agents, some of which might lock the simulation in a timestep forever (happens occassionally) due to solver adjustments
Desired solution:
- Have a timeout for individual epsidodes, e.g., 10min, that just kills the simulation if it does not finish in the specified time
- Usually, the way to do this is to pass "TimeOut" to the Simulink simulation object
- Is there a way to pass the simulink object into train or any other way to to set a timeout in the model parameters?
댓글 수: 0
답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!