metric plot png fix y
All checks were successful
s444417-training/pipeline/head This commit looks good
s444417-evaluation/pipeline/head This commit looks good

This commit is contained in:
s444417 2022-05-07 12:17:43 +02:00
parent 8ff4f6931a
commit 0b9326578d

View File

@ -49,7 +49,7 @@ try:
plots = csv.reader(trainResults, delimiter = ',') plots = csv.reader(trainResults, delimiter = ',')
for row in plots: for row in plots:
x.append(row[0]) x.append(row[0])
y.append(row[1]) y.append(float(row[1]))
plt.bar(x, y, color = 'g', label = "loss") plt.bar(x, y, color = 'g', label = "loss")
plt.xlabel('builds') plt.xlabel('builds')
plt.ylabel('losses') plt.ylabel('losses')