Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error running postprocess_image: D:\ST-AI\Packages\Stable Diffusion WebUI\extensions\sd-webui-roop\scripts\faceswap.py Traceback (most recent call last): #295

Open
Alabbas11 opened this issue Jan 29, 2024 · 0 comments

Comments

@Alabbas11
Copy link

I tried to solve the problem for two days to no avail. Please help

" Error running postprocess_image: D:\ST-AI\Packages\Stable Diffusion WebUI\extensions\sd-webui-roop\scripts\faceswap.py
Traceback (most recent call last):
File "D:\ST-AI\Packages\Stable Diffusion WebUI\modules\scripts.py", line 774, in postprocess_image
script.postprocess_image(p, pp, *script_args)
File "D:\ST-AI\Packages\Stable Diffusion WebUI\extensions\sd-webui-roop\scripts\faceswap.py", line 184, in postprocess_image
result: ImageResult = swap_face(
File "D:\ST-AI\Packages\Stable Diffusion WebUI\extensions\sd-webui-roop\scripts\swapper.py", line 138, in swap_face
result_image = upscale_image(result_image, upscale_options)
File "D:\ST-AI\Packages\Stable Diffusion WebUI\extensions\sd-webui-roop\scripts\swapper.py", line 66, in upscale_image
numpy_image = upscale_options.face_restorer.restore(numpy_image)
File "D:\ST-AI\Packages\Stable Diffusion WebUI\modules\gfpgan_model.py", line 121, in restore
return gfpgan_fix_faces(np_image)
File "D:\ST-AI\Packages\Stable Diffusion WebUI\modules\gfpgan_model.py", line 60, in gfpgan_fix_faces
model = gfpgann()
File "D:\ST-AI\Packages\Stable Diffusion WebUI\modules\gfpgan_model.py", line 47, in gfpgann
model = gfpgan_constructor(model_path=model_file, upscale=1, arch='clean', channel_multiplier=2, bg_upsampler=None, device=devices.device_gfpgan)
File "D:\ST-AI\Packages\Stable Diffusion WebUI\venv\lib\site-packages\gfpgan\utils.py", line 90, in init
model_path = load_file_from_url(
File "D:\ST-AI\Packages\Stable Diffusion WebUI\modules\gfpgan_model.py", line 101, in my_load_file_from_url
return load_file_from_url_orig(**dict(kwargs, model_dir=model_file_path))
File "D:\ST-AI\Packages\Stable Diffusion WebUI\venv\lib\site-packages\basicsr\utils\download_util.py", line 89, in load_file_from_url
os.makedirs(model_dir, exist_ok=True)
File "os.py", line 215, in makedirs
File "os.py", line 215, in makedirs
File "os.py", line 215, in makedirs
[Previous line repeated 4 more times]
File "os.py", line 225, in makedirs
OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: 'https:'"

Screenshot 2024-01-29 054605

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

No branches or pull requests

1 participant