Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanwharris committed Jan 11, 2022
1 parent 8c9250d commit 408e77e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
7 changes: 4 additions & 3 deletions flash/image/detection/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://cocodataset.org/#format-data>`_. For help
understanding and using this format, take a look at this tutorial:
`Create COCO Annotations from Scratch. <COCO>`__
and annotation files in the `COCO JSON format <https://cocodataset.org/#format-data>`_.
For help understanding and using the COCO format, take a look at this tutorial: `Create COCO annotations from
scratch <COCO>`__.
To learn how to customize the transforms applied for each stage, read our
:ref:`customizing transforms guide <customizing_transforms>`.
Expand Down
5 changes: 3 additions & 2 deletions flash/image/instance_segmentation/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://cocodataset.org/#format-data>`_.
For help understanding and using this format, take a look at this tutorial: `Create COCO Annotations from
Scratch. <COCO>`__
For help understanding and using the COCO format, take a look at this tutorial: `Create COCO annotations from
scratch <COCO>`__.
To learn how to customize the transforms applied for each stage, read our
:ref:`customizing transforms guide <customizing_transforms>`.
Expand Down
6 changes: 3 additions & 3 deletions flash/image/keypoint_detection/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://cocodataset.org/#format-data>`_. 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 <https://cocodataset.org/#format-data>`_.
<COCO>`__
For help understanding and using the COCO format, take a look at this tutorial: `Create COCO annotations from
scratch <COCO>`__.
To learn how to customize the transforms applied for each stage, read our
:ref:`customizing transforms guide <customizing_transforms>`.
Expand Down

0 comments on commit 408e77e

Please sign in to comment.