This commit is contained in:
Glenn Jocher 2018-11-11 18:58:41 +01:00
parent e04bb75ff1
commit 34bc12d2ad
1 changed files with 4 additions and 3 deletions

View File

@ -436,11 +436,12 @@ 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_orig.txt','results.txt',
):
for f in ('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, :250], marker='.', label=f)
plt.title(s[i])
if i == 0:
plt.legend()