Skip to content

Instantly share code, notes, and snippets.

@Logrus
Created November 21, 2016 18:23
Show Gist options
  • Save Logrus/7e20e9e2e795f5da06c4952d3fc2524b to your computer and use it in GitHub Desktop.
Save Logrus/7e20e9e2e795f5da06c4952d3fc2524b to your computer and use it in GitHub Desktop.
plot_loss.sh
cat *.log | grep -o ".Loss.[0-9]*\.[0-9]*" | grep -o "[0-9]*\.[0-9]*" > loss_values.txt
gnuplot <<- EOF
set terminal dumb
set xlabel "Iterations"
set ylabel "Loss"
plot "loss_values.txt"
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment