Skip to content

Instantly share code, notes, and snippets.

Avatar

Yikhan Yikhan

View GitHub Profile
@gyglim
gyglim / tensorboard_logging.py
Last active April 10, 2023 03:50
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: BSD License 2.0
"""
__author__ = "Michael Gygli"
import tensorflow as tf
from StringIO import StringIO
import matplotlib.pyplot as plt
import numpy as np