From 60c8d194cd7476607d1bd912bea1da0c957aa0ff Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Thu, 19 Mar 2020 11:52:52 -0700 Subject: [PATCH] FocalLoss() and obj loss speed and stability update --- utils/utils.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/utils/utils.py b/utils/utils.py index 37dacaf6..d7b99549 100755 --- a/utils/utils.py +++ b/utils/utils.py @@ -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() - # Plot test.txt histograms - x = np.loadtxt('targets.txt', dtype=np.float32) - x = x.T - + # Plot targets.txt histograms + x = np.loadtxt('targets.txt', dtype=np.float32).T s = ['x targets', 'y targets', 'width targets', 'height targets'] fig, ax = plt.subplots(2, 2, figsize=(8, 8)) ax = ax.ravel()