Skip to content

Instantly share code, notes, and snippets.

Avatar

Yong Zhengqi yongzhengqi

View GitHub Profile
@yongzhengqi
yongzhengqi / tensorboard_logging.py
Created Jul 26, 2018 — forked from gyglim/tensorboard_logging.py
Logging to tensorboard without tensorflow operations. Uses manually generated summaries instead of summary ops
View tensorboard_logging.py
"""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