Shortcuts

Callback

The Callback is an abstraction that helps you to customize the logic during your run. Once again, you could do anything natively with PyTorch and Catalyst as a for-loop wrapper. However, thanks to the callbacks, it’s much easier to reuse typical deep learning extensions like metrics or augmentation tricks. For example, it’s much more convenient to define the required metrics:

The Callback API is very straightforward and repeats main for-loops in our train-loop abstraction:

Runner

You could find a large variety of supported callbacks under the Callback API section.

If you haven’t found the answer for your question, feel free to join our slack for the discussion.