found an error using the ckpt
I got this error:
Loading weights [e2e75020] from D:\stable diffusion\stable-diffusion-webui\models\Stable-diffusion\Taiyi-Stable-Diffusion-1B-Chinese-v0.1.ckpt
Traceback (most recent call last):
File "D:\stable diffusion\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 284, in run_predict
output = await app.blocks.process_api(
File "D:\stable diffusion\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 982, in process_api
result = await self.call_function(fn_index, inputs, iterator)
File "D:\stable diffusion\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 824, in call_function
prediction = await anyio.to_thread.run_sync(
File "D:\stable diffusion\stable-diffusion-webui\venv\lib\site-packages\anyio\to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "D:\stable diffusion\stable-diffusion-webui\venv\lib\site-packages\anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "D:\stable diffusion\stable-diffusion-webui\venv\lib\site-packages\anyio_backends_asyncio.py", line 867, in run result = context.run(func, *args)
File "D:\stable diffusion\stable-diffusion-webui\modules\ui.py", line 1640, in
fn=lambda value, k=k: run_settings_single(value, key=k),
File "D:\stable diffusion\stable-diffusion-webui\modules\ui.py", line 1482, in run_settings_single
opts.data_labels[key].onchange()
File "D:\stable diffusion\stable-diffusion-webui\webui.py", line 41, in f
res = func(*args, **kwargs)
File "D:\stable diffusion\stable-diffusion-webui\webui.py", line 83, in
shared.opts.onchange("sd_model_checkpoint", wrap_queued_call(lambda: modules.sd_models.reload_model_weights()))
File "D:\stable diffusion\stable-diffusion-webui\modules\sd_models.py", line 288, in reload_model_weights
load_model_weights(sd_model, checkpoint_info)
File "D:\stable diffusion\stable-diffusion-webui\modules\sd_models.py", line 181, in load_model_weights
model.load_state_dict(sd, strict=False)
File "D:\stable diffusion\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 1604, in load_state_dict
raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
RuntimeError: Error(s) in loading state_dict for LatentDiffusion:
size mismatch for cond_stage_model.transformer.text_model.embeddings.position_ids: copying a param with shape torch.Size([1, 512]) from checkpoint, the shape in current model is torch.Size([1, 77]).
I am not sure why.
you can refer https://github.com/IDEA-CCNL/Fengshenbang-LM/issues/186
Thank you very much. Let me get this right, the problem is that this model works in chinese (language) and not just with chinese (images). And webui does not handle the chinese language correctly? So a person must re-install the whole system. I shall probably wait then. Especially since I do not, unfortunately, speak Chinese. It would be great if there was a version of this model in English.
Thank you very much. Let me get this right, the problem is that this model works in chinese (language) and not just with chinese (images). And webui does not handle the chinese language correctly? So a person must re-install the whole system. I shall probably wait then. Especially since I do not, unfortunately, speak Chinese. It would be great if there was a version of this model in English.
If you have problem with webui, you can refer to https://github.com/IDEA-CCNL/stable-diffusion-webui/blob/master/README.md.
If you need a model in english, you can refer to our english&chinese model IDEA-CCNL/Taiyi-Stable-Diffusion-1B-Chinese-EN-v0.1
请升级最新的stable diffusion webui包,然后参考
https://github.com/IDEA-CCNL/stable-diffusion-webui-taiyi-scripts/
让stable diffusion webui支持taiyi diffusion模型