HVision-NKU / StoryDiffusion

Create Magic Story!
Apache License 2.0
5.45k stars 519 forks source link

OSError: Could not find the necessary `safetensors` weights in {'text_encoder/pytorch_model.bin', 'text_encoder_2/pytorch_model.bin', 'vae/diffusion_pytorch_model.bin', 'unet/diffusion_pytorch_model.bin'} (variant=None) #62

Open huanxve opened 2 months ago

huanxve commented 2 months ago

OSError: Could not find the necessary safetensors weights in {'text_encoder/pytorch_model.bin', 'text_encoder_2/pytorch_model.bin', 'vae/diffusion_pytorch_model.bin', 'unet/diffusion_pytorch_model.bin'} (variant=None)

选择Juggernaut,出现如下报错,求解决

Z-YuPeng commented 2 months ago

git pull 最新的代码 然后 运行
python gradio_app_sdxl_specific_id_low_vram.py

hyhuc0079 commented 2 months ago

用新的代码gradio_app_sdxl_specific_id_low_vram.py下载还是提示,应该不是梯子的原因把全球节点都试了个遍。

huggingface_hub.utils._errors.LocalEntryNotFoundError: An error happened while trying to locate the file on the Hub and we cannot find the requested files in the local cache. Please check your connection and try again or make sure your Internet connection is on.

https://huggingface.co/RunDiffusion/Juggernaut-XL-v9/blob/main/Juggernaut-XL_v9_RunDiffusionPhoto_v2.safetensors这个地址也能打开

huanxve commented 2 months ago

git pull 最新的代码 然后 运行 python gradio_app_sdxl_specific_id_low_vram.py

请问更新以后,之前旧版本在.cache中下载的那些巨大的文件是不是就可以删了?或者把他们移到别的盘里?

hyhuc0079 commented 1 month ago

他默认是调用haggingfacehub加载模型的,你直接删除肯定不行 不过你可以修改models.yaml改成你本地的路径

shenhongdeng commented 1 month ago

可以先下载stabilityai/stable-diffusion-xl-base-1.0到服务器,然后再运行,下载的话会比较大