Skip to content
Snippets Groups Projects
Commit 4dfc63a8 authored by Daniel CARRON's avatar Daniel CARRON :b:
Browse files

[doc] Fix typos

parent 45043ddb
No related branches found
No related tags found
2 merge requests!18Update tests,!16Make square centre-padding a model transform
......@@ -63,7 +63,7 @@ def _overlay_saliency_map(
Parameters
----------
image
The input image that will be overlayed with the saliency map.
The input image that will be overlaid with the saliency map.
saliencies
The saliency map that will be overlaid on the (raw) image.
colormap
......@@ -118,7 +118,7 @@ def _overlay_bounding_box(
Parameters
----------
image
The input image that will be overlayed with the saliency map.
The input image that will be overlaid with the saliency map.
bbox
The bounding box to draw on the input image.
color
......@@ -149,13 +149,13 @@ def _process_sample(
saliencies: numpy.typing.NDArray[numpy.double],
ground_truth: BoundingBoxes,
) -> PIL.Image.Image:
"""Generate an overlayed representation of the original sample and saliency
"""Generate an overlaid representation of the original sample and saliency
maps.
Parameters
----------
raw_data
The raw data representing the input sample that will be overlayed with
The raw data representing the input sample that will be overlaid with
saliency maps and annotations.
saliencies
The saliency map recovered from the model, that will be imprinted on
......@@ -166,7 +166,7 @@ def _process_sample(
Returns
-------
PIL.Image.Image
An image with the original raw data overlayed with the different
An image with the original raw data overlaid with the different
elements as selected by the user.
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment