Skip to content

Commit

Permalink
Temp scaling not active by default
Browse files Browse the repository at this point in the history
  • Loading branch information
andbue committed May 2, 2022
1 parent 3e9ef86 commit 24cad40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion calamari_ocr/ocr/model/params.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class ModelParams(ModelBaseParams):
classes: int = -1
ctc_merge_repeated: bool = True
ensemble: int = 0 # For usage with the ensemble-model graph
temperature: float = field(default=1, metadata=pai_meta(help="Value to divide logits by (temperature scaling)."))
temperature: float = field(default=-1, metadata=pai_meta(help="Value to divide logits by (temperature scaling)."))
masking_mode: int = False # This parameter is for evaluation only and should not be used in production

@staticmethod
Expand Down

0 comments on commit 24cad40

Please sign in to comment.