Skip to content

Commit 7d6df23

Browse files
committed
utils: Add comment
1 parent 308400c commit 7d6df23

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ def __call__(self, image, target):
159159
if self.target_transform is not None:
160160
target = self.target_transform(target)
161161

162+
# RandomHorizontalFlip
162163
if self.p < torch.rand(1):
163164
image = torchvision.transforms.functional.hflip(image)
164165
target = torchvision.transforms.functional.hflip(target)

0 commit comments

Comments
 (0)