Closed turtleizzy closed 2 years ago
What does your models
folder contain? Did you download GFPGANv1.3.pth and put it into the models
folder?
I have just pushed an update that makes the additional models optional, an error will be thrown in the console but that is okay. Can you try again from the latest master?
Yes, I did have all the models in models/
folder.
Fixed by adding mkdir
prior to ln
.
CMD mkdir -p /stable-diffusion/models/ldm/stable-diffusion-v1 && ln -sf /models/model.ckpt /stable-diffusion/models/ldm/stable-diffusion-v1/model.ckpt && \
mkdir -p /stable-diffusion/src/gfpgan/experiments/pretrained_models && ln -sf /models/GFPGANv1.3.pth /stable-diffusion/src/gfpgan/experiments/pretrained_models/GFPGANv1.3.pth && \
mkdir -p /stable-diffusion/src/realesrgan/experiments/pretrained_models/ && ln -sf /models/RealESRGAN_x4plus.pth /stable-diffusion/src/realesrgan/experiments/pretrained_models/RealESRGAN_x4plus.pth && \
Great! I have adapted your code and added it into the docker file.
Thanks!
Following error poped up after building image.