A UI based callback for tf-keras
Project description
Acknowledgement
This project is supported by Segmind
keras JukeBox
This is a UI based hyper-parameter controller, which let's you control the following.
- start, pause and stop a live training.
- reset the learning rate on dynamically while training is in progress.
more functionalities are to be added
Dependencies
This package depends on MQTT protocol for communication. So, it is expected that an MQTT broker is up and running in 'localhost' at port 1883(default port).
Install it by :
sudo apt-get update
sudo apt-get install mosquitto
sudo apt-get install mosquitto-clients
Python dependencies:
- python >= 3.6.8
- paho-mqtt
- PyQt5
- tensorflow >= 1.14
Note: This package is intended and tested for tensorflow-keras api and NOT keras with tensorflow 'backend'
Usage
import as
from keras_JukeBox import JukeBoxCallback
and pass it to the fit method of keras.model
as follows :
model.fit(train_images, train_labels, epochs=20, callbacks=[JukeBoxCallback(verbose=True)])
and run your training script. You will note that the script gets blocked, this is because it is waiting for a JukeBox UI to capture it's session. Now, in a separate terminal, type:
start_JukeBox
and you should see the UI pop up, note the algorithm is in pause mode by default. Hit the play button to start the training.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file Keras_JukeBox-0.0.1.tar.gz
.
File metadata
- Download URL: Keras_JukeBox-0.0.1.tar.gz
- Upload date:
- Size: 20.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1c3490b6716b94c3f692972986638c84dd6075261b5d36a0e5c6d66a5721986 |
|
MD5 | c3272f1b3e17b2f409ddb1845154abaf |
|
BLAKE2b-256 | 2dfeda05893a19269a421f2258ad6e6c9412f7ba429afd4414e0460dc3e51b4b |
File details
Details for the file Keras_JukeBox-0.0.1-py3.6.egg
.
File metadata
- Download URL: Keras_JukeBox-0.0.1-py3.6.egg
- Upload date:
- Size: 37.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8689af26ed96743079b918fdd5f0d70aa6b4c7c2fb76ccd73a808820d5af0530 |
|
MD5 | c5ff003c077886ca978bf010091f09cb |
|
BLAKE2b-256 | 012c5f3be6fc7e0231993007bc7a77291fe0cf1e76a76b74dd3f19e9de2e3b6d |