Skip to content

Instantly share code, notes, and snippets.

View chunyang-wen's full-sized avatar

Chunyang Wen chunyang-wen

View GitHub Profile
@chunyang-wen
chunyang-wen / tensorboard_logging.py
Created May 30, 2018 02:29 — 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: Copyleft
"""
__author__ = "Michael Gygli"
import tensorflow as tf
from StringIO import StringIO
import matplotlib.pyplot as plt
import numpy as np