Closed NimaMancer closed 11 months ago
I don't know if it'll help with your problem, but on startup you can see that xformers isn't installed correctly:
[!] xformers version 0.0.20 installed.
You might want to look into that first, and see if your error goes away.
One other thought is that it seems to have crashed 17% of the way through the latents. The training generates one latent per image. I've seen people say that sometimes 'broken' images can crash the training. Maybe try again with just a few images to see if that gets rid of the error, and then try different combinations to see if one (or a few) training images in particular are breaking your run?
This issue is stale because it has been open 5 days with no activity. Remove stale label or comment or this will be closed in 5 days
Is there an existing issue for this?
What happened?
when Dreambooth is finished generating class images I get the error "TypeError: list indices must be integers or slices, not tuple" full logs provided also I'm a complete noob so I would appreciate caveman terms and solutions <3
Steps to reproduce the problem
Commit and libraries
Initializing Dreambooth Dreambooth revision: 34690769c2cfb78d5760ba0003fdf55af0faf372 Successfully installed accelerate-0.22.0 fastapi-0.94.1
[!] xformers version 0.0.20 installed. [+] torch version 2.0.1+cu118 installed. [+] torchvision version 0.15.2+cu118 installed. [+] accelerate version 0.22.0 installed. [+] diffusers version 0.20.2 installed. [+] transformers version 4.30.2 installed. [+] bitsandbytes version 0.35.4 installed. Launching Web UI with arguments: --xformers --medvram --autolaunch --no-half-vae --no-half 2023-09-15 12:47:15,445 - ControlNet - INFO - ControlNet v1.1.410 ControlNet preprocessor location: C:\Users\Nima\stable-diffusion-webui\extensions\sd-webui-controlnet\annotator\downloads 2023-09-15 12:47:15,644 - ControlNet - INFO - ControlNet v1.1.410 Loading weights [e6bb9ea85b] from C:\Users\Nima\stable-diffusion-webui\models\Stable-diffusion\sdXL_v10VAEFix.safetensors C:\Users\Nima\stable-diffusion-webui\extensions\sd_dreambooth_extension\scripts\main.py:261: GradioDeprecationWarning: The
style
method is deprecated. Please set these arguments in the constructor instead. with gr.Row().style(equal_height=False): CUDA SETUP: Loading binary C:\Users\Nima\stable-diffusion-webui\venv\lib\site-packages\bitsandbytes\libbitsandbytes_cudaall.dll... C:\Users\Nima\stable-diffusion-webui\extensions\sd_dreambooth_extension\scripts\main.py:1051: GradioDeprecationWarning: Thestyle
method is deprecated. Please set these arguments in the constructor instead. db_gallery = gr.Gallery( C:\Users\Nima\stable-diffusion-webui\extensions\sd_dreambooth_extension\scripts\main.py:1051: GradioDeprecationWarning: The 'grid' parameter will be deprecated. Please use 'columns' in the constructor instead. db_gallery = gr.Gallery( Creating model from config: C:\Users\Nima\stable-diffusion-webui\repositories\generative-models\configs\inference\sd_xl_base.yaml Running on local URL: http://127.0.0.1:7860To create a public link, set
share=True
inlaunch()
. Startup time: 66.5s (prepare environment: 52.5s, import torch: 4.0s, import gradio: 1.2s, setup paths: 0.9s, initialize shared: 0.2s, other imports: 1.1s, setup codeformer: 0.2s, load scripts: 3.2s, create ui: 1.9s, gradio launch: 1.1s). Loading VAE weights specified in settings: C:\Users\Nima\stable-diffusion-webui\models\VAE\sdxl_vae.safetensors Applying attention optimization: xformers... done. Model loaded in 69.2s (load weights from disk: 2.6s, create model: 0.8s, apply weights to model: 31.8s, apply float(): 12.7s, load VAE: 3.0s, load weights from state dict: 0.2s, hijack: 0.1s, load textual inversion embeddings: 0.5s, calculate empty prompt: 17.4s).Command Line Arguments
Console logs
Additional information
No response