guoyww / AnimateDiff

Official implementation of AnimateDiff.
https://animatediff.github.io
Apache License 2.0
10.58k stars 872 forks source link

When I use mm_sd_v15_v2, I get an error. #136

Open toyxyz opened 1 year ago

toyxyz commented 1 year ago

Used commit : 1904a01117824d7d294227059f6b684972c5a8b6

When I updated to the latest version and ran the script, I got the error below.

(animatediff) C:\Users\toyxy\AnimateDiff>python -m scripts.animate --config configs/prompts/v2/5-RealisticVision.yaml A matching Triton is not available, some optimizations will not be enabled. Error caught was: No module named 'triton' Cannot initialize model with low cpu memory usage because accelerate was not found in the environment. Defaulting to low_cpu_mem_usage=False. It is strongly recommended to install accelerate for faster and less memory-intense model loading. You can do so with:

pip install accelerate

. The config attributes {'scaling_factor': 0.18215} were passed to AutoencoderKL, but are not expected and will be ignored. Please verify your config.json configuration file. Some weights of the model checkpoint at models/StableDiffusion/stable-diffusion-v1-5 were not used when initializing AutoencoderKL: ['encoder.mid_block.attentions.0.to_k.weight', 'encoder.mid_block.attentions.0.to_q.bias', 'decoder.mid_block.attentions.0.to_v.bias', 'encoder.mid_block.attentions.0.to_out.0.bias', 'encoder.mid_block.attentions.0.to_v.bias', 'decoder.mid_block.attentions.0.to_v.weight', 'decoder.mid_block.attentions.0.to_out.0.bias', 'encoder.mid_block.attentions.0.to_v.weight', 'encoder.mid_block.attentions.0.to_out.0.weight', 'decoder.mid_block.attentions.0.to_q.weight', 'decoder.mid_block.attentions.0.to_k.bias', 'decoder.mid_block.attentions.0.to_q.bias', 'decoder.mid_block.attentions.0.to_out.0.weight', 'encoder.mid_block.attentions.0.to_k.bias', 'decoder.mid_block.attentions.0.to_k.weight', 'encoder.mid_block.attentions.0.to_q.weight']

CiaraStrawberry commented 1 year ago

https://github.com/huggingface/diffusers/issues/4969

jag-ermeister commented 11 months ago

huggingface/diffusers#4969

I am not understanding how this is related?