small fixes

This commit is contained in:
flamelaw 2022-11-23 02:49:01 +09:00
parent 5b57f61ba4
commit 89d8ecff09
2 changed files with 4 additions and 4 deletions

View File

@ -582,7 +582,7 @@ def train_hypernetwork(hypernetwork_name, learn_rate, batch_size, gradient_step,
shared.state.textinfo = f"""
<p>
Loss: {loss_step:.7f}<br/>
Step: {hypernetwork.step}<br/>
Step: {steps_done}<br/>
Last prompt: {html.escape(batch.cond_text[0])}<br/>
Last saved hypernetwork: {html.escape(last_saved_file)}<br/>
Last saved image: {html.escape(last_saved_image)}<br/>

View File

@ -436,7 +436,7 @@ def train_embedding(embedding_name, learn_rate, batch_size, gradient_step, data_
shared.state.textinfo = f"""
<p>
Loss: {loss_step:.7f}<br/>
Step: {embedding.step}<br/>
Step: {steps_done}<br/>
Last prompt: {html.escape(batch.cond_text[0])}<br/>
Last saved embedding: {html.escape(last_saved_file)}<br/>
Last saved image: {html.escape(last_saved_image)}<br/>