Skip to content

Commit

Permalink
Adapt layout model tresholds and remove blacklist
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Auer <[email protected]>
  • Loading branch information
cau-git committed Dec 4, 2024
1 parent c73f914 commit b83cd6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docling_ibm_models/layoutmodel/layout_predictor.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ def __init__(
}

# Blacklisted classes
self._black_classes = set(["Form", "Key-Value Region"])
self._black_classes = set() # ["Form", "Key-Value Region"])

# Set basic params
self._threshold = 0.6 # Score threshold
self._threshold = 0.5 # Score threshold
self._image_size = 640
self._size = np.asarray([[self._image_size, self._image_size]], dtype=np.int64)

Expand Down

0 comments on commit b83cd6c

Please sign in to comment.