Created
November 21, 2016 18:23
-
-
Save Logrus/7e20e9e2e795f5da06c4952d3fc2524b to your computer and use it in GitHub Desktop.
plot_loss.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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