Skip to content

Commit 388d004

Browse files
tweak final save name to not have the step number
1 parent a4af8eb commit 388d004

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

unit2/finetune_model.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def transform(examples):
114114
scheduler.step()
115115

116116
# Save the pipeline one last time
117-
image_pipe.save_pretrained(model_save_name+f'step_{step+1}')
117+
image_pipe.save_pretrained(model_save_name)
118118

119119
# Wrap up the run
120-
wandb.finish()
120+
wandb.finish()

0 commit comments

Comments
 (0)