stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

Fix log off by 1 #3847

Open R-N opened this issue 2 years ago • 0 comments

Fix #3847

Additionally, csv loss log was inconsistent with console output.

  • csv: epoch 1-based index, step 1-based index
  • output: epoch 0-based index, step 1-based index

I made it to be the same as output (epoch 0-based index).

Also, learn scheduler was weird that it used "<=" sign, so 0.01:10 doesn't mean the first 10 steps, but first 11 steps (applies until step 10 in 0-based steps). I changed this to "<" sign.

Screenshots: (debug prints have been cleaned)

Hypernetwork training

image

Textual embedding training

image

CSV log

image

R-N avatar Oct 28 '22 13:10 R-N