A python package that sends your deep learning training and validation metrics to your slack channel or user after every specified epoch.
Project description
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
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 details)
Built Distribution
File details
Details for the file coffeeshop-1.2.0.tar.gz
.
File metadata
- Download URL: coffeeshop-1.2.0.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f8f5a897372dd2ef5a99a664ed0cfb9a84de49fb7e5cf6e6618817452f8b7ac |
|
MD5 | 81d1e56d267a68dc0a1771fdcd02ec82 |
|
BLAKE2b-256 | f45b202208e5fd2d6d1469cd418831ec7403eca32e37ba42b861458d4fce594c |
File details
Details for the file coffeeshop-1.2.0-py3-none-any.whl
.
File metadata
- Download URL: coffeeshop-1.2.0-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dda90c0e5906adfd179cf8f19ed59b66324f7382f2487da67bba07d729f163a0 |
|
MD5 | 7c5e92b6f45a95f2bfa863584b9171a1 |
|
BLAKE2b-256 | 1ec7f60f54f5b38c76001c7fbb4d0790d85a41565769499916519b8d762171c7 |