-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suddenly the produced images are totally different than before #142
Comments
Have you got an update via Huggingface-Hub (the locally downloaded files "expired" and got updated with a newer version online)? |
How would that happen exactly? I might just scratch and start over, if it is an unusual behaviour... perhaps something stuck in some sort of cache? |
Can you remember when you run the demo for the first time? Models were downloaded and stored in a local cache, e.g.: Linux: MS-Windows: You might want to rename/make a backup/delete the cache and try again. You have not changed anything else, not the source-code, not installing/updating/downgrading dependencies? |
First time was like... 72 hours ago perhaps? So definitely I would have the "latest" version of it as compared to what I maybe got initially... Not changed anything else, no. I will just re-install the thing. If it then still happens I guess I will come back here, otherwise, I'll update you here if its working To clarify, once the |
Have you set-up a e.g. Python virtu-env to ensure the overall system is not changed - and the overall system cannot change your environment (your e.g. Ubuntu-update-strategy might have updated/upgraded something "automatically")? Yes, the cache holds the model-files ("topology-file" and "weight-file" for the OpenVINO IR-format). It even can hold multiple versions of a model if there was an update - there could even be different models (like a cartoon'ized variant; you can find other issues/questions about how to replace the model). If you would not have deleted the cache you could have seen different versions - to then set e.g. symbolic links to switch to another locally cached version... The content in the cache can expire and would be updated automatically. |
How can I bring back the original?
Good to know! I guess that would fail on my install since I hard locked everything from write access unless the folders where the temporary cache and images are generated in. |
hf_hub_download has an optional revision parameter that you can use to specify which version to download. |
BTW, the files in the https://huggingface.co/bes-dev/stable-diffusion-v1-4-openvino/tree/main directory were updated two months ago. So, it shouldn't be it. |
I was running the image generation just fine for a few hours and then suddenly, the generated images changed completely.
For reference, I used
portrait photo of a asia old warrior chief, tribal panther make up, blue on red, side profile, looking away, serious eyes, 50mm portrait photography, hard rim lighting photography–beta
as prompt.It always generated quite acceptable images that more or less fit the prompt (see https://mpost.io/best-100-stable-diffusion-prompts-the-most-beautiful-ai-text-to-image-prompts/ for a reference as of how they look like)
And then all of a sudden, I get this kind of stuff:

I did not alter the main class nor the stable_diffusion_engine.py file.
I even cleared the
.cache
folderWhat is the cause of this sudden change? Nothing changed at all, the values are all the same as before.
The text was updated successfully, but these errors were encountered: