Skip to content

Instantly share code, notes, and snippets.

View stewartm888's full-sized avatar

Fred Watts stewartm888

  • PingThings
  • Washington, DC
View GitHub Profile
@stewartm888
stewartm888 / plot_tf_loss.py
Last active September 23, 2019 19:54
PLOTTING TENSORFLOW EPOCH LOSSES
########################################
### PLOTTING TENSORFLOW EPOCH LOSSES ###
########################################
"""
NOTE: this script assumes the epoch output of a tensorflow run has been saved in a .TXT file called 'val.txt' in the working directory.
The copied text should be formatted to look like the following...
---------------------------------------------------------------------------------------------------
@stewartm888
stewartm888 / dist_extract.py
Created August 22, 2019 13:51
dist_extract.py
#!/usr/bin/env python3
import os
import glob
import argparse
import numpy as np
import pandas as pd
import seaborn as sns
import matplotlib.pyplot as plt