Junyi42 / DiffStyle

DiffStyle: Leverage Diffusion Prior to One-for-All Style Transfer. Course project of CS3310 Computer Graphics, built on Prompt-to-Prompt and Null-Text.
74 stars 6 forks source link

OSError: CompVis/stable-diffusion-v1-4 does not appear to have a file named model_index.json. #3

Open ProtegosLeviosa opened 8 months ago

ProtegosLeviosa commented 8 months ago

Sorry to bother you, but I’ve encountered this issue and what confuses me is that I can’t even locate where this file directory(CompVis) is. It’s prompting me that this file(model_index.json) indeed exists."I tried using the command 'pip install model_index' in the terminal, but it had no effect."

ProtegosLeviosa commented 8 months ago

I think it might be an issue with accessing Hugging Face, but I’m completely clueless about it. Could you please give me some guidance?

Junyi42 commented 8 months ago

Hi, thanks for your interest in our project.

For my case, the model_index.json is located at ~/.cache/huggingface/hub/models--CompVis--stable-diffusion-v1-4/snapshots/133a221b8aa7292a167afc5127cb63fb5005638b/model_index.json, you could also check the folder ~/.cache/huggingface/hub/models--CompVis--stable-diffusion-v1-4/snapshots/.

Hope this could helpful for you.