Find a way to unambiguously assign a callback to an event
AlbertoCenzato opened this issue · 1 comments
AlbertoCenzato commented
Currently a callback that is designed to be attached to a specific event, such as Checkpoint that Is designed to be called on epoch end, can be attached to any event
AlbertoCenzato commented
Each callback has self.event field which specifies when it should be called by ModelTrainer. In this way there is not ambiguity in establishing when the callback is to be called and ModelTrainer has an easier API.