From 4a5159710f77943d1a13e81943e89476668622dc Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Wed, 4 Mar 2020 14:55:56 -0800 Subject: [PATCH] updates --- models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models.py b/models.py index 493229e7..ec192c33 100755 --- a/models.py +++ b/models.py @@ -89,7 +89,7 @@ def create_modules(module_defs, img_size, arc): try: p = math.log(1 / (modules.nc - 0.99)) # class probability -> sigmoid(p) = 1/nc if arc == 'default' or arc == 'Fdefault': # default - b = [-5.0, p] # obj, cls + b = [-4.5, p] # obj, cls elif arc == 'uBCE': # unified BCE (80 classes) b = [0, -9.0] elif arc == 'uCE': # unified CE (1 background + 80 classes)