mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-08 13:19:54 +00:00
Allow variable img size
This commit is contained in:
@@ -451,8 +451,8 @@ def train_embedding(embedding_name, learn_rate, batch_size, gradient_step, data_
|
||||
else:
|
||||
p.prompt = batch.cond_text[0]
|
||||
p.steps = 20
|
||||
p.width = training_width
|
||||
p.height = training_height
|
||||
p.width = batch.img_shape[0][0]
|
||||
p.height = batch.img_shape[0][1]
|
||||
|
||||
preview_text = p.prompt
|
||||
|
||||
|
Reference in New Issue
Block a user