Skip to content

Instantly share code, notes, and snippets.

View kkleidal's full-sized avatar

Ken Leidal kkleidal

  • Genesis Therapeutics
  • Boston, MA
View GitHub Profile
@kkleidal
kkleidal / example.py
Created November 17, 2017 19:55
Matplotlib Image Summaries in Tensorboard
import tensorflow as tf
import io
import matplotlib.pyplot as plt
import numpy as np
import scipy as scipy # Ensure PIL is also installed: pip install pillow
'''
matplotlib_summary code:
Code for generating a tensorflow image summary of a custom matplotlib plot.

Keybase proof

I hereby claim:

  • I am kkleidal on github.
  • I am kkleidal (https://keybase.io/kkleidal) on keybase.
  • I have a public key whose fingerprint is 5E4D 0F74 409A 819C A9F6 9DCE 22CA 77A0 6662 88BD

To claim this, I am signing this object: