Keras Plugins
Project description
# keras-plugins
## Callbacks
### Telegram Callback
Notify levels available:
1) on_train_begin,
2) on_train_end,
3) on_batch_begin,
4) on_batch_end,
5) on_epoch_begin,
6) on_epoch_end
##### How to use
```python
import callbacks
notify = {
'on_batch_end':True,
'on_epoch_end':True
}
telegram = callbacks.TelegramNotify(<token>, <chat_id>, msg=msg, notify=notify)
model.fit(X_train, Y_train, validation_data=[X_test, Y_test], batch_size=256, epochs=10, callbacks=[telegram])
```
## Coming Soon
1) Slack Notifier
2) Ability to stop training remotely
3) Simple Keras Server
## Callbacks
### Telegram Callback
Notify levels available:
1) on_train_begin,
2) on_train_end,
3) on_batch_begin,
4) on_batch_end,
5) on_epoch_begin,
6) on_epoch_end
##### How to use
```python
import callbacks
notify = {
'on_batch_end':True,
'on_epoch_end':True
}
telegram = callbacks.TelegramNotify(<token>, <chat_id>, msg=msg, notify=notify)
model.fit(X_train, Y_train, validation_data=[X_test, Y_test], batch_size=256, epochs=10, callbacks=[telegram])
```
## Coming Soon
1) Slack Notifier
2) Ability to stop training remotely
3) Simple Keras Server
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
kerasplugins-0.1.1.tar.gz
(2.4 kB
view hashes)
Built Distribution
Close
Hashes for kerasplugins-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd105e98856b682095d91feb36180dcacd7004c1c495a4b716e4310e144df475 |
|
MD5 | 3834cd1634c13af7a9c444038e53db89 |
|
BLAKE2b-256 | e04ea30b070f9de9e93cf1c228db63719ab36ae1d70211adade666918e2067de |