Skip to content
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

Which directory should the SD1.5 model be placed in? #5

Open
jinwyp opened this issue Mar 20, 2024 · 5 comments
Open

Which directory should the SD1.5 model be placed in? #5

jinwyp opened this issue Mar 20, 2024 · 5 comments

Comments

@jinwyp
Copy link
Contributor

jinwyp commented Mar 20, 2024

Hi:

After run the script

python run_fresco.py ./config/config_music.yaml

But I didn't found any SD1.5 model in the project.

  1. Is it necessary to manually download the SD1.5 model?
  2. Which directory should the SD1.5 model be placed in?

BTW : the default path on windows 10 is C:\Users\xxxx\.cache\huggingface\hub

@williamyang1991
Copy link
Owner

This line will automatically download the model from huggingface

pipe = StableDiffusionPipeline.from_pretrained(config['sd_path'], vae=vae, torch_dtype=torch.float16)

For details, please refer to
https://huggingface.co/docs/diffusers/using-diffusers/loading

@al3dv2
Copy link

al3dv2 commented Mar 21, 2024

@williamyang1991 It's doesn't download the models for me the ui works perfectly through, please where I place the models I can download them on huggingface manually

@williamyang1991
Copy link
Owner

You just download it, for example, to ./model/runwayml/stable-diffusion-v1-5
Then you can sepcify config['sd_path']='./model/runwayml/stable-diffusion-v1-5' to load your local model

@realyn
Copy link

realyn commented Mar 22, 2024

Is there a more convenient way to use local models in the future, such as setting and loading in the GUI interface?

@davidliudev
Copy link

This won't work with model downloaded from civitai, which normally is just a .safetensor file. any solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants