@@ -171,7 +171,7 @@ class AutoAugment(_AutoAugmentBase):
171
171
172
172
If the input is :class:`torch.Tensor`, it should be of type ``torch.uint8``, and it is expected
173
173
to have [..., 1 or 3, H, W] shape, where ... means an arbitrary number of leading dimensions.
174
- If img is `` PIL. Image`` , it is expected to be in mode "L" or "RGB".
174
+ If img is PIL Image, it is expected to be in mode "L" or "RGB".
175
175
176
176
Args:
177
177
policy (AutoAugmentPolicy, optional): Desired policy enum defined by
@@ -348,7 +348,7 @@ class RandAugment(_AutoAugmentBase):
348
348
349
349
If the input is :class:`torch.Tensor`, it should be of type ``torch.uint8``, and it is expected
350
350
to have [..., 1 or 3, H, W] shape, where ... means an arbitrary number of leading dimensions.
351
- If img is `` PIL. Image`` , it is expected to be in mode "L" or "RGB".
351
+ If img is PIL Image, it is expected to be in mode "L" or "RGB".
352
352
353
353
Args:
354
354
num_ops (int, optional): Number of augmentation transformations to apply sequentially.
@@ -431,7 +431,7 @@ class TrivialAugmentWide(_AutoAugmentBase):
431
431
432
432
If the input is :class:`torch.Tensor`, it should be of type ``torch.uint8``, and it is expected
433
433
to have [..., 1 or 3, H, W] shape, where ... means an arbitrary number of leading dimensions.
434
- If img is `` PIL. Image`` , it is expected to be in mode "L" or "RGB".
434
+ If img is PIL Image, it is expected to be in mode "L" or "RGB".
435
435
436
436
Args:
437
437
num_magnitude_bins (int, optional): The number of different magnitude values.
@@ -502,7 +502,7 @@ class AugMix(_AutoAugmentBase):
502
502
503
503
If the input is :class:`torch.Tensor`, it should be of type ``torch.uint8``, and it is expected
504
504
to have [..., 1 or 3, H, W] shape, where ... means an arbitrary number of leading dimensions.
505
- If img is `` PIL. Image`` , it is expected to be in mode "L" or "RGB".
505
+ If img is PIL Image, it is expected to be in mode "L" or "RGB".
506
506
507
507
Args:
508
508
severity (int, optional): The severity of base augmentation operators. Default is ``3``.
0 commit comments