Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
felixdittrich92 committed Dec 4, 2023
1 parent c2f945a commit 5dd5a1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doctr/models/detection/differentiable_binarization/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ def build_target(
seg_target: np.ndarray = np.zeros(target_shape, dtype=np.uint8)
seg_mask: np.ndarray = np.ones(target_shape, dtype=bool)
thresh_target: np.ndarray = np.zeros(target_shape, dtype=np.float32)
thresh_mask: np.ndarray = np.ones(target_shape, dtype=np.uint8)
thresh_mask: np.ndarray = np.zeros(target_shape, dtype=np.uint8)

for idx, tgt in enumerate(target):
for class_idx, _tgt in enumerate(tgt.values()):
Expand Down

0 comments on commit 5dd5a1b

Please sign in to comment.