@@ -199,7 +199,7 @@ def draw_binary_segmentation_predictions(
199
199
image_format : Union [str , Callable ] = "rgb" ,
200
200
) -> List [np .ndarray ]:
201
201
"""
202
- Draws visualization of model's prediction for binary segmentation problem.
202
+ Render visualization of model's prediction for binary segmentation problem.
203
203
This function draws a color-coded overlay on top of the image, with color codes meaning:
204
204
- green: True positives
205
205
- red: False-negatives
@@ -279,7 +279,7 @@ def draw_semantic_segmentation_predictions(
279
279
image_format : Union [str , Callable ] = "rgb" ,
280
280
) -> List [np .ndarray ]:
281
281
"""
282
- Draws visualization of model's prediction for binary segmentation problem.
282
+ Render visualization of model's prediction for binary segmentation problem.
283
283
This function draws a color-coded overlay on top of the image, with color codes meaning:
284
284
- green: True positives
285
285
- red: False-negatives
@@ -301,7 +301,6 @@ def draw_semantic_segmentation_predictions(
301
301
Can be string ("gray", "rgb", "brg") or function `convert(np.ndarray)->nd.ndarray`.
302
302
:return: List of images
303
303
"""
304
-
305
304
assert mode in {"overlay" , "side-by-side" }
306
305
307
306
images = []
@@ -367,7 +366,7 @@ def draw_multilabel_segmentation_predictions(
367
366
image_format : Union [str , Callable ] = "rgb" ,
368
367
) -> List [np .ndarray ]:
369
368
"""
370
- Draws visualization of model's prediction for binary segmentation problem.
369
+ Render visualization of model's prediction for binary segmentation problem.
371
370
This function draws a color-coded overlay on top of the image, with color codes meaning:
372
371
- green: True positives
373
372
- red: False-negatives
@@ -389,7 +388,6 @@ def draw_multilabel_segmentation_predictions(
389
388
Can be string ("gray", "rgb", "brg") or function `convert(np.ndarray)->nd.ndarray`.
390
389
:return: List of images
391
390
"""
392
-
393
391
assert mode in {"overlay" , "side-by-side" }
394
392
395
393
images = []
0 commit comments