Update readme.md (#398)

This commit is contained in:
lllyasviel 2023-09-16 14:16:37 -07:00 committed by GitHub
parent 71e99185cb
commit d819ffae56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,7 +78,7 @@ If you want to use Anaconda/Miniconda, you can
cd Fooocus cd Fooocus
conda env create -f environment.yaml conda env create -f environment.yaml
conda activate fooocus conda activate fooocus
pip install -r requirements_versions.txt pip install pygit2==1.12.2
Then download the models: download [sd_xl_base_1.0_0.9vae.safetensors from here](https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/resolve/main/sd_xl_base_1.0_0.9vae.safetensors) as the file "Fooocus\models\checkpoints\sd_xl_base_1.0_0.9vae.safetensors", and download [sd_xl_refiner_1.0_0.9vae.safetensors from here](https://huggingface.co/stabilityai/stable-diffusion-xl-refiner-1.0/resolve/main/sd_xl_refiner_1.0_0.9vae.safetensors) as the file "Fooocus\models\checkpoints\sd_xl_refiner_1.0_0.9vae.safetensors". **Or let Fooocus automatically download the models** using the launcher: Then download the models: download [sd_xl_base_1.0_0.9vae.safetensors from here](https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/resolve/main/sd_xl_base_1.0_0.9vae.safetensors) as the file "Fooocus\models\checkpoints\sd_xl_base_1.0_0.9vae.safetensors", and download [sd_xl_refiner_1.0_0.9vae.safetensors from here](https://huggingface.co/stabilityai/stable-diffusion-xl-refiner-1.0/resolve/main/sd_xl_refiner_1.0_0.9vae.safetensors) as the file "Fooocus\models\checkpoints\sd_xl_refiner_1.0_0.9vae.safetensors". **Or let Fooocus automatically download the models** using the launcher:
@ -98,7 +98,7 @@ Your Linux needs to have **Python 3.10** installed, and lets say your Python can
cd Fooocus cd Fooocus
python3 -m venv fooocus_env python3 -m venv fooocus_env
source fooocus_env/bin/activate source fooocus_env/bin/activate
pip install -r requirements_versions.txt pip install pygit2==1.12.2
See the above sections for model downloads. You can launch the software with: See the above sections for model downloads. You can launch the software with:
@ -116,7 +116,7 @@ If you know what you are doing, and your Linux already has **Python 3.10** insta
git clone https://github.com/lllyasviel/Fooocus.git git clone https://github.com/lllyasviel/Fooocus.git
cd Fooocus cd Fooocus
pip3 install -r requirements_versions.txt pip3 install pygit2==1.12.2
See the above sections for model downloads. You can launch the software with: See the above sections for model downloads. You can launch the software with:
@ -126,14 +126,14 @@ Or if you want to open a remote port, use
python3 entry_with_update.py --listen python3 entry_with_update.py --listen
### Mac/Windows(AMD GPUs)
Coming soon ...
### Linux (AMD GPUs) ### Linux (AMD GPUs)
Installation is the same as Linux part. It has been tested for 6700XT. Works for both Pytorch 1.13 and Pytorch 2. Installation is the same as Linux part. It has been tested for 6700XT. Works for both Pytorch 1.13 and Pytorch 2.
### Mac/Windows(AMD GPUs)
Coming soon ...
## List of "Hidden" Tricks ## List of "Hidden" Tricks
<a name="tech_list"></a> <a name="tech_list"></a>