bes-dev / stable_diffusion.openvino

Apache License 2.0
1.53k stars 208 forks source link

getting the following error #17

Closed Zoranvedek closed 1 year ago

Zoranvedek commented 1 year ago

huggingface_hub.utils._errors.EntryNotFoundError: 404 Client Error: Entry Not Found for url: https://huggingface.co/bes-dev/stable-diffusion-v1-4-openvino/resolve/main/vae.xml. (Request ID: meIMbxjucCK0UlHWmBiba)

bes-dev commented 1 year ago

@Zoranvedek Sorry for the inconvenience. Currently, we prepare new release with new cool features, so current version can be not working. We will fix it as soon as possible.

Zoranvedek commented 1 year ago

Absolutely not a problem, thank you for putting this together. Can't wait for new features. By any chance are height and width settings coming?

silentsilas commented 1 year ago

Would it be worthwhile implementing caching the file, and using that as the fallback if the file can't be found?

Nevermind, there's an offline mode for SD.

silentsilas commented 1 year ago

@Zoranvedek saw that vae.xml was renamed in the repo's commit history, so here's the fix I found:

Line 45 and 46 in stable_diffusion.py, change it from:

            hf_hub_download(repo_id=model, filename="vae.xml"),
            hf_hub_download(repo_id=model, filename="vae.bin")

To:

            hf_hub_download(repo_id=model, filename="vae_decoder.xml"),
            hf_hub_download(repo_id=model, filename="vae_decoder.bin")
thenbe commented 1 year ago

This issue has been fixed for me after pulling the latest changes. Thank you.