Tensorflow Training Notifier 🚨

What is Tensorflow Training Notifier?

Tensorflow training notifier allows users to keep track of their tensorflow training jobs remotely. You will periodically recieve mobile Telegram notifications regarding the job's progress and loss values.

How do I setup the notifier?

To setup the notifier you need to make a Telegram Bot and save the bot's token and chat ID into system enviornment variables which the notifier will use to send you updates

  1. Download the Telegram app from your phone's appstore
  2. Login to Telegram on your phone by confirming your phone number and name
  3. Scan the QR on the Telegram web client
  4. Link your Telegram account to the desktop by following the instructions on the app
  5. Logged into Telegram on the web client, find the verified user named @BotFather and start a chat with them.
  6. Request a new bot by sending the `/newbot` command
  7. Name your bot whatever you want (ex. TF Job Notifier Bot)
  8. Choose a username for your bot (ex. tf_job_notifier_bot)
  9. Copy your HTTP API token (don't share this with anyone as this can be used to impersonate your bot)
  10. Find your bot in your contacts and send it a message
  11. Navigate to the site https://api.telegram.org/bot<YOUR HTTP API TOKEN>/getUpdates
  12. Copy the chat ID
  13. Set the http token and chat ID as enviornment variables in your OS

    Windows

    1. Control Panel > Edit System Enviornment Variables > Enviornment Variables...
    2. Select New and set the Variable name as "TRAINING_NOTIFIER_TOKEN" and the value as your HTTP API token
    3. Select New and set the Variable name as "TRAINING_NOTIFIER_CHAT_ID" and the value as you and your bot's chat ID
    4. Restart your computer

    Unix

    1. Open the ~/.profile file in a text editor
    2. Add the lines:
      • export TRAINING_NOTIFIER_TOKEN="<Your Bot Token>"
      • export TRAINING_NOTIFIER_CHAT_ID="<Your chat ID>"