update dockerfile

This commit is contained in:
s452111 2020-04-22 17:45:43 +02:00
parent f235c786ce
commit fc24b19266
2 changed files with 12 additions and 12 deletions

View File

@ -1,20 +1,20 @@
import matplotlib import matplotlib
matplotlib.use('Agg')
import matplotlib.pyplot as plt import matplotlib.pyplot as plt
import csv import csv
matplotlib.use('Agg')
axe_x = [] axe_x = []
axe_y = [] axe_y = []
builds_iterator = 1 it = 1
with open('srr.txt','r') as file: with open('srr.txt','r') as file:
plots = csv.reader(file) plots = csv.reader(file)
for row in plots: for row in plots:
y.append(float(row[0])) axe_y.append(float(row[0]))
x.append(int(i)) axe_x.append(int(it))
i+=1 it+=1
plt.plot(x,y) plt.plot(axe_x,axe_y)
plt.ylabel('Percentage SRR') plt.ylabel('Percentage SRR')
plt.xlabel('Build') plt.xlabel('Build')
plt.title('SRR over several builds') plt.title('SRR over several builds')

View File

@ -1,20 +1,20 @@
import matplotlib import matplotlib
matplotlib.use('Agg')
import matplotlib.pyplot as plt import matplotlib.pyplot as plt
import csv import csv
matplotlib.use('Agg')
axe_x = [] axe_x = []
axe_y = [] axe_y = []
builds_iterator = 1 it = 1
with open('wer.txt','r') as file: with open('wer.txt','r') as file:
plots = csv.reader(file) plots = csv.reader(file)
for row in plots: for row in plots:
y.append(float(row[0])) axe_y.append(float(row[0]))
x.append(int(i)) axe_x.append(int(it))
i=i+1 it+=1
plt.plot(x,y) plt.plot(axe_x,axe_y)
plt.ylabel('Percentage Word Error Rate') plt.ylabel('Percentage Word Error Rate')
plt.xlabel('Build') plt.xlabel('Build')
plt.title('WER over several builds') plt.title('WER over several builds')