Visualize Your Deep Learning Training in Static Graphics
Project description
Deep Plots
Visualize Your Deep Learning Training in Static Graphics.
Why? Analyzing learning curves are a standard way to evaluate the learning performances of machine learning models. There exist several tools for creating live plots. This Python package focuses on producing beautiful static graphics only.
Currently, only plotting from Keras CSV log file format is supported.
For creating the graphics, plotnine is used which is build upon Matplotlib.
Installation
pip install deep_plots
Unfortunately, you may need to:
pip install numpy
before because a depedency implicitly assumes numpy is installed.
Usage
# create a Keras callback to log your training
csv_logger = keras.callbacks.CSVLogger('log.csv')
# train your model
model.fit(X, y, ..., callbacks=[csv_logger, ...])
# after finishing training, plot the learning curves with Deep Plots
deep_plots.from_keras_log('log.csv', 'output_dir')
Related
- TensorBoard: Live plots for TensorFlow, Keras.
- tensorboardX: Live plots for PyTorch, Chainer etc..
- Live Loss Plot: Live plots in Jupyter Notebooks for Keras, PyTorch etc..
Contributing
If you have a question, found a bug or want to propose a new feature, have a look at the issues page.
Pull requests are especially welcomed when they fix bugs or improve the code quality.
License
MIT.
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
Hashes for deep_plots-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27f0b05194d24be9de37dfc270d0f3f8eb90f370ee61026dbedbbd54f7cbd44a |
|
MD5 | 209e1a2dcc98c582ee571fc3a70ddc19 |
|
BLAKE2b-256 | d64dd49bb4e7e400ae5d881e6b2ea3e6a44e78d1be3d46eebe192d6371e1b1c7 |