Skip to main content

A python package that sends your deep learning training and validation metrics to your slack channel or user after every specified epoch.

Project description

made-with-python GitHub license

Coffeeshop

This package sends your deep learning model's training and validation metrics to your slack channel after every specified epoch. It uses slackclient and keras python packages.

Made for keras framework.

Installation

$ pip install coffeeshop

Code sample

from coffeeshop.coffeeshop import Coffeeshop

secret = 'xoxp-slacktoken'

# For sending metrics to channel.
channel_name = 'name_of_channel_to_be_posted'

histories = Coffeeshop(token = secret, channel_name = channel_name, epoch_num = 5)

# For sending metrics to user.

user = 'User Name'

histories = Coffeeshop(token = secret, user_name = user, epoch_num = 5)

## Add histories in the callbacks.

model.fit(X_train, Y_train, epochs = epochs, batch_size = batch_size,callbacks = [histories])

Output sample

Contact

E-mail

Github

LinkedIn

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

coffeeshop-1.2.0.tar.gz (3.5 kB view hashes)

Uploaded Source

Built Distribution

coffeeshop-1.2.0-py3-none-any.whl (3.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page