@@ -37,17 +37,17 @@ def wrap_dataset_for_transforms_v2(dataset, target_keys=None):
37
37
* :class:`~torchvision.datasets.CocoDetection`: Instead of returning the target as list of dicts, the wrapper
38
38
returns a dict of lists. In addition, the key-value-pairs ``"boxes"`` (in ``XYXY`` coordinate format),
39
39
``"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
41
41
``"image_id"``, ``"boxes"``, and ``"labels"``.
42
42
* :class:`~torchvision.datasets.VOCDetection`: The key-value-pairs ``"boxes"`` and ``"labels"`` are added to
43
43
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"``.
45
45
* :class:`~torchvision.datasets.CelebA`: The target for ``target_type="bbox"`` is converted to the ``XYXY``
46
46
coordinate format and wrapped into a :class:`~torchvision.datapoints.BoundingBoxes` datapoint.
47
47
* :class:`~torchvision.datasets.Kitti`: Instead returning the target as list of dicts, the wrapper returns a
48
48
dict of lists. In addition, the key-value-pairs ``"boxes"`` and ``"labels"`` are added and wrap the data
49
49
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"``.
51
51
* :class:`~torchvision.datasets.OxfordIIITPet`: The target for ``target_type="segmentation"`` is wrapped into a
52
52
:class:`~torchvision.datapoints.Mask` datapoint.
53
53
* :class:`~torchvision.datasets.Cityscapes`: The target for ``target_type="semantic"`` is wrapped into a
0 commit comments