This commit is contained in:
Glenn Jocher 2018-08-26 19:38:14 +02:00
parent 1bc4f89bca
commit c0d1aad97e
2 changed files with 5 additions and 4 deletions

View File

@ -1,6 +1,6 @@
classes=80
train=/Users/glennjocher/Downloads/DATA/coco/trainvalno5k.txt
valid=/Users/glennjocher/Downloads/DATA/coco/5k.txt
train=/Users/glennjocher/Downloads/DATA/coco/trainvalno5k.part
valid=/Users/glennjocher/Downloads/DATA/coco/5k.part
names=data/coco.names
backup=backup/
eval=coco

View File

@ -361,10 +361,11 @@ def plotResults():
import matplotlib.pyplot as plt
plt.figure(figsize=(18, 9))
s = ['x', 'y', 'w', 'h', 'conf', 'cls', 'loss', 'prec', 'recall']
for f in ('results.txt',):
for f in ('/Users/glennjocher/Downloads/results.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, :3000], marker='.', label=f)
plt.plot(results[i, :], marker='.', label=f)
plt.title(s[i])
plt.legend()