diff --git a/flash/image/detection/data.py b/flash/image/detection/data.py index c26c5a7869..09e0a22969 100644 --- a/flash/image/detection/data.py +++ b/flash/image/detection/data.py @@ -125,9 +125,10 @@ def from_coco( """.. _COCO: https://www.immersivelimit.com/tutorials/create-coco-annotations-from-scratch. Creates a :class:`~flash.image.detection.data.ObjectDetectionData` object from the given data folders - and annotation files in the `COCO JSON format `_. For help - understanding and using this format, take a look at this tutorial: - `Create COCO Annotations from Scratch. `__ + and annotation files in the `COCO JSON format `_. + + For help understanding and using the COCO format, take a look at this tutorial: `Create COCO annotations from + scratch `__. To learn how to customize the transforms applied for each stage, read our :ref:`customizing transforms guide `. diff --git a/flash/image/instance_segmentation/data.py b/flash/image/instance_segmentation/data.py index 24020e7a65..ed40489ff2 100644 --- a/flash/image/instance_segmentation/data.py +++ b/flash/image/instance_segmentation/data.py @@ -124,8 +124,9 @@ def from_coco( ): """Creates a :class:`~flash.image.instance_segmentation.data.InstanceSegmentationData` object from the given data folders and annotation files in the `COCO JSON format `_. - For help understanding and using this format, take a look at this tutorial: `Create COCO Annotations from - Scratch. `__ + + For help understanding and using the COCO format, take a look at this tutorial: `Create COCO annotations from + scratch `__. To learn how to customize the transforms applied for each stage, read our :ref:`customizing transforms guide `. diff --git a/flash/image/keypoint_detection/data.py b/flash/image/keypoint_detection/data.py index ddb09c4185..ec2a79d61c 100644 --- a/flash/image/keypoint_detection/data.py +++ b/flash/image/keypoint_detection/data.py @@ -140,10 +140,10 @@ def from_coco( **data_module_kwargs: Any, ): """Creates a :class:`~flash.image.keypoint_detection.data.KeypointDetectionData` object from the given data - folders and annotation files in the `COCO JSON format `_. For help - understanding and using this format, take a look at this tutorial: `Create COCO Annotations from Scratch. + folders and annotation files in the `COCO JSON format `_. - `__ + For help understanding and using the COCO format, take a look at this tutorial: `Create COCO annotations from + scratch `__. To learn how to customize the transforms applied for each stage, read our :ref:`customizing transforms guide `.