mi-prometheus icon indicating copy to clipboard operation
mi-prometheus copied to clipboard

Introduce exceptions-driven terminal conditions in basic trainers

Open tkornuta-ibm opened this issue 6 years ago • 0 comments

In current trainers/tester flow there are several loops that need to be broken if a given condition is true. In particular, some conditions need to be checked few times (e.g. episode_limit in both inner and outer loops of offline trainer).

I guess this might be simplified with the right raising and handling of exceptions

tkornuta-ibm avatar Nov 12 '18 23:11 tkornuta-ibm