Closed joneschunghk closed 6 months ago
After some testing:
Training epochs=20, Save model epochs=10, Save preview epochs=5
. The preview was generated successfully in epoch 5, and the error occured in epoch 10.
Training epochs=20, Save model epochs=10, Save preview epochs=0
. The preview and model were generated successfully in epoch 10 without errors.
So I guess the error occurs when saving the model and saving the preview in the same epoch. I'm testing a larger training epoch without preview now and waiting for the results.
This issue is stale because it has been open for 14 days with no activity. Remove stale label or comment or this will be closed in 30 days
Is there an existing issue for this?
What happened?
Error while save interval model
Steps to reproduce the problem
Commit and libraries
Initializing Dreambooth Dreambooth revision: 71c3465b6c866050b147c58e2caf41984df2cf45 Checking xformers... Checking bitsandbytes... Checking bitsandbytes (Windows) Virtual environment path: D:\AI\Stable Diffusion\stable-diffusion-webui\venv Checking for D:\AI\Stable Diffusion\stable-diffusion-webui\venv\lib\site-packages\bitsandbytes\libbitsandbytes_cuda111.dll Found windows BNB DLL D:\AI\Stable Diffusion\stable-diffusion-webui\venv\lib\site-packages\bitsandbytes\libbitsandbytes_cuda111.dll Checking Dreambooth requirements... Installed version of accelerate: 0.21.0 [Dreambooth] accelerate v0.21.0 is already installed. Installed version of dadaptation: 3.2 [Dreambooth] dadaptation v3.2 is already installed. Installed version of diffusers: 0.25.0 [Dreambooth] diffusers v0.25.0 is already installed. Installed version of discord-webhook: 1.3.0 [Dreambooth] discord-webhook v1.3.0 is already installed. Installed version of fastapi: 0.94.0 [Dreambooth] fastapi is already installed. Installed version of gitpython: 3.1.32 [Dreambooth] gitpython v3.1.40 is not installed. Successfully installed gitpython-3.1.41
Installed version of pytorch_optimizer: 2.12.0 [Dreambooth] pytorch_optimizer v2.12.0 is already installed. Installed version of Pillow: 9.5.0 [Dreambooth] Pillow is already installed. Installed version of tqdm: 4.66.1 [Dreambooth] tqdm is already installed. Installed version of tomesd: 0.1.3 [Dreambooth] tomesd v0.1.2 is already installed. Installed version of tensorboard: 2.13.0 [Dreambooth] tensorboard v2.13.0 is already installed. [+] torch version 2.2.0+cu118 installed. [+] torchvision version 0.17.0+cu118 installed. [+] accelerate version 0.21.0 installed. [+] diffusers version 0.25.0 installed. [+] bitsandbytes version 0.41.2.post2 installed. [+] xformers version 0.0.24+cu118 installed.
Command Line Arguments
Console logs
Additional information
No response