Skip to content

Commit acd1962

Browse files
authored
correct hflip arg (#6743)
1 parent 5b1b80a commit acd1962

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/research_projects/diffusion_dpo/train_diffusion_dpo_sdxl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,7 @@ def preprocess_train(examples):
741741
combined_im = train_resize(combined_im)
742742

743743
# Flipping.
744-
if not args.no_flip and random.random() < 0.5:
744+
if not args.no_hflip and random.random() < 0.5:
745745
combined_im = train_flip(combined_im)
746746

747747
# Cropping.

0 commit comments

Comments
 (0)