Skip to content

Commit 8088de5

Browse files
committed
Do not use marker image in postprocess classification by default
1 parent e6ff602 commit 8088de5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deepliif/models/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ def inference(img, tile_size, overlap_size, model_path, use_torchserve=False,
546546
return results # return result images with default key names (i.e., net names)
547547

548548

549-
def postprocess(orig, images, tile_size, model, seg_thresh=150, size_thresh='auto', marker_thresh='auto', size_thresh_upper=None):
549+
def postprocess(orig, images, tile_size, model, seg_thresh=150, size_thresh='auto', marker_thresh=None, size_thresh_upper=None):
550550
if model == 'DeepLIIF':
551551
resolution = '40x' if tile_size > 384 else ('20x' if tile_size > 192 else '10x')
552552
overlay, refined, scoring = compute_results(np.array(orig), np.array(images['Seg']),

0 commit comments

Comments
 (0)