mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Change to InvokeAI git repo and folder names
This commit is contained in:
parent
14616f4178
commit
8366eee9c2
@ -39,19 +39,18 @@ in the wiki
|
|||||||
|
|
||||||
4. Run the command:
|
4. Run the command:
|
||||||
|
|
||||||
```batch
|
```bash
|
||||||
git clone https://github.com/invoke-ai/InvokeAI.git
|
git clone https://github.com/invoke-ai/InvokeAI.git
|
||||||
```
|
```
|
||||||
|
|
||||||
This will create stable-diffusion folder where you will follow the rest of
|
This will create stable-diffusion folder where you will follow the rest of
|
||||||
the steps.
|
the steps.
|
||||||
|
|
||||||
5. Enter the newly-created stable-diffusion folder. From this step forward make
|
5. Enter the newly-created InvokeAI folder. From this step forward make sure that you are working in the InvokeAI directory!
|
||||||
sure that you are working in the stable-diffusion directory!
|
|
||||||
|
|
||||||
```batch
|
```
|
||||||
cd stable-diffusion
|
cd InvokeAI
|
||||||
```
|
```
|
||||||
|
|
||||||
6. Run the following two commands:
|
6. Run the following two commands:
|
||||||
|
|
||||||
@ -65,7 +64,7 @@ in the wiki
|
|||||||
|
|
||||||
7. Run the command:
|
7. Run the command:
|
||||||
|
|
||||||
```batch
|
```bash
|
||||||
python scripts\preload_models.py
|
python scripts\preload_models.py
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -77,33 +76,27 @@ in the wiki
|
|||||||
|
|
||||||
8. Now you need to install the weights for the big stable diffusion model.
|
8. Now you need to install the weights for the big stable diffusion model.
|
||||||
|
|
||||||
- For running with the released weights, you will first need to set up an
|
- For running with the released weights, you will first need to set up an acount with Hugging Face (https://huggingface.co).
|
||||||
acount with [Hugging Face](https://huggingface.co).
|
- Use your credentials to log in, and then point your browser at https://huggingface.co/CompVis/stable-diffusion-v-1-4-original.
|
||||||
- Use your credentials to log in, and then point your browser at
|
- You may be asked to sign a license agreement at this point.
|
||||||
[https://huggingface.co/CompVis/stable-diffusion-v-1-4-original](https://huggingface.co/CompVis/stable-diffusion-v-1-4-original).
|
- Click on "Files and versions" near the top of the page, and then click on the file named `sd-v1-4.ckpt`. You'll be taken to a page that
|
||||||
- You may be asked to sign a license agreement at this point.
|
prompts you to click the "download" link. Now save the file somewhere safe on your local machine.
|
||||||
- Click on "Files and versions" near the top of the page, and then click on
|
- The weight file is >4 GB in size, so
|
||||||
the file named `sd-v1-4.ckpt`. You'll be taken to a page that prompts you
|
downloading may take a while.
|
||||||
to click the "download" link. Now save the file somewhere safe on your
|
|
||||||
local machine.
|
|
||||||
- The weight file is >4 GB in size, so downloading may take a while.
|
|
||||||
|
|
||||||
Now run the following commands from **within the stable-diffusion directory**
|
Now run the following commands from **within the InvokeAI directory** to copy the weights file to the right place:
|
||||||
to copy the weights file to the right place:
|
|
||||||
|
|
||||||
```batch
|
```
|
||||||
mkdir -p models\ldm\stable-diffusion-v1
|
mkdir -p models\ldm\stable-diffusion-v1
|
||||||
copy C:\path\to\sd-v1-4.ckpt models\ldm\stable-diffusion-v1\model.ckpt
|
copy C:\path\to\sd-v1-4.ckpt models\ldm\stable-diffusion-v1\model.ckpt
|
||||||
```
|
```
|
||||||
|
|
||||||
Please replace `C:\path\to\sd-v1.4.ckpt` with the correct path to wherever
|
Please replace `C:\path\to\sd-v1.4.ckpt` with the correct path to wherever you stashed this file. If you prefer not to copy or move the .ckpt file,
|
||||||
you stashed this file. If you prefer not to copy or move the .ckpt file, you
|
you may instead create a shortcut to it from within `models\ldm\stable-diffusion-v1\`.
|
||||||
may instead create a shortcut to it from within
|
|
||||||
`models\ldm\stable-diffusion-v1\`.
|
|
||||||
|
|
||||||
9. Start generating images!
|
9. Start generating images!
|
||||||
|
|
||||||
```batch
|
```bash
|
||||||
# for the pre-release weights
|
# for the pre-release weights
|
||||||
python scripts\dream.py -l
|
python scripts\dream.py -l
|
||||||
|
|
||||||
@ -111,10 +104,7 @@ in the wiki
|
|||||||
python scripts\dream.py
|
python scripts\dream.py
|
||||||
```
|
```
|
||||||
|
|
||||||
10. Subsequently, to relaunch the script, first activate the Anaconda command
|
10. Subsequently, to relaunch the script, first activate the Anaconda command window (step 3),enter the InvokeAI directory (step 5, `cd \path\to\InvokeAI`), run `conda activate ldm` (step 6b), and then launch the dream script (step 9).
|
||||||
window (step 3),enter the stable-diffusion directory (step 5,
|
|
||||||
`cd \path\to\stable-diffusion`), run `conda activate ldm` (step 6b), and
|
|
||||||
then launch the dream script (step 9).
|
|
||||||
|
|
||||||
**Note:** Tildebyte has written an alternative
|
**Note:** Tildebyte has written an alternative
|
||||||
["Easy peasy Windows install"](https://github.com/invoke-ai/InvokeAI/wiki/Easy-peasy-Windows-install)
|
["Easy peasy Windows install"](https://github.com/invoke-ai/InvokeAI/wiki/Easy-peasy-Windows-install)
|
||||||
@ -123,14 +113,14 @@ in the wiki
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Updating to newer versions of the script
|
This distribution is changing rapidly. If you used the `git clone` method (step 5) to download the InvokeAI directory, then to update to the latest and greatest version, launch the Anaconda window, enter `InvokeAI`, and type:
|
||||||
|
|
||||||
This distribution is changing rapidly. If you used the `git clone` method
|
This distribution is changing rapidly. If you used the `git clone` method
|
||||||
(step 5) to download the stable-diffusion directory, then to update to the
|
(step 5) to download the stable-diffusion directory, then to update to the
|
||||||
latest and greatest version, launch the Anaconda window, enter
|
latest and greatest version, launch the Anaconda window, enter
|
||||||
`stable-diffusion`, and type:
|
`stable-diffusion`, and type:
|
||||||
|
|
||||||
```batch
|
```bash
|
||||||
git pull
|
git pull
|
||||||
conda env update -f environment.yaml
|
conda env update -f environment.yaml
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user