Skip to content
Snippets Groups Projects
Commit 8d0e66ec authored by Daniel CARRON's avatar Daniel CARRON :b: Committed by André Anjos
Browse files

[segmentation] Fix typing

parent 1075431f
No related branches found
No related tags found
1 merge request!46Create common library
...@@ -9,5 +9,7 @@ import typing ...@@ -9,5 +9,7 @@ import typing
Checkpoint: typing.TypeAlias = typing.MutableMapping[str, typing.Any] Checkpoint: typing.TypeAlias = typing.MutableMapping[str, typing.Any]
"""Definition of a lightning checkpoint.""" """Definition of a lightning checkpoint."""
SegmentationPrediction: typing.TypeAlias = tuple[pathlib.Path, pathlib.Path] SegmentationPrediction: typing.TypeAlias = tuple[
"""The sample name, the target, and the predicted value.""" pathlib.Path, pathlib.Path, pathlib.Path, pathlib.Path
]
"""The sample name, the target, mask, and the prediction."""
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