IBM / mi-prometheus

Enabling reproducible Machine Learning research
http://mi-prometheus.rtfd.io/
Apache License 2.0
42 stars 18 forks source link

Introduce exceptions-driven terminal conditions in basic trainers #86

Open tkornuta-ibm opened 5 years ago

tkornuta-ibm commented 5 years ago

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