FocalLoss() and obj loss speed and stability update

This commit is contained in:
Glenn Jocher 2020-03-19 11:52:52 -07:00
parent b3adc896f9
commit 60c8d194cd
1 changed files with 2 additions and 4 deletions

View File

@ -969,10 +969,8 @@ def plot_test_txt(): # from utils.utils import *; plot_test()
def plot_targets_txt(): # from utils.utils import *; plot_targets_txt() def plot_targets_txt(): # from utils.utils import *; plot_targets_txt()
# Plot test.txt histograms # Plot targets.txt histograms
x = np.loadtxt('targets.txt', dtype=np.float32) x = np.loadtxt('targets.txt', dtype=np.float32).T
x = x.T
s = ['x targets', 'y targets', 'width targets', 'height targets'] s = ['x targets', 'y targets', 'width targets', 'height targets']
fig, ax = plt.subplots(2, 2, figsize=(8, 8)) fig, ax = plt.subplots(2, 2, figsize=(8, 8))
ax = ax.ravel() ax = ax.ravel()