Skip to content

Commit fc3830c

Browse files
remove padding type
1 parent 692e5cc commit fc3830c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

examples/cogview4-control/train_control_cogview4.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,6 @@ def log_validation(cogview4_transformer, args, accelerator, weight_dtype, step,
132132
control_image=validation_image,
133133
num_inference_steps=50,
134134
guidance_scale=args.guidance_scale,
135-
max_sequence_length=args.max_sequence_length, # For downstream task training usage, training can be performed on a batch basis.
136-
padding_type="max_length",
137135
generator=generator,
138136
height=args.resolution,
139137
width=args.resolution,

0 commit comments

Comments
 (0)