numb3r3 commited on
Commit
f2aa0b2
·
verified ·
1 Parent(s): 22f67ae

fix logit bias

Browse files
Files changed (1) hide show
  1. 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 = 1.45 # logit bias for sigmoid normalization
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.