Skip to content

Commit

Permalink
Do not use marker image in postprocess classification by default
Browse files Browse the repository at this point in the history
  • Loading branch information
jommarin committed Aug 12, 2024
1 parent e6ff602 commit 8088de5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deepliif/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ def inference(img, tile_size, overlap_size, model_path, use_torchserve=False,
return results # return result images with default key names (i.e., net names)


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

0 comments on commit 8088de5

Please sign in to comment.