Skip to content

Commit d7d6841

Browse files
authored
fix a bug in the new version (#957)
remove tensor_format in the new version
1 parent d9cfe32 commit d7d6841

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/text_to_image/train_text_to_image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ def main():
375375

376376
# TODO (patil-suraj): load scheduler using args
377377
noise_scheduler = DDPMScheduler(
378-
beta_start=0.00085, beta_end=0.012, beta_schedule="scaled_linear", num_train_timesteps=1000, tensor_format="pt"
378+
beta_start=0.00085, beta_end=0.012, beta_schedule="scaled_linear", num_train_timesteps=1000
379379
)
380380

381381
# Get the datasets: you can either provide your own training and evaluation files (see below)

0 commit comments

Comments
 (0)