Skip to content

Commit 014b8c7

Browse files
committed
Put back commented code
1 parent a7d17ec commit 014b8c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

torchvision/prototype/transforms/_auto_augment.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ def _parse_fill(
7272
) -> Union[int, float, Sequence[int], Sequence[float]]:
7373
fill = self.fill
7474

75-
# if isinstance(image, PIL.Image.Image) or fill is None:
76-
# return fill
75+
if isinstance(image, PIL.Image.Image) or fill is None:
76+
return fill
7777

7878
if isinstance(fill, (int, float)):
7979
fill = [float(fill)] * num_channels

0 commit comments

Comments
 (0)