Skip to content

Commit dad20b9

Browse files
committed
Address Scott's comments
1 parent 2dc77e8 commit dad20b9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/source/transforms.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ In Torchvision 0.15 (March 2023), we released a new set of transforms available
117117
in the ``torchvision.transforms.v2`` namespace. These transforms have a lot of
118118
advantages compared to the v1 ones (in ``torchvision.transforms``):
119119

120-
- They can transform images **but also** bounding boxes, masks, videos and
120+
- They can transform images **and also** bounding boxes, masks, videos and
121121
keypoints. This provides support for tasks beyond image classification:
122122
detection, segmentation, video classification, pose estimation, etc. See
123123
:ref:`sphx_glr_auto_examples_transforms_plot_transforms_getting_started.py`

torchvision/tv_tensors/_keypoints.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ class KeyPoints(TVTensor):
1717
1818
- `Polygonal chains <https://en.wikipedia.org/wiki/Polygonal_chain>`_,
1919
including polylines, Bézier curves, etc., which can be of shape
20-
``[N_chains, N_points, 2]``
21-
- Polygons, which can be of shape ``[N_polygons, N_points, 2]``
20+
``[N_chains, N_points, 2]``.
21+
- Polygons, which can be of shape ``[N_polygons, N_points, 2]``.
2222
- Skeletons, which can be of shape ``[N_skeletons, N_bones, 2, 2]`` for
2323
pose-estimation models.
2424

0 commit comments

Comments
 (0)