Skip to content

Conversation

a4v2d4
Copy link

@a4v2d4 a4v2d4 commented Sep 3, 2024

I mostly got things working by just copying+pasting Bash commands shown in the README.

Only issue was:

  • After building, the first example command(./bin/sd -m ../models/sd-v1-4.ckpt -p "a lovely cat") failed because I didn't have the models dir nor anything in it.

Fix was:

  • mkdir ../models
  • mv ../sd-v1-4.ckpt ../models/

This just makes that explicit in the weight downloading setup.

@grauho
Copy link
Contributor

grauho commented Sep 4, 2024

This program doesn't do any model downloading for you, the model path given in the README.md is merely an example. It could have been written more generally as follows:
./bin/sd -m <MODEL PATH> --prompt "A lovely cat"

Here you would replace it with either the relative or absolute path to the model you want to use (and have previously downloaded manually).

@a4v2d4
Copy link
Author

a4v2d4 commented Sep 8, 2024

I see, I just think it's nice when a project's setup/usage docs have shell commands that can be copied, pasted, and executed without having to know a thing about anything.

@a4v2d4 a4v2d4 closed this Sep 15, 2024
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

Successfully merging this pull request may close these issues.

2 participants