mirror of
https://github.com/qurator-spk/eynollah.git
synced 2025-06-08 19:59:56 +02:00
remove type annotations in unused
This commit is contained in:
parent
87ef313502
commit
11315da683
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ def color_images(seg, n_classes):
|
|||
seg_img[:, :, 2] = segl * c
|
||||
return seg_img
|
||||
|
||||
def cleaning_probs(probs: np.ndarray, sigma: float) -> np.ndarray:
|
||||
def cleaning_probs(probs, sigma):
|
||||
# Smooth
|
||||
if sigma > 0.0:
|
||||
return cv2.GaussianBlur(probs, (int(3 * sigma) * 2 + 1, int(3 * sigma) * 2 + 1), sigma)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue