stablediffusion
stablediffusion copied to clipboard
assert c_adm is not None AssertionError
/ldm/models/diffusion/ddpm.py", line 1346, in forward assert c_adm is not None AssertionError
Creating invisible watermark encoder (see https://github.com/ShieldMnt/invisible-watermark)...
Sampling: 0%| | 0/3 [00:00<?, ?it/sData shape for DDIM sampling is (3, 4, 96, 96), eta 0.0 | 0/1 [00:00<?, ?it/s]
Running DDIM Sampling with 50 timesteps
DDIM Sampler: 0%| | 0/50 [00:00<?, ?it/s]
data: 0%| | 0/1 [12:34<?, ?it/s]
Sampling: 0%| | 0/3 [12:34<?, ?it/s]
Traceback (most recent call last):
File "txt2img.py", line 388, in
same question
Happens to me too. Windows 11, WSL2, Python 3.9.16. My package list:
albumentations 1.3.0 pyhd8ed1ab_0 conda-forge
gradio 3.23.0 pyhd8ed1ab_0 conda-forge
kornia 0.6.11 pyhd8ed1ab_0 conda-forge
omegaconf 2.3.0 pyhd8ed1ab_0 conda-forge
open-clip-torch 2.7.0 pyhd8ed1ab_0 conda-forge
opencv 4.7.0 py39hf3d152e_1 conda-forge
pytorch 1.13.1 py3.9_cuda11.7_cudnn8.5.0_0 pytorch
pytorch-cuda 11.7 h778d358_3 pytorch
pytorch-lightning 1.4.9 pyhd8ed1ab_0 conda-forge
pytorch-mutex 1.0 cuda pytorch
sentencepiece 0.1.96 py39hf939315_1 conda-forge
torchaudio 0.13.1 py39_cu117 pytorch
torchdata 0.5.1 py39hebc40ba_1 conda-forge
torchmetrics 0.7.3 pyhd8ed1ab_0 conda-forge
torchtext 0.6.0 py_1 pytorch
torchvision 0.14.1 py39_cu117 pytorch
tqdm 4.65.0 pyhd8ed1ab_1 conda-forge
transformers 4.19.4 pyhd8ed1ab_0 conda-forge
webdataset 0.2.48 pyhd8ed1ab_0 conda-forge
xformers 0.0.16 py39h4b4f3f3_2 conda-forge
i have the same question,do you solve it?
it doesn't work when using v2-1-stable-unclip-l-inference.yaml, but v2-inference-v.yaml is finished.ckpt is --ckpt models/v2-1_768-ema-pruned.ckpt
it doesn't work when using v2-1-stable-unclip-l-inference.yaml, but v2-inference-v.yaml is finished.ckpt is --ckpt models/v2-1_768-ema-pruned.ckpt
thankyou!