Skip to content
This repository has been archived by the owner on Sep 11, 2021. It is now read-only.
/ deep-plots Public archive

📉 Visualize your Deep Learning training in static graphics

License

Notifications You must be signed in to change notification settings

jfilter/deep-plots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deep Plots Build Status PyPI PyPI - Python Version

Visualize Your Deep Learning Training in Static Graphics.

Plot Loss

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

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.