@@ -37,17 +37,17 @@ def wrap_dataset_for_transforms_v2(dataset, target_keys=None):
3737 * :class:`~torchvision.datasets.CocoDetection`: Instead of returning the target as list of dicts, the wrapper
3838 returns a dict of lists. In addition, the key-value-pairs ``"boxes"`` (in ``XYXY`` coordinate format),
3939 ``"masks"`` and ``"labels"`` are added and wrap the data in the corresponding ``torchvision.datapoints``.
40- The original keys are preserved. If ``target_keys`` is ommitted , returns only the values for the
40+ The original keys are preserved. If ``target_keys`` is omitted , returns only the values for the
4141 ``"image_id"``, ``"boxes"``, and ``"labels"``.
4242 * :class:`~torchvision.datasets.VOCDetection`: The key-value-pairs ``"boxes"`` and ``"labels"`` are added to
4343 the target and wrap the data in the corresponding ``torchvision.datapoints``. The original keys are
44- preserved. If ``target_keys`` is ommitted , returns only the values for the ``"boxes"`` and ``"labels"``.
44+ preserved. If ``target_keys`` is omitted , returns only the values for the ``"boxes"`` and ``"labels"``.
4545 * :class:`~torchvision.datasets.CelebA`: The target for ``target_type="bbox"`` is converted to the ``XYXY``
4646 coordinate format and wrapped into a :class:`~torchvision.datapoints.BoundingBoxes` datapoint.
4747 * :class:`~torchvision.datasets.Kitti`: Instead returning the target as list of dicts, the wrapper returns a
4848 dict of lists. In addition, the key-value-pairs ``"boxes"`` and ``"labels"`` are added and wrap the data
4949 in the corresponding ``torchvision.datapoints``. The original keys are preserved. If ``target_keys`` is
50- ommitted , returns only the values for the ``"boxes"`` and ``"labels"``.
50+ omitted , returns only the values for the ``"boxes"`` and ``"labels"``.
5151 * :class:`~torchvision.datasets.OxfordIIITPet`: The target for ``target_type="segmentation"`` is wrapped into a
5252 :class:`~torchvision.datapoints.Mask` datapoint.
5353 * :class:`~torchvision.datasets.Cityscapes`: The target for ``target_type="semantic"`` is wrapped into a
0 commit comments