FocalLoss() and obj loss speed and stability update
This commit is contained in:
parent
b3adc896f9
commit
60c8d194cd
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue