Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added telegram_print function #50

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Added telegram_print function #50

wants to merge 3 commits into from

Conversation

apthagowda97
Copy link

@apthagowda97 apthagowda97 commented Mar 26, 2020

Thanks for this wonderful library.

When I commit a kernel in Kaggle I use knockkncok(telegram_sender) so that I 'll get to know the status of training. But the problem is I am unable to view some important data such as loss or accuracy for each epoch while the model is training.

So, I thought of writing a simple function

telegram_print(text="<your_text>",token="<your_api_token>", chat_id=CHAT_ID)

which can be used to send the message directly to telegram while training. It helps a lot to kill the kernel when the model is not performing well and thereby saving GPU.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant