Skip to content

Commit

Permalink
Merge branch 'AUTOMATIC1111:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
bamarillo committed Oct 29, 2022
2 parents b2e0d8b + 737eb28 commit 0edf100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/textual_inversion/textual_inversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ def train_embedding(embedding_name, learn_rate, batch_size, data_root, log_direc
embedding.cached_checksum = None
# Before saving for the last time, change name back to base name (as opposed to the save_embedding_every step-suffixed naming convention).
embedding.name = embedding_name
filename = os.path.join(shared.cmd_opts.embedding_dir, f'{embedding.name}.pt')
filename = os.path.join(shared.cmd_opts.embeddings_dir, f'{embedding.name}.pt')
embedding.save(filename)

return embedding, filename

0 comments on commit 0edf100

Please sign in to comment.