Skip to content

Instantly share code, notes, and snippets.

View Yikhan's full-sized avatar

Yikhan Yikhan

View GitHub Profile
@Yikhan
Yikhan / tensorboard_logging.py
Created October 27, 2017 23:45 — forked from gyglim/tensorboard_logging.py
Logging to tensorboard with manually generated summaries (not relying on summary ops)
"""Simple example on how to log scalars and images to tensorboard without tensor ops.
License: Copyleft
"""
__author__ = "Michael Gygli"
import tensorflow as tf
from StringIO import StringIO
import matplotlib.pyplot as plt
import numpy as np