-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathplot.gp
More file actions
executable file
·45 lines (28 loc) · 783 Bytes
/
plot.gp
File metadata and controls
executable file
·45 lines (28 loc) · 783 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#!/usr/bin/gnuplot
reset
set terminal png
# set your chart name here:
set output "loss.png"
set style data lines
set key right
###### Fields in the data file are
###### Iters TrainLoss Seconds TestLoss Seconds
set title "Loss vs. training iterations"
set xlabel "Training iterations"
set ylabel "Loss"
# set input file here:
plot "./loss.csv" using 1:2 title 'Training Loss', \
"./loss.csv" using 1:4 title 'Testing Loss'
reset
set terminal png
# set your chart name here:
set output "time.png"
set style data lines
set key right
###### Fields in the data file are
###### Iters Seconds TestAccuracy TestLoss
set title "Training Loss vs. Time"
set xlabel "Time"
set ylabel "Training loss"
# set input file here:
plot "./loss.csv" using 3:2 title 'Training Loss'