Replies: 7 comments 8 replies
-
I'm a newbie to SD and pretty unfamiliar with coding/tech in general, but I am having the same issue. I was successfully running training exercises over the last couple of weeks with stable diffusion (through google colab) until I encountered this bug (beggining today). The training always "finishes" one step before the n variable I've set where n = the step interval at which I've asked it to save a copy of both the image and the embedding. Pretty lost as to how to fix, let me know if you find a solution! I set the max steps to 34000 (I have 34 training images), and I set n=136 for both the image and embedding logs. It says it's preparing the datasets and runs through 4 epochs then gives me this message in the UI: "Training finished at 135 steps. Preparing dataset... Applying optimization: sdp... done. |
Beta Was this translation helpful? Give feedback.
-
I get the same error during TI training at the same place, N-1 when image save=N. System is Win10, automatic1111 build 20ae71f (from 2023 May 27). |
Beta Was this translation helpful? Give feedback.
-
how do I use an older version of sd , until this is fixed ? |
Beta Was this translation helpful? Give feedback.
-
@onewolf24 I use ZIPs downloaded from |
Beta Was this translation helpful? Give feedback.
-
@onewolf24 I should have said, if you do use ZIPs you can get an older one by scrolling through the commits page(s) and then using the <> button to the right of the commit hash to get to the repository at that state. Then use Code button and "Download ZIP". |
Beta Was this translation helpful? Give feedback.
-
@onewolf24 This seems relevant for the git method to revert: |
Beta Was this translation helpful? Give feedback.
-
I found out the unchecking "Save images with embedding in PNG chunks" and the trainning work again. A bug report was submitted #10778 and they are working on fix |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I try to run train an embedding. when it get to the point where it should save the embedding it said the finished training. the training should not finished yet and I open look at the CMD and it said.
stable-diffusion-webui\venv\lib\site-packages\PIL\ImageFont.py", line 232, in load_from_bytes
self.font_bytes = f.read()
AttributeError: 'FreeTypeFont' object has no attribute 'read'
I have tried deleting the venv file. this started happing on the 26th.
Beta Was this translation helpful? Give feedback.
All reactions