Skip to content

Instantly share code, notes, and snippets.

View rcr1994's full-sized avatar

Rohit Choudhary rcr1994

  • University of Konstanz
  • Konstanz
View GitHub Profile
@rcr1994
rcr1994 / tensorboard_logging.py
Created April 2, 2020 10:51 — forked from gyglim/tensorboard_logging.py
Logging to tensorboard without tensorflow operations. Uses manually generated summaries instead of summary ops
"""Simple example on how to log scalars and images to tensorboard without tensor ops.
License: BSD License 2.0
"""
__author__ = "Michael Gygli"
import tensorflow as tf
from StringIO import StringIO
import matplotlib.pyplot as plt
import numpy as np