updates
This commit is contained in:
parent
1bc4f89bca
commit
c0d1aad97e
|
@ -1,6 +1,6 @@
|
||||||
classes=80
|
classes=80
|
||||||
train=/Users/glennjocher/Downloads/DATA/coco/trainvalno5k.txt
|
train=/Users/glennjocher/Downloads/DATA/coco/trainvalno5k.part
|
||||||
valid=/Users/glennjocher/Downloads/DATA/coco/5k.txt
|
valid=/Users/glennjocher/Downloads/DATA/coco/5k.part
|
||||||
names=data/coco.names
|
names=data/coco.names
|
||||||
backup=backup/
|
backup=backup/
|
||||||
eval=coco
|
eval=coco
|
||||||
|
|
|
@ -361,10 +361,11 @@ def plotResults():
|
||||||
import matplotlib.pyplot as plt
|
import matplotlib.pyplot as plt
|
||||||
plt.figure(figsize=(18, 9))
|
plt.figure(figsize=(18, 9))
|
||||||
s = ['x', 'y', 'w', 'h', 'conf', 'cls', 'loss', 'prec', 'recall']
|
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
|
results = np.loadtxt(f, usecols=[2, 3, 4, 5, 6, 7, 8, 9, 10]).T
|
||||||
for i in range(9):
|
for i in range(9):
|
||||||
plt.subplot(2, 5, i + 1)
|
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.title(s[i])
|
||||||
plt.legend()
|
plt.legend()
|
||||||
|
|
Loading…
Reference in New Issue