This commit is contained in:
Glenn Jocher 2018-09-01 13:17:21 +02:00
parent c09703f4d4
commit 7fa8dd9257
2 changed files with 4 additions and 4 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 264 KiB

After

Width:  |  Height:  |  Size: 242 KiB

View File

@ -359,10 +359,10 @@ def plotResults():
# Plot YOLO training results file "results.txt" # Plot YOLO training results file "results.txt"
import numpy as np import numpy as np
import matplotlib.pyplot as plt import matplotlib.pyplot as plt
plt.figure(figsize=(18, 9)) plt.figure(figsize=(16, 8))
s = ['x', 'y', 'w', 'h', 'conf', 'cls', 'loss', 'prec', 'recall'] s = ['X', 'Y', 'Width', 'Height', 'Objectness', 'Classification', 'Total Loss', 'Precision', 'Recall']
for f in ('/Users/glennjocher/Downloads/results (2).txt', for f in ('/Users/glennjocher/Downloads/results.txt',
'results22.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)