Sometimes I have environments, which can run into unhandled situations after choosing several bad actions, which yields exceptions.
Instead of crashing the agent, I'd like to just retry and ignore that episode.
How to achieve this?
From the docs:
Calling tune.run with max_failures=-1 as argument will try to recover a trial unlimited times e.g.:
tune.run(algorithm_name, config=config_dict, max_failures=-1)