You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "D:\echomimic_v2\app.py", line 59, in generate
reference_unet = UNet2DConditionModel.from_pretrained("./pretrained_weights/sd-image-variations-diffusers", subfolder="unet", use_safetensors=False).to(dtype=dtype, device=device)
File "D:\Program Files\Python310\lib\site-packages\huggingface_hub\utils_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "D:\Program Files\Python310\lib\site-packages\diffusers\models\modeling_utils.py", line 848, in from_pretrained
raise ValueError(
ValueError: Cannot load <class 'src.models.unet_2d_condition.UNet2DConditionModel'> from ./pretrained_weights/sd-image-variations-diffusers because the following keys are missing:
一直提示这个报错,已经下载最新代码以及模型
The text was updated successfully, but these errors were encountered:
File "D:\echomimic_v2\app.py", line 59, in generate
reference_unet = UNet2DConditionModel.from_pretrained("./pretrained_weights/sd-image-variations-diffusers", subfolder="unet", use_safetensors=False).to(dtype=dtype, device=device)
File "D:\Program Files\Python310\lib\site-packages\huggingface_hub\utils_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "D:\Program Files\Python310\lib\site-packages\diffusers\models\modeling_utils.py", line 848, in from_pretrained
raise ValueError(
ValueError: Cannot load <class 'src.models.unet_2d_condition.UNet2DConditionModel'> from ./pretrained_weights/sd-image-variations-diffusers because the following keys are missing:
一直提示这个报错,已经下载最新代码以及模型
The text was updated successfully, but these errors were encountered: