small fixes
This commit is contained in:
parent
5b57f61ba4
commit
89d8ecff09
|
@ -582,7 +582,7 @@ def train_hypernetwork(hypernetwork_name, learn_rate, batch_size, gradient_step,
|
||||||
shared.state.textinfo = f"""
|
shared.state.textinfo = f"""
|
||||||
<p>
|
<p>
|
||||||
Loss: {loss_step:.7f}<br/>
|
Loss: {loss_step:.7f}<br/>
|
||||||
Step: {hypernetwork.step}<br/>
|
Step: {steps_done}<br/>
|
||||||
Last prompt: {html.escape(batch.cond_text[0])}<br/>
|
Last prompt: {html.escape(batch.cond_text[0])}<br/>
|
||||||
Last saved hypernetwork: {html.escape(last_saved_file)}<br/>
|
Last saved hypernetwork: {html.escape(last_saved_file)}<br/>
|
||||||
Last saved image: {html.escape(last_saved_image)}<br/>
|
Last saved image: {html.escape(last_saved_image)}<br/>
|
||||||
|
|
|
@ -436,7 +436,7 @@ def train_embedding(embedding_name, learn_rate, batch_size, gradient_step, data_
|
||||||
shared.state.textinfo = f"""
|
shared.state.textinfo = f"""
|
||||||
<p>
|
<p>
|
||||||
Loss: {loss_step:.7f}<br/>
|
Loss: {loss_step:.7f}<br/>
|
||||||
Step: {embedding.step}<br/>
|
Step: {steps_done}<br/>
|
||||||
Last prompt: {html.escape(batch.cond_text[0])}<br/>
|
Last prompt: {html.escape(batch.cond_text[0])}<br/>
|
||||||
Last saved embedding: {html.escape(last_saved_file)}<br/>
|
Last saved embedding: {html.escape(last_saved_file)}<br/>
|
||||||
Last saved image: {html.escape(last_saved_image)}<br/>
|
Last saved image: {html.escape(last_saved_image)}<br/>
|
||||||
|
|
Loading…
Reference in New Issue