ostris / ai-toolkit

Various AI scripts. Mostly Stable Diffusion stuff.
MIT License
3.49k stars 373 forks source link

The parameter type of batch in TrainSliderProcess.py does not match the receiving type. #219

Open Ando-Lin opened 2 weeks ago

Ando-Lin commented 2 weeks ago

This is for bugs only

Did you already ask in the discord?

No

You verified that this is a bug and not a feature request or question by asking in the discord?

No

Describe the bug

The partial content printed to the console is as follows:

#############################################

Running job: detail_slider_v1

#############################################

Running 1 process Loading pipeline components...: 100%|█████████████| 7/7 [00:01<00:00, 4.82it/s] create LoRA network. base dim (rank): 8, alpha: 4 neuron dropout: p=None, rank dropout: p=None, module dropout: p=None create LoRA for Text Encoder: 0 modules. create LoRA for U-Net: 722 modules. enable LoRA for U-Net Building prompt cache Prompt tensors not found. Encoding prompts.. Generating baseline samples before training
detail_slider_v1: 0%| | 0/500 [00:00<?, ?it/s]Error running job: 'list' object has no attribute 'get_caption_list'

======================================== Result:

When I modified the judgment statement on line 335 of ai-toolkit/jobs/process/TrainSliderProcess.py, it worked normally for a while, then another bug occurred:

Result:

Volnovik commented 4 days ago

Bump