fix logit bias
Browse files- modeling.py +1 -1
modeling.py
CHANGED
@@ -10,7 +10,7 @@ from transformers.image_utils import load_image
|
|
10 |
|
11 |
logger = logging.getLogger(__name__)
|
12 |
|
13 |
-
LOGIT_BIAS =
|
14 |
|
15 |
def load_images(images, lazy_load: bool = True):
|
16 |
# Disable PIL DecompositionBomb threshold for reading large images.
|
|
|
10 |
|
11 |
logger = logging.getLogger(__name__)
|
12 |
|
13 |
+
LOGIT_BIAS = 2.65 # logit bias for sigmoid normalization
|
14 |
|
15 |
def load_images(images, lazy_load: bool = True):
|
16 |
# Disable PIL DecompositionBomb threshold for reading large images.
|