This commit is contained in:
Glenn Jocher
2018-11-05 23:32:36 +01:00
parent 19ccb41eaf
commit 6e5da1ce27
2 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -436,11 +436,11 @@ def plot_results():
import matplotlib.pyplot as plt
plt.figure(figsize=(16, 8))
s = ['X', 'Y', 'Width', 'Height', 'Objectness', 'Classification', 'Total Loss', 'Precision', 'Recall']
for f in ('results.txt',
for f in ('results_orig.txt','results.txt',
):
results = np.loadtxt(f, usecols=[2, 3, 4, 5, 6, 7, 8, 9, 10]).T
for i in range(9):
plt.subplot(2, 5, i + 1)
plt.plot(results[i, :], marker='.', label=f)
plt.plot(results[i, :250], marker='.', label=f)
plt.title(s[i])
plt.legend()