From c30ef0895dbf0565345ac6ccb136d98a174470a6 Mon Sep 17 00:00:00 2001 From: mauwii Date: Tue, 1 Nov 2022 01:51:12 +0100 Subject: [PATCH] remove symlink to GFPGANv1.4 also re-add mkdir to prevent action from failing --- docker-build/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-build/Dockerfile b/docker-build/Dockerfile index 2de04b28b0..e696b424e5 100644 --- a/docker-build/Dockerfile +++ b/docker-build/Dockerfile @@ -44,6 +44,7 @@ ARG invokeai_git=https://github.com/invoke-ai/InvokeAI.git ARG project_name=invokeai RUN git clone ${invokeai_git} /${project_name} \ && cp /${project_name}/configs/models.yaml.example /${project_name}/configs/models.yaml \ + && mkdir -p models/ldm/stable-diffusion-v1 \ && ln -s /data/models/v1-5-pruned-emaonly.ckpt /${project_name}/models/ldm/stable-diffusion-v1/v1-5-pruned-emaonly.ckpt \ && ln -s /data/outputs/ /${project_name}/outputs @@ -63,7 +64,6 @@ RUN source ${conda_prefix}/etc/profile.d/conda.sh \ && rm -Rf ~/.cache \ && conda clean -afy \ && echo "conda activate ${project_name}" >> ~/.bashrc \ - && ln -s /data/models/GFPGANv1.4.pth ./src/gfpgan/experiments/pretrained_models/GFPGANv1.4.pth \ && conda activate ${project_name} \ && python scripts/preload_models.py \ --no-interactive