1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-27 17:22:53 +03:00

correct hflip arg (#6743)

This commit is contained in:
Sayak Paul
2024-01-28 17:42:34 +05:30
committed by GitHub
parent 5b1b80a5b6
commit acd1962769

View File

@@ -741,7 +741,7 @@ def main(args):
combined_im = train_resize(combined_im)
# Flipping.
if not args.no_flip and random.random() < 0.5:
if not args.no_hflip and random.random() < 0.5:
combined_im = train_flip(combined_im)
# Cropping.