I often train machine learning/deep learning models and it takes a very long time to finish. Even an epoch in a moderately complex model takes near to half an hour to train. So, I constantly need to check (baby sit) the training process.
To help reduce the pain, I need a way to notify me on the training metrics. The idea is, we will send the training metrics (messages) as notifications on mobile using PyTorch Callbacks.
I have written some Python code snippets that helps me send my training metrics log as mobile push notifications using Pushover service. They have a limit of 7500 requests per month per user—which is fine for my usecase.
Those who'd like to have something like this, you can grab those little hacky scripts.
Cool, now, I can make tea while training without being anxious 😄
Thanks a lot for these snippets! I've been doing the same thing, just babysitting a remote PC over the weekend, anxious for no reason, while I could have just done this instead. Live and learn! All the best.